Find Interview Questions for Top Companies
Ques:- After experimenting with vi as your command line editor, you decide that you want to have vi your default editor every time you log in. What would be the appropriate way to do this?Choose onea. Change the /etc/inputrc fileb. Change the /etc/profile filec.
Right Answer:
b. Change the /etc/profile file
Ques:- You have a directory with the following permissionsdrw-rw–w- 1 root admin 7202 Sep 17 9:10 administrationand need to give everyone except root read only access to it. Which of the following commands will accomplish this?Choose one:a. chmod uo=r administr
Right Answer:
The correct command is: `chmod o=r administration`
Comments
DK BOSS Jul 23, 2021

Question is not complete

Ques:- You have a file with permissions set as-rw-r–r– 1 root admin 7202 Sep 17 9:10 phonenosWhat would be the effect of issuing the command chmod 4755?Choose one:a. The owner would be given execute permission.b. To run the file you will have to give root'
Asked In :-
Right Answer:
a. The owner would be given execute permission.
Ques:- What would be displayed as the result of issuing the command ps ef?Choose onea. A listing of the user's running processes formatted as a tree.b. A listing of the stopped processesc. A listing of all the running processes formatted as a tree.d. A listi
Right Answer:
c. A listing of all the running processes formatted as a tree.
Ques:- You have written a script called usrs to parse the passwd file and create a list of usernames. You want to have this run at 5 am tomorrow so you can see the results when you get to work. Which of the following commands will work?Choose one:a. at 5:00 wed
Right Answer:
a. at 5:00 wed
Ques:- You issue the command ls -l memos and get the following output-rw-rw-r– 1 bob users 17249 Sep 7 10:08 accounting-rw-rw-r– 1 bob users 7202 Sep 17 9:10 administration-rw-rw-r– 1 root users 13367 Sep 1 12:58 humres-rw-rw-r– 1 bob users 9449 Sep 22 7:34
Asked In :- rightwave, digio,
Right Answer:
The output shows a list of files in the "memos" directory with their permissions, owner, group, size, and last modified date. The files are: "accounting," "administration," "humres," and another unnamed file. The owner of "humres" is "root," while the others are owned by "bob."
Ques:- What is wrong with the following command? tar cvfb / /dev/tape 20Choose onea. You cannot use the c option with the b option.b. The correct line should be tar -cvfb / /dev/tape20.c. The arguments are not in the same order as the corresponding modifiers.d.
Right Answer:
a. You cannot use the c option with the b option.
Ques:- You have a file called docs.Z but do not know what it is. What is the easiest way to look at the contents of the file?Choose one:a. Use zcat to display its contents.b. Use uncompress to expand the file and then use emacs to display the files contents.c. C
Asked In :- master magazine,
Right Answer:
a. Use zcat to display its contents.
Ques:- Every time you attempt to delete a file using the rm utility, the operating system prompts you for confirmation. You know that this is not the customary behavior for the rm command. What is wrong?Choose onea. rm has been aliased as rm -ib. The version of
Asked In :-
Right Answer:
a. rm has been aliased as rm -ib.
Ques:- Several of your users have been scheduling large at jobs to run during peak load times. How can you prevent anyone from scheduling an at job?Choose one:a. delete the file /etc/at.denyb. create an empty file called /etc/at.denyc. create two empty files: /e
Right Answer:
b. create an empty file called /etc/at.deny
Ques:- You copy the administration directory to George's home directory.-rw-rw–w- 1 root admin 7202 Sep 17 9:10 administrationThe only group that George is a member of is users. He calls you to say he cannot list the contents of the administration directory
Asked In :-
Right Answer:
George cannot list the contents of the administration directory because the permissions are set to `-rw-rw-r--`, which means only the owner (root) and the group (admin) have read access. Since George is not the owner and is not part of the admin group, he does not have permission to read the directory.
Ques:- You have a file with the following permissions-rw-r–r– 1 root admin 7202 Sep 17 9:10 phonenosYou want the members of the admin group to be able to modify the file. What command should you use?Choose one:a. chmod 664 phonenosb. chmod 114 phonenosc. chmod
Right Answer:
a. chmod 664 phonenos
Ques:- You enter the command cat MyFile | sort > DirList & and the operating system displays [4] 3499What does this mean?Choose one a. This is job number 4 and the PID of the sort command is 3499.b. This is job number 4 and the PID of the job is 3499.c. This is
Asked In :-
Right Answer:
a. This is job number 4 and the PID of the sort command is 3499.
Ques:- You search for the word prize in the file kickoff by typing grep prize kickoff. However you also find lines containing prize as part of a word such as prizes but do not find Prize. How should you change the commandto find all occurrences of prize as a wor
Right Answer:
Use the command: `grep -iw prize kickoff`
Ques:- You have the /var directory on its own partition. You have run out of space. What should you do?Choose one:a. Reconfigure your system to not write to the log files.b. Use fips to enlarge the partition.c. Delete all the log files.d. Delete the partition an
Asked In :-
Right Answer:
c. Delete all the log files.
Ques:- You have entered the following cronjob. When will it run? 15 * * * 1,3,5 myscriptChoose one:a. at 15 minutes after every hour on the 1st, 3rd and 5th of each month.b. at 1:15 am, 3:15 am, and 5:15 am every dayc. at 3:00 pm on the 1st, 3rd, and 5th of each
Right Answer:
a. at 15 minutes after every hour on the 1st, 3rd and 5th of each month.
Ques:- You have a file called phonenos that consists of two fields per line, telephone number and name, with the fields being separated by a comma (,). You want to have a list of the names only. Which command will accomplish this?Choose one:a. cut -d, -f2 phonen
Asked In :- Reliance Jio, kalkitech,
Right Answer:
a. cut -d, -f2 phonenos
Ques:- One of your users calls to tell you that he cannot save a new file he has created in his home directory. You check his disk quota and find that he is using less than 50 percent of the space he is allotted. What could be the problem?Choose one:a. He is pre
Asked In :-
Right Answer:
The user may have reached the maximum number of files (inodes) allowed in their home directory.
Ques:- You have been given the job of administering a new server. It houses a database used by the sales people. This information is changed frequently and is not duplicated anywhere else. What should you do to ensure that this information is not lost?Choose one
Asked In :- unite students,
Right Answer:
Implement regular backups of the database.
Ques:- You have a new application on a CD-ROM that you wish to install. What should your first step be?Choose one:a. Read the installation instructions on the CD-ROM.b. Use the mount command to mount your CD-ROM as read-write.c. Use the umount command to access
Right Answer:
a. Read the installation instructions on the CD-ROM.


