handy_custom_functions
This is an old revision of the document!
You might find that in your daily computer work, there are some commands that are long and you execute quite often. Sometimes it may also be a series of commands that you execute in a row that you do quite often. It may be worth it to write a custom function that wraps these lines of code into a short, so that you do not have to type all of these commands anymore.
We have already discussed one such function in a previous section:
# easier viewing of tab separated files
function coltab {
column -t -s $'\t' $1 | less -S
}
handy_custom_functions.1620839222.txt.gz · Last modified: by 168.91.18.151
