(TIL) Nix: Convert tabs to/from spaces
The command expand in GNU coreutils converts tabs in each input file to spaces. The command unexpand does the reverse, converting spaces in each input files ...
The command expand in GNU coreutils converts tabs in each input file to spaces. The command unexpand does the reverse, converting spaces in each input files ...
To convert the contents of a file to all lower case, you can use:
cat --squeeze-blank (or cat -s for short) will suppress repeated empty output lines.
You can change the default shell program for a particular unix user with the chsh command. Just tell it what shell program you want to use (e.g. bash or zsh)...
You can quickly view a file using cat