The Linux category on takluu.com is designed for candidates preparing for technical interviews where a solid understanding of Linux is crucial. Whether you’re applying for roles in system administration, DevOps, cloud computing, cybersecurity, or backend development, proficiency in Linux is often a key requirement.

Linux is an open-source operating system based on the Unix architecture and is known for its performance, flexibility, and security. It powers most of the world’s servers, cloud platforms, mobile devices (Android), and embedded systems. This category focuses on helping you prepare for real-world Linux interview questions and hands-on scenarios.

Key topics you’ll find here include:

  • Linux file system hierarchy and navigation commands

  • File permissions, ownership, and chmod/chown usage

  • Process management using ps, top, kill, nice, etc.

  • User management and access control

  • Shell scripting and automation (Bash)

  • Package management (apt, yum, rpm, etc.)

  • Disk and memory usage analysis

  • System startup, services (systemd, init), and cron jobs

  • Network configuration and troubleshooting tools (ping, netstat, ifconfig, ssh)

  • Log analysis and system monitoring

The interview questions presented in this section are practical, scenario-based, and aligned with what companies expect in technical rounds. We cover both entry-level and advanced topics to ensure that you’re prepared whether you’re a fresher or an experienced professional.

Linux isn’t just a technical skill—it’s a foundational knowledge that unlocks a wide range of career opportunities. Let this category be your stepping stone to mastering Linux concepts and confidently answering interview questions with hands-on clarity and precision.

AmbitionBox Logo

What makes Takluu valuable for interview preparation?

1 Lakh+
Companies
6 Lakh+
Interview Questions
50K+
Job Profiles
20K+
Users