Use the column
command:
column -t -s' ' filename
More Related Contents:
- Echo newline in Bash prints literal \n
- echo “#!” fails — “event not found”
- How can I repeat a character in Bash?
- Why can’t I specify an environment variable and echo it in the same command line?
- How can I suppress all output from a command using Bash?
- How to use shell commands in Makefile
- How does one output bold text in Bash?
- How to bold one output text in Bash?
- Can I export a variable to the environment from a Bash script without sourcing it?
- Passing arguments to an interactive program non-interactively
- How to urlencode data for curl command?
- How to define hash tables in Bash?
- Why isn’t tilde (~) expanding inside double quotes? [duplicate]
- What is the difference between “$@” and “$*” in Bash? [duplicate]
- Count occurrences of a char in a string using Bash
- How to redirect output of an entire shell script within the script itself?
- Getting “command not found” error in bash script
- What is the exact meaning of IFS=$’\n’?
- How to check if running in Cygwin, Mac or Linux?
- Using getopts inside a Bash function
- How to split a string in shell and get the last field
- How to write a bash script to set global environment variable?
- Bash Script Binary Search
- Escaping forward slashes in sed command [duplicate]
- Remove all files except some from a directory
- Switch case with fallthrough?
- Is bash a programming language?
- Extract parameters before last parameter in “$@”
- Reading lines in a file and avoiding lines with # with Bash
- Getting a ‘source: not found’ error when using source in a bash script