Sei sulla pagina 1di 2

1. What does the “dmesg” command do?

2. What command would you use to see the OS name and kernel version?
3. What command do you use to set/read resource limits?
4. What is the name of the process that is the parent of all other processes?
5. What command can you use to read the contents of a zipped text file?
6. What command changes the group owner of a file?
7. How would you find how much disk space the current directory is using (not all subdirectories and
files)?
8. What command do you use to create an empty file on the file system?
9. What command would you use to see the file type of a file?
10. What command would you use if you need to find the path to an executable?
11. What command would you use to count the number of characters in a file?
12. What command do you use to change the default permissions that new files and directories are
created with?
13. What flags would you give to tar to list the files in a tarball?
14. What flag would you use with rmdir to recursively remove a path of empty directories?
15. What does the cd command do if you do not give it an argument?
16. What happens if you cd .. from the root of the filesystem?
17. What is it called when two files on same partition point to the same inode structure?
18. Which command is used to change the permissions of a file or directory?
19. What does the ln command do?
20. What would chmod 755 do to a file?
21. What about chmod 600?
22. How can you change the mtime of a file?
23. If you are the owner of a directory but you can’t “cd” into it, what is wrong?
24. What does the “sticky bit” do on a directory?
25. Where do you find block device files on the filesystem?
26. What is the difference between the modified time and changed time on a file?
27. If I set umask value to 0002, then create a file, what type of permissions will it have?
28. What is the primary difference between ext2 and ext3?
29. What file contains the file systems to be automatically mounted on boot?
30. What is an initrd file?
31. What partitions are mounted if you boot into single-user mode?
32. What is the process id of init?
33. Which file does init use to find the default runlevel?
34. How do you start a new process in the background?
35. How do you send an already running process to the background?
36. How do you see a list of background process?
37. If you have a job running in the background, how do you bring it back to the foreground?
38. How do you become root?
39. What signal is sent when you hit ctrl+c during a running process?
40. What signal is sent when you kill -9 a process?
41. What signal is sent when you kill -15 a process?
42. What command can you use to adjust the scheduling priority of a running process?
43. What is nohup used for?
44. Where are encrypted user passwords stored?
45. What is userid 0 for?
46. What is the default group for a linux user?
47. What is runlevel 6?
48. Where are users crontab files saved?
49. Where does STDOUT for cron jobs go?
50. What variable will list the number of arguments in a shell script?
How to scan for Isusi block
Network bonding status
How do you tune kernel parameters
How to revover password/shadow file
Ulimit process for user
Enable core file dump for process using sysctl