We cannot run a cut command on a file and change it in place For example:
cut -d',' -f -3 abc.txt>abc.txt
the above command leads to an empty abc.txt file
cut -d',' -f -3 abc.txt>abc.txt
the above command leads to an empty abc.txt file
...this is a log of code snippets and useful tips I wrote/found. Should you find any mistakes or have any useful suggestions, please do not hesitate to write to me.