←
Command Line Magic14,328 posts
Command Line Magic avatar

Command Line Magic

@climagic

Cool Unix/Linux Command Line tricks you can use in $TWITTER_CHAR_LIMIT characters or less. Here mostly to inspire. Also on mastodon.social/@climagic

◷ Joined November 2009▧ 744 Photos and videos
Command Line Magic avatar
Command Line Magic@climagic·May 1

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.

Post attachment
Command Line Magic avatar
Command Line Magic@climagic·Jan 16

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.

Tim Chase avatar
⟳ Command Line Magic retweeted
Tim Chase@gumnos·28 Oct 2024

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

Command Line Magic avatar
Command Line Magic@climagic·31 Oct 2024

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.

Command Line Magic avatar
Command Line Magic@climagic·31 Oct 2024

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.

Command Line Magic avatar
Command Line Magic@climagic·3 Oct 2024

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%