#shellmagic search results

Redirections, pipes, and process substitution ,weaving shell sorcery #ShellMagic #LINUX


How to test a TCP (or UDP) remote port without telnet or netcat (in a one-liner): (google’s IP and TCP to 443) timeout 1 bash -c '</dev/tcp/216.58.207.46/443 && echo Port is open || echo Port is closed' || echo Connection timeout #shellmagic


@climagic #shellmagic Something I just recently learned: curl telnet://127.0.0.1:22 Even when telnet and netcat are not available, curl usually is.


5/5: Explore the stars with "starship" - a customizable shell prompt! 🌟Installation: For macOS: brew install starship For Linux: snap install starship #CustomPrompt #ShellMagic


loop() { while true; do cat "$1"; done | play -t `file "$1" -b --mime-type` -; } #shellmagic


#shellmagic loop: $ while true; do cat "$file"; done | play -t `file "$file" -b --mime-type` -


#shellmagic shuffle: $ while true; do play "$(ls | head -n $(($RANDOM % `ls | wc -l`)) | tail -n1)"; done


Cancer Zodiac Notebook – Cute Celestial Crab zazzle.com.au/cancer_zodiac_… via @zazzle 🌊🦀 Cozy in its cosmic shell, this little Cancer shines with gentle strength and starlit dreams. Sensitive soul, stellar vibes. #cancerseason, #cosmiccrab, #shellmagic, #jkcollective, #jkshirts


find . -name *.zip -exec 7z x {} \; extract all zip files inside a folder (recursively) #shellmagic


RT miguel_f: How to test a TCP (or UDP) remote port without telnet or netcat (in a one-liner): (google’s IP and TCP to 443) timeout 1 bash -c '</dev/tcp/216.58.207.46/443 && echo Port is open || echo Port is closed' || echo Connection timeout #shellmagic


just discovered "diff -rq <dir1> <dir2>" . Perfect. #ShellMagic


#shell command to extract lots of audios from videos with: for file in ../*; do if [ -f "$file" ]; then ffmpeg -i "$file" -vn "`basename "$file"`.mp3"; fi; done; #ShellMagic


for ip in `cat apache.log | awk '{ print $1 }' | sort | uniq | grep -E '[0-9]+\..+'`; do echo -n "$ip: "; geoiplookup $ip; done #ShellMagic


I understand that "Shell glue" is inevitable in software engineering. But make sure your codebase is not 80% glue and 20% code. #WriteCodeNotGlue #BashIsNotACode #ShellMagic


Mastering The Linux Shell marcelgagne.com/content/master… via @wftl Become a Linux command line Ninja. #linux #shellmagic


Cancer Zodiac Notebook – Cute Celestial Crab zazzle.com.au/cancer_zodiac_… via @zazzle 🌊🦀 Cozy in its cosmic shell, this little Cancer shines with gentle strength and starlit dreams. Sensitive soul, stellar vibes. #cancerseason, #cosmiccrab, #shellmagic, #jkcollective, #jkshirts


5/5: Explore the stars with "starship" - a customizable shell prompt! 🌟Installation: For macOS: brew install starship For Linux: snap install starship #CustomPrompt #ShellMagic


I understand that "Shell glue" is inevitable in software engineering. But make sure your codebase is not 80% glue and 20% code. #WriteCodeNotGlue #BashIsNotACode #ShellMagic


#shell command to extract lots of audios from videos with: for file in ../*; do if [ -f "$file" ]; then ffmpeg -i "$file" -vn "`basename "$file"`.mp3"; fi; done; #ShellMagic


find . -name *.zip -exec 7z x {} \; extract all zip files inside a folder (recursively) #shellmagic


@climagic #shellmagic Something I just recently learned: curl telnet://127.0.0.1:22 Even when telnet and netcat are not available, curl usually is.


RT miguel_f: How to test a TCP (or UDP) remote port without telnet or netcat (in a one-liner): (google’s IP and TCP to 443) timeout 1 bash -c '</dev/tcp/216.58.207.46/443 && echo Port is open || echo Port is closed' || echo Connection timeout #shellmagic


How to test a TCP (or UDP) remote port without telnet or netcat (in a one-liner): (google’s IP and TCP to 443) timeout 1 bash -c '</dev/tcp/216.58.207.46/443 && echo Port is open || echo Port is closed' || echo Connection timeout #shellmagic


Loading...

Something went wrong.


Something went wrong.


United States Trends