bash if else if
#!/bin/bash
read -p "Enter your marks: " marks
if [ $marks -ge 80 ]
then
echo "Very Good"
elif [ $marks -ge 50 ]
then
echo "Good"
elif [ $marks -ge 33 ]
then
echo "Just Satisfactory"
else
echo "Not OK"
fi
if [[ TEST-COMMAND ]]
then
STATEMENTS1
else
STATEMENTS2
fiif [ "$seconds" -eq 0 ];then
$timezone_string="Z"
elif[ "$seconds" -gt 0 ]
then
$timezone_string=`printf "%02d:%02d" $seconds/3600 ($seconds/60)%60`
else
echo "Unknown parameter"
fi
Also in C++:
- ImportError: /usr/lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block
- If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvDestroyAllWindows'
- wsl ubuntu git status and the file are not staged
- install vmware tools from terminal
- linux install doxygen
- Adding "0" if clock have one digit
- ubuntu update nodejs
- how to restart psql in linux
- take clone from gitbash
- check ssd or hdd linux
- It is required that your private key files are NOT accessible by others ubuntu
- install RHEL in vmware
- ionic link app
- ruby install on fedora
- remove origin git
- flutter sdk path mac
- how to increase nginx maximum file upload size
- raspi ssh passwort vergessen
- git checkout -b flag
- bash message partial match
- git change origin
- ubuntu switch f1 with functions keys
- git checkout
- how to overwrite file linux cli