- Home
- Interview Questions
- Linux Server Administrator
66.
How can you display your server routing table (IP view)?
You can get a display of your current routing table without resolving for faster results, by using the command route –n.
67.
You want to run the application heavyapplication with a low priority so it will not take all the resources from the system and
run at the lowest priority there is, how can you do it during the application start?
Using the nice tool, you can start an application with the desired nice level
- nice -n 19 heavyapplication.
68.
How can you change the default init runlevel to 5?
In order to change the default init runlevel you need to edit the file /etc/inittab and change the line starting with "id" - "id:5:initdefault:"
69.
You have an application crashes, but there is no core file created, what should you do?
Make sure that the ulimit -c is not set to 0, this will disable the creation of the core dump creation.
70.
The time is 1:00 PM, you have upgraded the kernel and need to reboot, but you won't be here at night, how can you tell the
system to shutdown at 1AM?
You can define time to the shutdown command: shutdown -r 01:00 will reboot at 1AM