MyLinuxCheatSheet v19-02-14 - UpdatesteemCreated with Sketch.

in #linux6 years ago (edited)

A short summary of my personal favorite Linux tools.

Screenshot rate.sx
Image source: Willi Glenz - Screenshot rate.sx/steem@90d


$ ^z jobs fg bg
$ curl rate.sx/steem@90d
$ task calendar 2019
$ man hier; man ascii


Updatetiddlywiki shortcuts vim eclipse crontab tripwire taskwarrior sources permaculture screen java r monitoring cups alias network check ssh scp debian lfs virtualbox python perl awk html
This Week • tiddlywiki shortcuts vim eclipse crontab tripwire taskwarrior
Last Week • taskwarrior sources permaculture cron vim eclipse screen find
file utilitiesbasic operations • cp dd install mv rm shred
output • cat tac nl od base32 bas64 head tail split csplit
formatting • fmt pr fold
summarizing • wc sum cksum b2sum md5sum sh1sum sha224sum sha225sum
sort • sort shuf uniq comm ptx tsort
fields • cut paste join
characters • tr expand unexpand
directories • ls dir vdir dircolors
special file types • link ln mkdir mkfifo mknod readlink rmdir unlink
attributes • chown chgrp chmod touch
disk usage • df du stat sync truncate
fhs coreutils
Terminaltilda guake tmux terminator gnome-terminal gedit gvim mcedit nano • history
shortcuts screen alias one-liner bash fish
vimmacro qa :reg a @a
mark m1 '1 `1
vim
eclipse^shift + /
^space
eclipse java
crontab# crontab -e
# service cron status
crontab
tripwire# tripwire --init
# tripwire --check --verbose
tripwire
task$ task burndown.daily; task burndown.weekly; task burndown.monthly
$ task add project:Running Kissinger Runde
taskwarrior
rsync$ rsync -avzP --delete --stats --exclude ’Backup*‘ /home/user/ /media/xyz
$ rsync -avzP --delete --stats --exclude-from '/home/user/exclude.txt' /home/user/ /media/xyz
Documentationsources man info pinfo apropos whatis help history
Programmingr python perl awk html javac txt2regex netbeans intellij-idea spyder3 drjava bluefish
Monitoringconky kismet bleachbit nagios zabbix cacti ganglia opennms chkrootkit
Configurationlanguage swapon gnome-tweak-tool bashrc
NetworkingH • hostname netstat ifconfig ip iwconfig
Nssh scp mtr ping traceroute nslookup
GUI-Appslibreoffice localc lowriter lobase lodraw loimpress lomath loweb gnome-todo
Printingcups • lpstat lpq lp lpr cancel • lpadmin lpmove lpc tunelp accept reject enable disable
Hardwareraspi raspi-config rpi-update • gnome-disks badblocks blkid fdisk • lsblk lshw lspci lsusb • hwinfo e4defrag
administration
OSdebian lfs arch • virtualbox tasksel
administration
Backupbackintime timeshift • grsync rsync
UserU • adduser useradd • deluser userdel • addgroup groupadd • usermod chage chfn finger whatis which w whoami passwd id
G • delgroup groupdel groups newgrp
administration
Multimediavlc youtube-dl simplescreenrecorder
Processesadministration kill killall • htop atop top • jobs bg fg
Serveradministration dhcp pi-hole raspiblitz
Aapt-get alacarte apt apt-cache apt-config apt-key apt-cdrom archivemount asunder
Bbasket bc
Ccurl cal cherrytree clear clipit cut
Ddf dmesg dpkg
Eeog exit
Ffinger for free fuser
Ggit glances gnome-clocks gnome-disks gparted groupmod grsync grub-mkconfig
Hhostname hostnamectl
Llxc lastlog locate lsb_release lvm
Mman menulibre mc more mount
Nnl nano ncal netatop netstat nmap
Oopen
Pperldoc pinfo popd pushd pwgen
RR
Sscript scp sed service set sftp shellcheck steghide stat sudo su sync visudo
Ttiddlywiki thunderbird tune2fs
Uufw uniq update-alternatives updatedb uptime users
Vveracrypt vimtutor visudo
Wwatch w3m
Xxdotool xsel
# crontab -e
# chown userXYZ file.txt
$ dd if=/dev/cdrom of=/tmp/isofile.iso
$ df -hT
$ dpkg -L vim-doc
# du -hs / 2> /dev/null
$ du -h --max-depth=1 | sort -rh
$ du -b --max-depth 1 | sort -nr | perl -pe 's{([0-9]+)}{sprintf "%.1f%s", $1>=2**30? ($1/2**30, "G"): $1>=2**20? ($1/2**20, "M"): $1>=2**10? ($1/2**10, "K"): ($1, "")}e'
$ for x in *; do mv "$x" "${x,,}"; done
$ hostname; hostname -d; hostname -f; hostname -i
$ java -jar filename.jar
$ sort -t: -k1 -n /etc/passwd
$ stat /home/user
# task 1 edit
$ tree ~/Downloads
$ type date
$ type echo
$ ls -l | xsel --clipboard

BACKUP
$ archivemount archive.tar.gz ~/mnt/
# dd if=/dev/sdABC of=/dev/sdXYZ bs=64K conv=noerror,sync
$ tar -cvzf ~/backup/backup.tar.gz ~/java
$ tar -tvf backup.tar.gz
$ ssh [email protected] "tar -zcf - /home/user/scripte" > scripte.tar.gz

FIND
$ find -size +100M | less
# find /home -user userxyz -size +1G
$ find . -name "*.jpg" -exec convert {} -scale 50% +repage {} \;
$ find ~ -maxdepth 1 -type f -exec grep "^alias " '{}' \; -print
$ find ~ -maxdepth 1 -type f -mtime 3
$ find ~ -maxdepth 1 -type f -exec grep "^alias " '{}' \; -print
# find / -uid 1000 -exec chown -v 1002:1002 {} \;
# find / -user userxyz -type f -exec rm -f {} \;
$ find /etc -type f -print 2> /dev/null | less
$ find /etc/*tab -type f -print
# find /home -user userxyz -mtime -3

MAIL
# apt-get install mailutils-doc; info mailutils
$ mail
$ from

MONITORING
$ watch -d -n 5 ls -l

MD5SUM
$ md5sum abc.txt
$ md5sum abc.txt > abc.md5
$ md5sum -c abc.md5

SERVICES
# service --status-all | less
# service cron status

SUDO
# visudo 
> Defaults:userxyz timestamp_timeout=30
Sort:  

Congratulations @wglenz! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You made more than 2000 upvotes. Your next target is to reach 3000 upvotes.

Click here to view your Board
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do not miss the last post from @steemitboard:

Valentine challenge - Love is in the air!

You can upvote this notification to help all Steemit users. Learn why here!

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 63348.66
ETH 2668.99
USDT 1.00
SBD 2.78