Find Interview Questions for Top Companies
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: /etc/at.deny and /etc/at.allow filed. create an empty file called /etc/at.allow
Right Answer:
c. create two empty files: /etc/at.deny and /etc/at.allow
Ques:- What text filter can you use to display a binary file in octal numbers?
Right Answer:
You can use the `od` command with the `-o` option to display a binary file in octal numbers.
Ques:- How the handle helps in manipulating the kernel objects?
Right Answer:
A handle is a unique identifier that allows a program to access and manipulate kernel objects, such as files, processes, and threads, without needing to know the details of the object itself. It acts as a reference that the operating system uses to manage the object's state and permissions.
Ques:- You have two files each ten lines long. What text filter could you use to combine the two files so that each line of the output contains the corresponding line from each file?
Asked In :- ola,
Right Answer:
You can use the `paste` command. For example: `paste file1.txt file2.txt`.
Ques:- How to switch to a super user status to gain privileges?
Right Answer:
Use the command `su` to switch to super user status, or `sudo` followed by the command you want to run with elevated privileges.
Ques:- How to terminate a process which is running and the specialty on command kill?
Asked In :- LGB, Kepler Communications,
Right Answer:
To terminate a running process in Unix, you can use the `kill` command followed by the process ID (PID). For example, `kill <PID>`. The `kill` command sends a signal to the process, with the default signal being `SIGTERM` (signal 15), which requests the process to terminate gracefully. If the process does not terminate, you can use `kill -9 <PID>` to send the `SIGKILL` signal, which forcefully stops the process without cleanup.
Ques:- What about the usage count in the parent child process tables?
Right Answer:
The usage count in the parent-child process tables refers to the reference count of how many processes are using a particular resource or object. In the context of Windows, it helps manage the lifecycle of processes, ensuring that resources are released when no longer needed, and preventing memory leaks or orphaned processes.
Ques:- You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?Choose one:a. expand -t4 phonenosb. expand phonenosc. expand -n4 phonenosd. expand -t phonenos
Asked In :- aryaka networks,
Right Answer:
a. expand -t4 phonenos
Ques:- How many prompts are available in a UNIX system?
Right Answer:
There are typically three main prompts available in a UNIX system: the primary prompt (PS1), the secondary prompt (PS2), and the error prompt (PS3).
Ques:- How to find free space in Unix/Linux?
Asked In :- michelin,
Right Answer:
You can find free space in Unix/Linux by using the command:

```bash
df -h
```
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 phonenosb. cut -d, -f1 phonenosc. cut -d -f2 phonenosd. cut -f2 phonenos
Ques:- You issue the command head *. What would the resulting output be?Choose one:a. The first ten lines of each file in the working directory would be displayed preceeded by the file's name.b. The first five lines of each file in the working directory would be displayed preceeded by the file's name.c. The name of each file in the working directory would be displayed.d. The first ten lines of each file in your home directory would be displayed preceeded by the file's name.
Asked In :- Cummins India, givaudan,
Ques:- When defining a cronjob, there are five fields used to specify when the job will run. What are these fields and what is the correct order?Choose one:a. minute, hour, day of week, day of month, monthb. minute, hour, month, day of month, day of weekc. minute, hour, day of month, month, day of weekd. hour, minute, day of month, month, day of week
Asked In :-


AmbitionBox Logo

What makes Takluu valuable for interview preparation?

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