6 August 201414 May 2023Linux CommandsBy Admin lsb_release command line tool and its examples Examples: 1. To get the LSB distribution information $ lsb_release 2. To get all the LSB distribution information $ lsb_release -a$ lsb_release […]
6 August 201414 May 2023Linux CommandsBy Admin lsattr command line tool and its examples Examples: 1. To recursively list attributes of directories and their contents $ lsattr -R 2. To display the program version $ lsattr […]
6 August 201414 May 2023Linux CommandsBy Admin how to use ls command with its examples Examples: 1. To list the directory content $ ls 2. To list all the directory contents $ ls -a$ ls –all 3. […]
6 August 201414 May 2023Linux CommandsBy Admin hos to use logrotate command with its examples /var/lib/logrotate.status Default state file. /etc/logrotate.conf Configuration options. Examples: 1. To force the log rotation […]
6 August 201414 May 2023Linux CommandsBy Admin logname command line tool and its examples Examples: 1. To print the users login name $ logname 2. To get the help for logname command $ logname –help 3. To […]
6 August 201414 May 2023Linux CommandsBy Admin login command line tool and its examples Examples: 1. To login to the system $ login 2. To tell login not to destroy the environment $ login -p 3. […]
6 August 201414 May 2023Linux CommandsBy Admin logger command with its examples Examples: 1. To log the message to standard error and system logs $ logger -s “This is a test message” 2. To […]
6 August 201414 May 2023Linux CommandsBy Admin how to use locate command with its examples Examples: 1. To locate any file $ locate file.txt 2. To match only the basename against the pattern $ locate -b file.txt$ […]
6 August 201414 May 2023Linux CommandsBy Admin how to use locale command and its examples Examples: 1. To get the locale specific information $ locale 2. To get the names of available locale $ locale -a$ locale […]
6 August 201414 May 2023Linux CommandsBy Admin how to use lnstat command with its examples Examples: 1. To get the unified network statistics $ lnstat 2. To print the number of intervals $ lnstat -c 10 3. […]