What is the command used to create user account?
usercreate
createuser
adduser
useradd
How will you find the files that are accessed/edited before a day?
find -mtime -24
find -mday -1
find -mday +1
find -mtime -1
What will the following command do? echo *
It is similar to 'ls -a' command and displays all the hidden files in the current directory
displays all the files in the /etc directory
displays all the files in the root
It is similar to 'ls' command and displays all the files in the current directory
How will you restrict the incoming message?
mesp
mesn
mesk
mesg
How will the kernal differentiate the ordinary files and device files?
using the temp filed in the file's inode
using the id filed in the file's inode
using the type filed in the file's inode
using the type filed in the directory's inode
How will you substitute the strings in a file using SED?
s/old/new/l
s/old/new/g
s/new/old/g
s/old/new/f
How will you change the ownership of the file and group?
chown user:group file
chgrp user:group file
chown group:user file
chgrp group:user file
what is the use of chroot command?
Runs a command with a different root directory
Runs a command with a same root directory
Runs a command in root directory
Runs a command with a different /opt directory
Which one of the follwing permission is correct for rwxr_xr__?
chmod 775
chmod 2754
chmod 754
chmod 277
What is the minimum number of partitions you need to install Linux?
2
3
4
1