Posted in bash

Watching a bash Script at Work

Sometimes it is helpful to watch what a bash script is actual doing. This can be done with the parameter -x:

$ bash -x <script>

Continue reading “Watching a bash Script at Work”

Advertisements
Posted in Linux commands

sort: Change Directory for Temporary Files

To change the directory for temporary files during sort use the parameter -T:

$ sort -T /var/big_filesystem file_to_sort

This can be helpful, if you sort a big file and the default directory (/tmp) is full or too small.

Posted in bash

Just curious about visitors