In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory.
1..exrc
2. .profile
3.lastlogin
4..mbox
Posted Date:-2021-11-22 22:11:21
The agency that sits between the user and the UNIX system is called the
1. logic
2.profile
3. shell
4.erxc
Posted Date:-2021-11-22 22:15:47
The field separator in cut command is specified with
1. -a option
2.-d option
3. -r option
4. -x option
Posted Date:-2021-11-22 21:55:48
The first set of the three permissions (rw) pertains to the owner of the file, indicating that the owner has
1. Executable permission only
2.Write and executable permissions
3. Both read and executable permissions
4.Both read and write permissions
Posted Date:-2021-11-22 20:40:54
Which command is used to change directory to the name beginning with a 'p'?
1.cd p
2.cd p?
3.cd p*
4.cd [p]
Posted Date:-2021-11-22 21:28:38
Which command is used to display and create files?
1.cat
2. vi
3. ed
4. lyrix
Posted Date:-2021-11-22 22:09:23
Which command is used to list all the files with extension .lst?
1. ls -l *.lst
2.ls lst*
3.ls *.*
4.ls *[lst]
Posted Date:-2021-11-22 21:04:08
Which command is used with vi editor to search a pattern in the forward direction?
1. /
2.?
3.//
4.??
Posted Date:-2021-11-22 21:08:57
Which of the following commands is used to summarize the disk usage?
1.chkdsk
2.fdisk
3.du
4.disk
Posted Date:-2021-11-22 22:14:29
Which of the following commands is used to view your file 24 lines at a time?
1. pg
2. cat
3. lp
4. /p
Posted Date:-2021-11-22 22:05:50
The command chmod 761 note is equivalent to
1. chmod 167 note
2. chmod u=rwx, g=rw, o=x note
3.chmo a =761 note
4.chmod 4=7, g=6,0 =1 note
Posted Date:-2021-11-22 21:48:36
The command to count the number of files in the current directory by using pipes, is
1.ls | wc
2.ls -l | wc -l
3.ls | wc -w
4. ls | ws -c
Posted Date:-2021-11-22 21:33:57
Which command allows you to view your file 24 lines at a time?
1.more
2.pg
3.cat
4.lp
Posted Date:-2021-11-22 20:44:50
Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3?
1.chmod u+x emp[1-3]
2.chmod 777 emp*
3.chmod u+r ??? emp
4.chmod 222 emp?
Posted Date:-2021-11-22 21:26:59
Which command is used to display the characteristics of a process?
1. pid
2.du
3.ps
4.au
Posted Date:-2021-11-22 20:45:40
Which command is used to display the top of the file?
1.cat
2.head
3.more
4.grep
Posted Date:-2021-11-22 20:28:20
Which command is used to print a file?
1. print
2. prn
3. pg
4.lp
Posted Date:-2021-11-22 21:58:16
Which command is used to remove a directory?
1.rd
2.rmdir
3.dldir
4.rdir
Posted Date:-2021-11-22 22:16:57
Which command is used to terminate a process?
1. shutdown
2.haltsys
3.cancel
4.kill
Posted Date:-2021-11-22 10:47:20
Which command is used with vi editor scroll half page backward?
1. [Control-d]
2.[Control - u]
3.Control-(c]
4.[Control -P]
Posted Date:-2021-11-22 10:42:40
Which command is used with vi editor to move cursor forward to first occurrence of character 'ch' in the current line?
1. tch
2. tch
3.rch
4.ech
Posted Date:-2021-11-22 21:30:52
Which command is used with vi editor to move the cursor to the left?
1. i
2.j
3.k
4.h
Posted Date:-2021-11-22 21:21:10
Which of the following commands is used to display the directory attributes rather than its contents?
1.ls -l -d
2. ls -l
3.ls -x
4. ls -F
Posted Date:-2021-11-22 22:12:53
Which of the following commands is used to display the filenames in multiple columns?
1.ls
2.ls -1
3. ls -x
4.lc
Posted Date:-2021-11-22 21:50:17
Which of the following commands is used to obtain a list of all files by modification time?
1. ls -1
2. ls -t
3.ls -i
4.ls -R
Posted Date:-2021-11-22 20:42:04
Which of the following commands is used to remove files?
1.erase
2. delete
3. rm
4.dm
Posted Date:-2021-11-22 21:47:00
Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it?
1. who | tee user.lst
2.who > user.lst
3.who >> user.lst
4.who < user.lste
Posted Date:-2021-11-22 20:25:48
Which of the following directories contain all the Alias created by a user, including his login directory?
1. /tmp
2./etc
3./usr
4. /dev
Posted Date:-2021-11-22 22:07:55
Which of the following keys is used to move the cursor to the end of the paragraph.
1.}
2. {
3. |
4. $
Posted Date:-2021-11-22 22:01:21
Which of the following keys is used to overstrike a whole line?
1. R
2.v
3.C
4. u
Posted Date:-2021-11-22 20:47:00
Which of the following set options is used with vi editor to ignore case while searching for patterns?
1.ic
2.ai
3. sm
4.ts
Posted Date:-2021-11-22 22:03:39
Which of the following special shell variables is used to process number of the current shell?
1. $!
2. $$
3.$0
4.$*
Posted Date:-2021-11-22 21:05:39
Which option will be used with disk free command to include the total amount of disk space in the file system?
1.-t
2.-tt
3.-4
4.-i
Posted Date:-2021-11-22 20:43:26
Which option will be used with ps command to show the entire command line of the process being run?
1. -4
2.-f
3.-1
4.-2
Posted Date:-2021-11-22 20:59:33
Which option will be used with touch command to change the access time?
1.-a
2.-b
3.-t
4.-h
Posted Date:-2021-11-22 21:06:34
Which symbol is used to separate more than one command in the same command line?
1.$
2. #
3.:
4. ;
Posted Date:-2021-11-22 21:36:56