Command Line Magic (@climagic) profile picture

Cool Unix/Linux Command Line tricks you can use in $TWITTER_CHAR_LIMIT characters or less. Here mostly to inspire. Also on https://nitter.cf/t.co/YYJE9JpVnF

$HOME
Joined November 2009
Copy Fail is a very serious root escalation vuln released on Wednesday that requires your attention. More details and the fix at https:// copy.fail/ and be sure to reboot after you've patched.
1
4
1
35
6,531
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.
3
3
1
28
8,154
Wondering where the content is? I've been on Mastodon for years (@climagic) and now Bluesky (climagic.bsky.social) as well. I tend to post more to those networks lately and will reduce the amount here (whatever you want to call this place anymore).
8
7
1
30
7,848
Every Unix is sacred, every Unix is best, every Unix is different, when you run ps.
2
18
88
10,093
Please vote. (And yes, these are VT100 keycaps)
2
4
49
9,023
Command Line Magic retweeted
If you like @climagic then I just found an underrated youtube channel that you might be interrested in. I've watched a couple of his videos and they're all about the beauty of command line and bash scripting. Check out this video on FZF for example : youtube.com/watch?v=hwMGTqoQ…
5
25
7,013
I can talk to plants and they say they want water.
3
5
22
8,900
Command Line Magic retweeted
Here's your regular reminder that you can toggle options within less(1) without having to re-start it. Type minus followed by the option-letter. So -i for case-(in)sensitivity -R for ANSI handling -S for wrapping long lines -N for line-numbers -g for search-match highlighting
1
15
57
8,799
I have a rule for climagic of "No politics", but I'm violating that rule because quite frankly this is more important than the command line. This is about protecting my family and yours and I'm just trying to do something instead of ignoring it. You can too. Be strong.
3
2
37
7,645
Besides, they might say one day that they think all us Linux users believe in freedom too much and should be sent to Antarctica in exile to be with the penguins.
16
6,089
Now would be a great time to learn Morse Code.
4
2
1
34
8,072
What kind of loser attacks the Internet Archive. Seriously not cool.
4
20
1
158
11,983
If you've been looking to get the new CLImagic stickers at a reduced price, I have a coupon SUSOOCT20OFF running til the end of the month for 20% off. ebay.com/itm/226345946412 ebay.com/itm/226344815489
6
8
5,514
Sorry, the command got cut off when I copy/pasted it. for i in {16..250};do printf "\x1b[48;5;${i}m%$(($COLUMNS*$LINES))s" "";sleep 0.1;done
4
18
7,495
Countdown to 20,000 + surprise (bash version + requires cowsay): tt=$((20000*86400));until [[ $(date +%s) -ge $tt ]];do cowsay $(($tt - $(date +%s) ));sleep 1;clear;done ; for i in {16..250};do printf "\x1b[48;5;${i}m%
2
2
24
6,520
Happy 20,000th day of Unix epoch time: echo $(( $( date +%s ) / 86400 ))
7
104
4
544
35,616
HP adding AI to their printers. "I'm sorry Dave, I can't print that." m.slashdot.org/story/433589
6
7
2
54
8,876