Command Line Magic

@climagic
19.9K Followers
254 Following
1.9K Posts
Cool Unix/Linux Command Line tricks you can use. Here mostly to inspire all to try more. Read docs first, run later.
More info:http://www.climagic.org/
Support me by buying from my eBay storehttps://www.ebay.com/usr/suso6gq3
Had the fortune of meeting Michael Elkins (left), the creator of the mutt email client, today while at the Information Sciences Institute.

sudo su -
alias facts='timedatectl set-ntp'
facts false
timedatectl set-time "1984-01-15"

Set your system date to January 15, 1984, and not for the Mac commercial. Just run 'facts true' to return to reality.

I made a podcast episode to welcome all the new Linux users to the community and invite them to participate in the community.
https://hackerpublicradio.org/eps/hpr4536/index.html
Hacker Public Radio ~ The Technology Community Podcast

Hacker Public Radio is a podcast that releases shows every weekday Monday through Friday. Our shows are produced by the community (you) and can be on any topic that is of interest to hackers and hobbyists.

Today someone asked me if I could open an Excel spreadsheet and I kinda chuckled at the question. But, it was a good reminder that even if the bar is low, it's not zero.
Is the post-mis-information age going to be any better?
Bad UX design demonstrated in one form field.
It's funny how humans complain about AI hallucinations when humans make shit up all the time.

Vim users: If you'd like to highlight the whole line the cursor is on:

:set cursorline

I just used that when examining package output from dpkg -l so that I could easily see which description matched each package.

Being able to do stuff like this is what makes the command line pretty special:

ssh 192.168.0.15 'sudo dd if=/dev/sda bs=1M status=progress' > backup-old-drive.img

All I wanted to do was copy a file.