4.02. File Management

  1. what is open system call[AMD Feb-2026]
  2. What is a file descriptor? [INFOBELL]
  3. What are file operations in Linux? [INFOBELL]
  4. What is a file system? What is the use of a file system? How do you create a file system?
  5. What types of files are there in Linux?
  6. In Linux, is a file limited to only 50 MB in size? [Mirafra Technologies]
  7. Can a file exist without any permissions? [Mirafra Technologies]
  8. What permissions does a file have? Explain read, write, append. [Mirafra Technologies]
  9. If a file has 777 access permissions, what type of permissions are allowed? [Mirafra Technologies]
  10. Which command is used to change the permissions of a file? (chmod)
  11. Which command is used to create links in Linux? (ln) [Mirafra Technologies]
  12. What happens if a soft link is deleted?
  13. Which log file contains authentication events? (/var/log/auth.log)
  14. If Linux is installed on your computer, in which location are the hard disk files stored?
  15. What is the top-most (root) directory in Linux?
  16. How can you check hidden files in Linux? (ls -a) [Mirafra Technologies]
  17. What will you see using the command ls -eaf? [INFOBELL]
  18. What is the grep command used for? [Mirafra Technologies]
  19. Which command is used to remove lines containing a specific word? (grep -v) [Mirafra Technologies]
  20. What is the sed command and its syntax?
  21. What is the awk command?
  22. What is the use of the tail command? [Mirafra Technologies]
  23. How does the tail command work? [Mirafra Technologies]
  24. What is the mv command used for? (moving files) [Mirafra Technologies]
  25. Which command is used to create a directory? (mkdir) [Mirafra Technologies]
  26. Which command used to remove a directory with subdirectories? (rm -rf)
  27. How does the ls command work? [Mirafra Technologies]
  28. What is the ls command used for? [Mirafra Technologies]
  29. Is the cat command used to list files with the name ‘cat’? [Mirafra Technologies]
  30. What is the echo command used for? [Mirafra Technologies]
  31. How do you find the length of a file?
  32. How do you retrieve a word or value from a file?
  33. Which symbol is used for output redirection in Linux? (>)
  34. What does the ssh command do?
  35. How do you use the apt command?
  36. What is the nice command?
  37. Which command is used to check open ports in Linux? (netstat / ss)
  38. What is the purpose of SELinux?
  39. Which file defines sudo privileges for users? (/etc/sudoers)
  40. What does the chroot command do?
  41. How can you run a command as the root user? (sudo) [Mirafra Technologies]
  42. If you do not know a command, how will you find its purpose and syntax? (man command)
  43. What happens when you execute ./etc/file_gyp.sh?
  44. Which command is used to get the process ID (PID)? (ps / pidof / pgrep) [Mirafra Technologies]
  45. How can you check which users are currently logged into a Linux system? (who / w) [Mirafra Technologies]
  46. Which command to find remaining RAM space? (free -h) [Johnson Control]
  47. Which command shows your current directory in Linux? (pwd)
  48. Tell me 20 commands in LSP. [5G Testbed]
  49. Explain plenty of commands in Linux that you know. [5G Testbed]
  50. What types of files are there in Linux? [Team F1 Network]
  51. What is the file format in Linux? [Team F1 Network]
  52. What are the common file descriptors in Linux? [Team F1 Network]
  53. How to see the list of file descriptors? [Team F1 Network]
  54. What is file system? [Webber]
  55. What is device access management? [Webber]
  56. How to compare two files and read/write operations and print lines where they differ. [VoltyIOT]
  57. Write a C program to open two files and print lines where they have different data. [VoltyIOT]
  58. What is Linux system programming? [TeraScale]
  59. What is a system call? What is the open() system call? [TeraScale]
  60. Write the system calls you know in LSP. [TeraScale]
  61. What is a kernel? [TeraScale]
  62. Given a memory address of 8-bit — write a thread that reads data every 1 second and prints the data from that memory location. [TeraScale]