bash swap two columns in a file
# Example usage:
awk '{t=$1; $1=$2; $2=t; print;}' input_file # Swap column 1 and column 2
# This assigns column 1 to a dummy variable t, makes column 1 equal
# to column 2, and then assigns the contents of t to column 2
Also in C++:
- ubuntu remove all except
- seatools for linux
- how to install trello on linux
- docker remove exited containers
- how to uninstall all plugins in ionic app
- how to check laptop serial number in ubuntu
- certbot configure
- ubuntu dot to png
- linux pptx to pdf
- deletes lines including regex match
- git checkout fast
- how to remove sensitive data from github history
- debian install java
- find next greater number with same digits
- remove unnecessary npm packages
- how to copy the files of a folder to another folder linux
- how to check os version
- git pull updates from fork
- github actions
- shell script current time
- how to reload docker nginx
- count specific number in array powershell
- how to remove a git remote origin
- bash equivalent of /?