- Home
- Interview Questions
- Linux System Administrator
41.
What is the Nagios system?
The Nagios is an open-source monitoring tool/application that helps identify and resolve infrastructure/network problems.
42.
You need to generate a random number in the console, how can you do it without any random application?
Generate a number string from the /dev/urandom - od -N3 -tu2 -vAn < /dev/urandom | sed 's/ //g'
43.
You have a very secret file "TOP-SECRET.txt", which needs to be deleted "for good", how can you do it?
You can use the shred tool to overwrite the file X times so it will not be able to recover - shred -n 10 -z TOP-SECRET.txt.
44.
You are in a directory /home/user/downloaded/ and you want to share the files in this directory quickly over web without
configuring an httpd server, how can you do it with python?
The Python script language allows a quick httpd service called SimpleHTTPServer, and you can share the local directory you're in using the command python -m SimpleHTTPServer
45.
While running a command interactively, how do you send the command into background?
To send a command to the background, click Ctrl+Z, it will send you to the command line and pause the application, then type bg in order to send that command to background.