• Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
No Result
View All Result
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
No Result
View All Result
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
No Result
View All Result
Home Tutorials

How To Delete The First Column In A CSV File Inside a Bash Script

by Sick Codes
July 14, 2016 - Updated on June 24, 2020
in Tutorials
0

You’re writing a script that maybe works with a CSV that you’ve downloaded as a cron job and want to delete the first column so that it uploads nicely somewhere else, maybe to a MySQL database.

Delete the first column:
sed -i 's/[^,]*,//' thespreadsheet.csv

Delete the first two columns:
sed -i 's/[^,]*,//' thespreadsheet.csv
sed -i 's/[^,]*,//' thespreadsheet.csv

Next Post
This plugin is vulnerable flash linux fail

How To Update Flash on Firefox & Iceweasel Debian or Ubuntu

How To Download & Install Launchpad & PPA Programs/Files Super Easy

/home/user/Pictures/How to get photoshop to work on debian and ubuntu arch.png

How To Install 100% Working Photoshop CS6 or CC on Ubuntu, Debian, Mint! CC 2019 CC 2020

No Result
View All Result
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training

© 2017-2021 Sick.Codes

@sickcodes

@sickcodes

@sickcodes

Discord Server

sickcodes.slack.com

t.me/sickcodeschat

./contact_form