Tag: operating systems
Questions Related to operating systems
What does lspv do?
The /etc/passwd file does not have write permission for others and group. Still the non root users when use the command 'passwd' are actually updating the /etc/passwd file . How does unix allow this?
What will happen if I execute a shell script with -x options
What wil be the output of this command?$ for i in 1 2 3;do echo "$i\c";done; Tell without trying on a server.
I am in a directory /tmp/test. $ pwd /tmp/test Now I deleted this directory from another session and fired the command pwd on the previous session. What will be the output of the pwd command?
$ i=1 $ j=A $ A1=hello These 3 variables are defined. Which of the following commands will display hello?