Linux

Save the output of a command using logsave

If you want to save the output of a certain command, and furthermore do it at preset time intervals, use logsave: logsave foo /bin/ls anaconda-ks.cfg apache foo install.log install.log. syslog and after that d[...]


Quickly check an ISO file’s contents from the command line

Have you ever wondered if a certain file is in the first or second ISO you just downloaded? Use isoinfo to find out: isoinfo -l -i filename.iso |more You can also find out more about the ISO image by using isoinfo -d -i[...]


List EXT3 volume names in Linux

If you have multiple Linux partitions and want to find out the name of a certain one, you can use findfs for the task: $ /sbin/findfs LABEL=/ /dev/hda1 The findfs binary is in the e2fsprogs package. [...]


Find out if a command has an alias in Linux

Users that passed the novice status in Linux know that you can give an alias to a longer command. For example, instead of df you can use df -haT for a better view of disk space usage. But what if you can’t remember[...]