Install important sysadmin and monitoring packages? Thought completely optional, I would recommend to install some of these useful programs: As such, disable gpm from starting at boot time sudo update-rc.
December 22, Last Updated: Let us start one by one how we can use those commands with examples.
Uptime Command In Linux uptime command shows since how long your system is running and the number of users are currently logged in and also displays load average for 1,5 and 15 minutes intervals.
It gives information only in hours: W Command It will displays users currently logged in and their process along-with shows load averages.
Users Command Users command displays currently logged in users.
Who Command who command simply return user name, date, time and host information. Lets illustrate and see the different between who and w commands. Displays last system reboot date and time.
Displays all information in cumulatively.
Whoami Command whoami command print the name of current user. Crontab Command List schedule jobs for current user with crontab command and -l option. In the below example will open schedule jobs in VI editor.
Make a necessary changes and quit pressing: Less Command less command allows quickly view file. You can page up and down. More Command more command allows quickly view file and shows details in percentage. CP Command Copy file from source to destination preserving same mode.
Ask for confirmation if exist already. Cd command change directory with cd command change directory it will goes to fileA directory.
Sort command Sorting lines of text files in ascending order. Below examples open file in read only with -R option. For example the below ssh command will connect to remote host To check the version of ssh use option -V uppercase shows version of ssh.
Ftp or sftp Command ftp or sftp command is used to connect to remote ftp host. For example the below commands will connect to ftp host There are two ways to start the any service. For example we start the service called httpd with service command.
Free command Free command shows free, total and swap memory information in bytes.
Top Command top command displays processor activity of your system and also displays tasks managed by kernel in real-time. Tar Command tar command is used to compress files and folders in Linux. Grep Command grep search for a given string in a file. Find Command Find command used to search files, strings and directories.
Below lsof command list of all opened files by user tecmint. This command can execute normal user also. Useful command to troubleshoot. Below example show init process only. First find process id with ps command as shown below and kill process with kill -9 command.
Kindly share through our comment box if we missed out.Enabling everything HAM radio on Centos Linux! This document is my journey into Linux-assisted HAM radio with Centos.
This covers many different topics along my personal discovery which started with AX packet radio, then into HF digital modes, and most recently SDR and D*star technologies!
This is a book for anyone who uses Asterisk. Asterisk is an open source, converged telephony platform, which is designed primarily to run on Linux.
mv command is a command that similar to cp, but it does not create a copy/duplicate of files or directories. This command is installed by default on your Linux system, in any kind of Linux you are using.
Please take a look of some examples using mv command in day-to-day operation. Hi, DHCP Server has been configured dynamically, clients systems gets the ip addresses.
Now, through DHCP Server, how I can list all the client systems informations . Note doing sudo yum update openssl does not work in CentOS 5.
To quote from another SO post: CentOS 5 does not have an official package of openssl newer than so you cannot upgrade the system package to There we go, we just completed a secure copy (scp) like in Linux but with a Windows system using PowerShell.
The command we just executed copied torosgazete.com to a remoteserver in the c:\support directory and used my credentials to authenticate.