Which command allows to view the current jobs being handled by the shell?
What is the output of the following program?
b =
[ -n $b ]
echo $?
[ -z $b ]
echo $?
What is the output of the following program?
[ -n $HOME ]
echo $?
[ -z $HOME ]
echo $?
What is the output of the following program?
x = 3; y = 5; z = 10;
if [( $x -eq 3 ) -a ( $y -eq 5 -o $z -eq 10 )]
then
echo $x
else
echo $y
fi
What is the return value ($?) of this code:
os = Unix
[$osName = UnixName] && exit 2
[${os}Name = UnixName] && exit 3
How do you print the lines between 5 and 10, both inclusive
Which file system has journaling capability?
Which of the following unmask settings allow execute permission to be set by default on regular files
Which of the following unmask settings doesn’t allow execute permission to be set by default on directory files
What does chmod +t do?
A user executes the following command successfully:
$ chmod +x file1.txt
Which of the following is true of the output of this command?
If you are a root user, how can you grand execute permission only for the owner of the file project1?
Create a new file “new.txt” that is a concatenation of “file1.txt” and “file2.txt”
Which option of rmdir command will remove all directories a, b, c if path is a/b/c
Which command is used to set limits on file size
Which command prints the directory stack?
The command ‘compgen -c’ shows
Which command sets up shorthand for command or command line?
When mv f1 f2 is executed which file’s inode is freed?
Which of the following statement is False ?