Category:
commands
Watch runs a program at regular interval and continuously displays the output. This allows you keep track of the changes that are occurring in the program over time. Run watch in the following way. watch [options] command By default watch updates the command output every 2 seconds. To change this interval us the ‘-n seconds‘ [...]
Among the most valuable tools at a Linux administrators disposal is sudo. It lets ordinary users temporarily submit commands as root or another user. To use use this command simply put sudo before any command you want to run with root permissions. sudo command To submit commands as another user use the ‘-u‘ option and [...]
There are many ways to take screenshot in Linux. If you have Gnome or KDE you can simply press your ‘print screen’ button and you are done. If you don’t run either one of these desktops you can always use the screenshot functionality built into GNU Image Manipulation Program aka GIMP. Open up GIMP and [...]
scp allows you to securely copy files locally or remotely across a network. It uses SSH for data transfer and uses the same authentication. If you do not have public key authentication enabled you will be prompted for a password. This basic format for scp is this. scp [options] [[user@]src_host1:]file1 [[user@]dest_host2:]file2 Assuming the remotehost has [...]
The top command is a great way to keep track of processes executing on a system in real-time. Launch top by entering this on the command line. $ top Here is an example of what you will see. top – 09:13:11 up 1:29, 2 users, load average: 0.20, 0.16, 0.10 Tasks: 85 total, 1 running, [...]