Find Interview Questions for Top Companies
Ques:- In your present working directory, you have the files maryletter memo1 MyTelephoneandAddressBookWhat is the fewest number of keys you can type to open the file MyTelephoneandAddressBook with vi?Choose onea. 6b. 28c. 25d.
Asked In :-
Right Answer:
a. 6
Ques:- In order to display the last five commands you have entered using the fc command, you would type ___________.
Asked In :-
Right Answer:
`fc -l -5`
Ques:- If Bob’s symbolic link to the file salesdata stops working, how can you fix it?
Asked In :- verizon data services,
Right Answer:

The link breaks if the original file salesdata is moved or deleted. To fix it, either restore the file to its original location or recreate the symbolic link pointing to the file’s new location.

Ques:- You want to make it possible for your users to mount floppy disks. What do you need to do?Choose one:a. Tell your users the password for root as floppies can only be mounted by root.b. Edit the mtab file and add the user option on the floppy entry.c. Edit
Asked In :- greenway health, goc,
Right Answer:
b. Edit the mtab file and add the user option on the floppy entry.
Ques:- When you back up only the files that have changed since the last backup, this is called a ______ backup.Choose onea. Partialb. Differentialc. Fulld. Copy
Asked In :-
Right Answer:
b. Differential
Ques:- You want to delete the following directories and their files/home/bob/letters/home/bob/salesso you issue the command rmdir /home/bob/letters but the command fails. What went wrong?Choose one:a. You need to first delete the sales subdirectory and its files
Right Answer:
a. You need to first delete the sales subdirectory and its files.
Ques:- You have made changes to the /etc/syslog.conf file. Which of the following commands will cause these changes to be implemented without having to reboot your computer?Choose one:a. kill SIGHINT `cat /var/run/syslogd.pid`b. kill SIGHUP `cat /var/run/syslogd
Asked In :- dream11,
Right Answer:
b. kill SIGHUP `cat /var/run/syslogd.pid`
Ques:- You use the mount -a command to mount all your filesystems, however, you cannot access your CD-ROM. What could be the problem?Choose one:a. The CD-ROM is not defined in the fstab file.b. The CD-ROM cannot be mounted using the mount -a command.c. The comma
Asked In :- western digital,
Right Answer:
a. The CD-ROM is not defined in the fstab file.
Ques:- You have a directory called /home/ben/memos and want to move it to /home/bob/memos so you issue the command mv /home/ben/memos /home/bob. What is the results of this action?Choose one:a. The files contained in /home/ben/memos are moved to the directory /h
Asked In :- infocusp,
Right Answer:
a. The files contained in /home/ben/memos are moved to the directory /home/bob/memos.
Ques:- You read an article that lists the following command: dd if=/dev/fd0 bs=512 of=/newWhat does this accomplish?Choose one:a. It copies the contents of a floppy disk to a file called new.b. It copies the file new to a floppy disk.c. It formats a floppyd. It
Right Answer:
a. It copies the contents of a floppy disk to a file called new.
Ques:- You issue the command jobs and receive the following output: [1]- Stopped (tty output) pine [2]+ Stopped (tty output) MyScriptHow would you bring the MyScript process to the foreground?Choose one:a. fg %2b. ctrl-cc. fg MyScri
Asked In :-
Right Answer:
a. fg %2
Ques:- You typed the following at the command line ls -al /home/ hadden. What key strokes would you enter to remove the space between the '/' and 'hadden' without having to retype the entire line?Choose onea. Ctrl-B, Delb. Esc-b, Delc. Esc-Del,
Asked In :- Gainers Infotech,
Right Answer:
b. Esc-b, Del
Ques:- You attempt to log out but receive an error message that you cannot. When you issue the jobs command, you see a process that is running in the background. How can you fix this so that you can logout?Choose onea. Issue the kill command with the PID of each
Asked In :- open source,
Right Answer:
a. Issue the kill command with the PID of each.
Ques:- You created a tarfile called myfiles.tar containing copies of all the files in your home directory. In order to save space you compress this file using gzip. After completing the operation, you do a listing of the contents of the directory to see how much
Asked In :-
Right Answer:
You will see a file named `myfiles.tar.gz` in your directory, which is the compressed version of `myfiles.tar`.
Ques:- You have set quotas for all your users but half of your users are using more space than they have been allotted. Which of the following could be the problem?Choose one:a. You have too many users on your system.b. Users' home directories are located on
Asked In :-
Right Answer:
b. Users' home directories are located on a filesystem that does not enforce quotas.
Ques:- How Is Linux Licensed?
Asked In :- speridian technologies,
Right Answer:
Linux is licensed under the GNU General Public License (GPL), which allows users to freely use, modify, and distribute the software, as long as any derivative works are also distributed under the same license.
Ques:- Your default umask is 002. What does this mean?Choose one:a. Any file you create will have the permissions set as owner and group having read and write permissions; others as read only.b. Any file you create will have the permissions set as owner and grou
Right Answer:
a. Any file you create will have the permissions set as owner and group having read and write permissions; others as read only.
Ques:- You have a file called administration with the following attributes-rw-rw-r– 1 root admin 7202 Sep 17 9:10 administrationGeorge is a member of the admin group and Bob is a member of the sales group. Both George and Bob need to make changes to this file.
Right Answer:
To allow both George and Bob to make changes to the file "administration," you can change the group ownership of the file to a group that includes both users or add George to the sales group. Alternatively, you could change the file's permissions to allow write access to others.

For example, you can run:
```bash
chgrp sales administration
chmod 664 administration
```
This will give write access to both groups.
Ques:- When using sed to replace text, which option ensures only the changed lines are printed?
Asked In :- lucid motors,
Right Answer:

Use the -n option with the p command (option b. -p) to suppress default output and print only the lines where replacements occur.



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