Linux Interview Questions and Answers
Test your skills through the online practice test: Linux Quiz Online Practice Test
Related differences
Ques 26. Explain the purpose of the 'umask' command.
'umask' is used to set the default file permissions for newly created files.
Is it helpful?
Add Comment
View Comments
Ques 27. How do you create a swap file in Linux?
The 'dd' command and 'mkswap' command are used to create a swap file in Linux.
Is it helpful?
Add Comment
View Comments
Ques 28. What is the purpose of the 'crontab' command?
'crontab' is used to create, view, and edit cron jobs in Linux.
Is it helpful?
Add Comment
View Comments
Ques 29. How do you find all files modified in the last 7 days?
The 'find' command with the '-mtime' option can be used to find files modified within a specific time frame.
Is it helpful?
Add Comment
View Comments
Ques 30. Explain the purpose of the 'rsync' command.
'rsync' is used for file synchronization and transfer between systems.
Is it helpful?
Add Comment
View Comments
Most helpful rated by users:
- What is the purpose of the 'chmod' command in Linux?
- What is the role of the 'grep' command in Linux?
- Explain the difference between 'rm' and 'rmdir' commands.
- Explain the purpose of the 'ls' command.
- Explain the purpose of the 'sudo' command.