
Terminal - Commands by opexxx - 29 results
sed ?s/[sub_str]/[sub_str]\n/g? [text_file] | wc -l
This is sample output - yours may be different.
This is sample output - yours may be different.
Clear the screen and list file
find . -type f -exec ls -s {} \; | sort -n -r | head -5
This is sample output - yours may be different.
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
This is sample output - yours may be different.
Add an "alert" alias for long running commands
lsof -i -P +c 0 +M | grep -i "$1"
This is sample output - yours may be different.
netstat -an | grep --color -i -E 'listen|listening'
This is sample output - yours may be different.
md5sum filename | ncat hash.cymru.com 43
This is sample output - yours may be different.
This is sample output - yours may be different.
This is sample output - yours may be different.
This is sample output - yours may be different.
grep -E '([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})' -o tmp
This is sample output - yours may be different.
wget --output-document=/dev/null http://speedtest.wdc01.softlayer.com/downloads/test500.zip
This is sample output - yours may be different.
This is sample output - yours may be different.
tr -dc 'A-Za-z0-9!@#$%^&*' < /dev/urandom | fold -w 12 | head -n 1
This is sample output - yours may be different.
sudo apt-get update && sudo apt-get upgrade && sudo apt-get clean
This is sample output - yours may be different.
(printf "PERMISSIONS LINKS OWNER GROUP SIZE MONTH DAY HH:MM PROG-NAME\n" \ ; ls -l | sed 1d) | column -t
This is sample output - yours may be different.
PERMISSIONS LINKS OWNER GROUP SIZE MONTH DAY HH:MM PROG-NAME
-rw-r--r-- 1 root root 61167 12. Nov 2008 120253snmp.log
-rw-r--r-- 1 root root 246313 6. M?r 2008 120_43.log
-rw-r--r-- 1 root root 22947 14. Mai 09:42 120discovery.log
Using column to format a directory listing
tr '[:lower:]' '[:upper:]' <"$1"
This is sample output - yours may be different.
Transforms a file to all uppercase.
head -c4 /dev/urandom | od -N4 -tu4 | sed -ne '1s/.* //p'
This is sample output - yours may be different.
mysql -u root -pPasswort -e 'select table_schema,round(sum(data_length+index_length)/1024/1024,4) from information_schema.tables group by table_schema;'
This is sample output - yours may be different.
cat file.txt | while read line; do printf "%7.2f -> %7.2f\n" $line; done
This is sample output - yours may be different.
ffmpeg -i input.flv -vhook '/usr/lib/vhook/imlib2.so -c white -x 250 -y H+(-1.8*N+80) -t Hallo! -A max(0,255-exp(N/16))' -sameq -acodec copy output.flv
This is sample output - yours may be different.
perl -e "print scalar(gmtime(1247848584))"
This is sample output - yours may be different.
cdrdao read-cd --device ATA:1,1,0 --driver generic-mmc-raw --read-raw image.toc
This is sample output - yours may be different.
/sbin/badblocks -v /dev/fd0 1440
This is sample output - yours may be different.
tcpdump -n -v tcp or udp or icmp and not port 22
This is sample output - yours may be different.