MyTOOLBOX v19-02-06steemCreated with Sketch.

in #linux6 years ago

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


$ hostname; hostname -d; hostname -f; hostname -i
$ find -size +100M | less
$ tree ~/Downloads



screen permaculture vim java shortcuts eclipse r monitoring taskwarrior cups alias sources network check ssh scp tripwire debian lfs virtualbox python perl awk html


UpdateThis Week • screen permaculture find tree vim
Last Week • permaculture vim java shortcuts eclipse r monitoring
Terminalscreen shortcuts alias one-liner bash fish tilda guake tmux terminator gnome-terminal bluefish gedit gvim mcedit nano • history
NetworkingH • hostname netstat ifconfig ip iwconfig
Nssh scp mtr ping traceroute nslookup
FilesystemF • find type less echo cat mv file basename cmp col colcrt colrm column com cut diff diff3 dirname expand fmt fold groff head more od pr printf sort sum tac tail tee touch tr unexpand uniq wc which xargs ext3grep comm chattr du • tar jar gzip gunzip zcat cpio
Dfhs ls cd pwd mkdir rmdir lsattr
B • tree ln cp rm chmod chown chgrp umask setacl getfacl dd
Programmingr python perl awk html javac txt2regex netbeans intellij-idea spyder3 drjava
Monitoringconky tripwire kismet bleachbit nagios zabbix cacti ganglia opennms chkrootkit
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
Hardware
administration
raspi raspi-config rpi-update • gnome-disks badblocks blkid fdisk • lsblk lshw lspci lsusb • hwinfo e4defrag
Documentation
sources
man info pinfo apropos whatis help history
OS
administration
debian lfs arch • virtualbox tasksel
Backupbackintime timeshift • grsync rsync
User
administration
U • adduser useradd • deluser userdel • addgroup groupadd • usermod chage chfn finger whatis which w whoami passwd id
G • delgroup groupdel groups newgrp
Multimediavlc youtube-dl simplescreenrecorder
Processes
administration
kill killall • htop atop top • jobs bg fg
Configurationlanguage swapon gnome-tweak-tool bashrc
Server
administration
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
Tthunderbird tune2fs
Uufw uniq update-alternatives updatedb uptime users
Vveracrypt vimtutor visudo
Wwatch w3m
Xxdotool xsel
# 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
$ ls -l | xsel --clipboard
$ man hier
$ sort -t: -k1 -n /etc/passwd
$ stat /home/user
$ tree ~/Downloads
$ type date
$ type echo
# visudo 
> Defaults:userxyz timestamp_timeout=30
$ watch -d -n 5 ls -l
# vim /etc/sudoers

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

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

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

Coin Marketplace

STEEM 0.19
TRX 0.18
JST 0.034
BTC 89093.88
ETH 3168.62
USDT 1.00
SBD 2.75