Horje
bash swap two columns in a file Code Example
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




Shell

Related
npm inatall latest version ubuntu Code Example npm inatall latest version ubuntu Code Example
check on which domain apache is running Code Example check on which domain apache is running Code Example
apache show active sites Code Example apache show active sites Code Example
zsh: no matches found: with * Code Example zsh: no matches found: with * Code Example
checking for existing ssh keys Code Example checking for existing ssh keys Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11