Print all columns:
awk '{print $0}' somefile
Print all but the first column:
awk '{$1=""; print $0}' somefile
Print all but the first two columns:
awk '{$1=$2=""; print $0}' somefile
More Related Contents:
- sh: 1: Syntax error: "(" unexpected error
- Save modifications in place with awk
- Filter log file entries based on date range
- How to merge two files using AWK? [duplicate]
- Fastest way to find lines of a file from another larger file in Bash
- Convert date formats in bash
- How can I quickly sum all numbers in a file?
- How can I delete a newline if it is the last character in a file?
- Split one file into multiple files based on delimiter
- Can awk patterns match multiple lines?
- Can I programmatically “burn in” ANSI control codes to a file using unix utils?
- GROUP BY/SUM from shell
- Finding contents of one file in another file
- Removing Windows newlines on Linux (sed vs. awk)
- Uppercasing First Letter of Words Using SED
- using awk with column value conditions
- Insert multiple lines into a file after specified pattern using shell script
- How can I trim white space from a variable in awk?
- Extract lines between two patterns from a file [duplicate]
- Replace whitespace with a comma in a text file in Linux
- Using awk to count the number of occurrences of a word in a column
- awk – how to delete first column with field separator
- How do I write a bash script to restart a process if it dies?
- What is the best way to ensure only one instance of a Bash script is running? [duplicate]
- How do you find the original user through multiple sudo and su commands?
- Creating a bootable ISO image with custom bootloader
- Is there a way to get gcc to output raw binary?
- Append date to filename in linux
- How do I get the path of a process in Unix / Linux?
- How do I get the difference between two dates under bash [duplicate]