Empulse Group a collection of notes from a sys admin, musician, and father



Search for multiple processes in one command. Example in using multiple variables.

[root@empulse ~]# ps auxf | grep -P '(wincompd:|proftpd:)'

Lower the reserved disk space to 0%. By default Linux will reserve 5% of each file system as reserve free disk space.

[root@empulse ~]# tune2fs -m 0 /dev/hda5 remove reserved space

Compare two files on two remote file systems. I saw this on Command-line-fu.

[root@empulse ~]# diff <(ssh alice cat /etc/apt/sources.list) <(ssh bob cat /etc/apt/sources.list)
Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.