The Cookie Machine - Click here to drag window

The Cookie Machine (TCM) Future Applications:

ā˜‘ View cookies used on the Pippim website.
ā˜‘ Send cookie via mail. For backup or sharing.
ā˜‘ Receive cookie via mail. From yourself or colleague.
ā˜‘ Countdown Timers. For multi-phase time sensitive missions.
ā˜‘ And in the future... Other ways of sharing/using Cookies.

If you can read me, I'm broken!

Views: 18,159     Votes:  15     āœ… Solution
Tags: scripts   sed   tail  
Link: šŸ” See Original Question on Ask Ubuntu ⧉ šŸ”—


In this answer (How can I remove the first line of a file with sed?) there are two ways to delete the first record in a file:

sed '1d' $file >> headerless.txt

** —————- OR —————-**

tail -n +2 $file >> headerless.txt

Personally I think the tail option is cosmetically more pleasing and more readable but probably because I’m sed-challenged.

Which method is fastest?

⇧ Why is this 'eject' icon showing next to my drive? Crontab not working @reboot with macchanger  ā‡©