Tag Archives: cli

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 do a more foo Logsave is useful also because it prints the exact date and time of the event, before and after… Read More »

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 if you already have set an alias for a certain command? Well,… Read More »