Command-Line CSV Viewer
-
Create a new file called
csv
in/usr/bin/
(or in/usr/bin/local/
if it exists in your distro): -
Paste the following code into the file (credit goes to Benjamin Noakes for this code):
-
Exit vim (good luck!). Make this script executable:
-
All done! As long as
/usr/bin/
is on yourPATH
, you should be able to nicely display CSV files in the command line with: