![]() |
linux geeks, post your favourite console commands
here are 7 of mine
print sorted list of installed packages Code:
perl -m'AptPkg::Cache' -le '$c=AptPkg::Cache->new; for (keys %$c){ push @a, $_ if $c->{$_}->{'CurrentState'} eq 'Installed';} print for sort @a;'Code:
wget -q -U Mozilla -O output.mp3 "http://translate.google.com/translate_tts?tl=en&q=hello+world"Code:
curl --silent search.twitter.com | sed -n '/div id=\"hot\"/,/div/p' | awk -F\> '{print $2}' | awk -F\< '{print $1}' | sed '/^$/d'Code:
curl -s http://twitter.com/users/show.xml?screen_name=username | sed -n 's/\<followers_count\>//p' | sed 's/<[^>]*>//g;/</N;//b'Code:
diff <(nmap -sP 192.168.1.0/24 | grep ^Host | sed 's/.appears to be up.//g' | sed 's/Host //g') auth.hosts | sed 's/[0-9][a-z,A-Z][0-9]$//' | sed 's/</UNAUTHORIZED IP -/g'Code:
curl -s www.google.com/ig/api?weather=$(curl -s api.hostip.info/get_html.php?ip=$(curl -s icanhazip.com) | sed -e'1d;3d' -e's/C.*: \(.*\)/\1/' -e's/ /%20/g' -e"s/'/%27/g") | sed 's|.*<t.*f data="\([^"]*\)"/>.*|\1\n|'Code:
curl -u username:password --silent "https://mail.google.com/mail/feed/atom" | tr -d '\n' | awk -F '<entry>' '{for (i=2; i<=NF; i++) {print $i}}' | sed -n "s/<title>\(.*\)<\/title.*name>\(.*\)<\/name>.*/\2 - \1/p" |
cal is pretty l33t
|
pussy lips
|
rm -rf /
:D |
ls
cd whereis |
I mostly compose long shell lines using sed, awk, sort and uniq.
|
linux /best +bj
|
Damn you are more lt33t then me :)
|
n3rdz rule
|
the most i like is whoami lol, it makes me feel i m king.,okie., other than that.
top grep curl my special command i used to use for my old project grep "Arial, Helvetica, sans-serif" a.html | cut -d">" -f3 | cut -d" " -f1 | grep -v font | cut -d"," -f1 | grep -v "<" | grep -v style | grep -v text | sort -u >> a.txt dont laugh, i m still noob. |
| All times are GMT -7. The time now is 12:46 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123