Which command is used to copy all files having the string chap and any two characters after that to the progs directory?
100
rmdir
Which command is used to remove a directory?
100
wc infile >newfile
Which command sends the word count of the file infile to the newfile.
200
chmod go-r note
Which command is used to remove the read permission of the file 'note' from both the group and others?
200
755
The Octal number to be given alogn with chmod command to make a file readable, writable and executable to the owner, readable and executable to group and others is:
200
rm
Which command is used to remove a file?
200
wc –c
Which command is used to count just the number of characters in a file?
200
ls
Which of the following commands is used to list contents of directories?
300
chmod -x a+x progs
Which command is used to make all files and sub-directories in the directory (progs) executable by all users?
300
cat
Which command is used to display and create files?
300
group has read permission only
The second set of the three permissions (r-) indicates that
300
first
Which column contains all details of the permissions of a file when you issue the ls -l command?
300
pwd
Which of the following commands is used to display your working directory?
400
cd..
Which of the following commands is used to get directory one level up?
400
Display a file
The cat command is used to
400
–R
Which option is used with the chmod command recursively to all files and sub-directories in a directory?
400
cd
Which of the following commands is used to change the working directory?
400
cp wb collect mon ../misc
Which command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory?