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. […]
5 August 201414 May 2023Linux InterviewBy Admin Generally asked Linux Interview Questions for beginners Q.1 Tell me about yourself / Brief me about yourself. Q.2 Brief me about current job, OR Name of company, job title […]