
Command Line Magic
@climagic
Followers
189K
Following
2K
Media
742
Statuses
14K
Cool Unix/Linux Command Line tricks you can use in $TWITTER_CHAR_LIMIT characters or less. Here mostly to inspire. Also on https://t.co/YYJE9JpVnF
$HOME
Joined November 2009
Wondering where the content is? I've been on Mastodon for years (@climagic) and now Bluesky ( https://t.co/AeJASx55bN) 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).
6
6
31
Every Unix is sacred, every Unix is best, every Unix is different, when you run ps.
2
20
91
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 :
0
5
27
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
63
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.
0
0
17
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
Dear Supporters of Trump, I'd like to even call you fellow Americans, partners in democracy, friends, and neighbors.... https://t.co/gk79T7IGns
docs.google.com
Oct 30, 2024 Dear Supporters of Trump, I'd like to even call you fellow Americans, partners in democracy, and friends. We have less than one week to save the America that you love, because once you...
26
11
75
What kind of loser attacks the Internet Archive. Seriously not cool.
4
23
162
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. https://t.co/M5ZMUbzCn9
0
7
7
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
0
5
17
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%
1
2
24
Some of you might remember celebrating day 15,000 https://t.co/8OKASTmtW4
0
5
23
Happy 20,000th day of Unix epoch time: echo $(( $( date +%s ) / 86400 ))
7
114
570
HP adding AI to their printers. "I'm sorry Dave, I can't print that." https://t.co/ErnYX9LKiR
6
10
57
If you are a user of geeqie (a nice *nix photo viewer) and need to start a second session, but don't want it to interfere with the first, you can use the -n option: geeqie -n Check 'man geeqie' for a bunch of other useful options.
0
1
19
Add some spice to your text by randomly coloring each word in a text file. head -n30 cat_haiku.txt | awk 'BEGIN{srand()} RS=" " {c=int(rand()*200)+32;printf "\033[38;5;" c "m" $0 "\033[0m "}'
3
8
53