Linux L1
Linux L1
Ans: crond
Ans: nfs
Ans: chkconfig
4. Which system file allows remote connection ( /etc/hosts, /etc/hosts.allow, host.allow, host.deny)
Ans hosts.allow
5. What is used to see default values in route table (netstat –in, netstat –rm, ,) Ans: rout –n or netstat
–rn
Ans: chsh
7. What command would display environment variable of shell(bash, shell ,echo , tenv)
Ans:, env
Ans: type
9. what would give all permissions to users & group but no permissions to others:
10. what command is used to create logical volume snapshot (lvcreate, lvshow,lvdisplay)
Ans: lvcreate
11. what command should be used display all the mountpoints( df –h, mount –l)
Ans: /proc/mounts
12. what command is used to list all the disk partitions and their id
Ans: fdisk –l
1. rm /temp
2. rmdir /temp
3. del –r /temp
4. rm –r /temp
1. Ping
2. Telnet
3. Arp
4. Ssh
1. 5
2. 4
3. 3
4. 1
1. Useradd
2. Useradd –g
3. Usermod
4. Modprobe
38. With which option e2fsck will check and automatically repair the filesystem without prompting
1. E2fsck –c
2. E2fsck -n
3. E2fsck -p
4. E2fsck -r