Tag: operating systems
Questions Related to operating systems
I have a script named test.sh and the contents are as follows: $ cat test.sh echo hi rm -f test.sh echo hi ######## What will be the output of the following comand: $ sh test.sh
I have a file named "-p" in my home directory. Which of the following commands will be used to delete this file?
A script is executing since last 10 minutes and is expected to take another 10 minutes. So I decide to send it to background. Which of the following steps will do it?
What is the output of the following command in bash shell on Linux? $ i=2 $ [ $i -lt 2 ] || echo great