6 August 201414 May 2023Linux CommandsBy Admin how to use lsof command with its examples Examples: 1. To list all the open files $ lsof 2. To get the lsof help $ lsof -h$ lsof –help$ lsof […]
6 August 201414 May 2023Linux CommandsBy Admin how to use lshal command with its examples Examples: 1. To list HAL devices $ lshal 2. To print changes emitted by the hald daemon $ lshal -m$ lshal –monitor […]
6 August 201414 May 2023Linux CommandsBy Admin how to use lscpu command with its examples Examples: 1. To get the CPU architecture $ lscpu 2. To get the lscpu help $ lscpu -h$ lscpu –help 3. To […]
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 […]