LINUXOPOLIS # 25-FEBRUARY-2020 ~ SUMMARY
linux·@wglenz·
0.000 HBDLINUXOPOLIS # 25-FEBRUARY-2020 ~ SUMMARY
<center><h3>LINUXOPOLIS</h3><b>Building a Linux Habitat<br>willi glenz @ <a href="t.me/wglenz">telegram</a><br><a href="https://steempeak.com/@wglenz">Published with SteemPeak</a><br>[home](https://steempeak.com/@wglenz) ~ [previous](https://steempeak.com/linux/@wglenz/7bdf3m-linuxopolis-16-february-2020-summary)</b></center> <center></center> <center><h4>UPDATES</h4></center> ||||| |:---|:---|:---|---:| |**# 1,027**|<b>[systemd ](https://steempeak.com/linux/@wglenz/linuxopolis-28-february-2020-systemd)</b>|system and service manager|**new 2020-02-28**| |**# 1,026**|<b>[fail2ban](https://steempeak.com/linux/@wglenz/linuxopolis-27-february-2020-fail2ban)</b>|log file monitor|**update 2020-02-27**| |**# 1,025**|<b>[weather ](https://steempeak.com/linux/@wglenz/linuxopolis-26-february-2020-weather-forecast)</b>|weather report|**update 2020-02-26**| |**# 1,024**|<b>[fzf ](https://steempeak.com/linux/@wglenz/linuxopolis-25-february-2020-fzf)</b>|fuzzy finder|**update 2020-02-25**| <center><h4>SUMMARY</h4></center> |||| |:---|:---|:---| ||**STATUS**|| |<b>[check ](https://steempeak.com/linux/@wglenz/k3ijm-linuxopolis-2019-08-17-check-sh)</b>|wrapper for neofetch, inxi, nmap, vnstat, lshw, and ip|**2019-08**| |<b>[glances ](https://steempeak.com/linux/@wglenz/linuxopolis-2019-12-03-glances)</b>|curses-based monitoring tool|**2019-12**| |<b>[inxi ](https://steempeak.com/linux/@wglenz/linuxopolis-17-february-2020-inxi)</b>|system information script|**2020-02**| |<b>[neofetch](https://steempeak.com/linux/@wglenz/7ev3ua-linuxopolis-neofetch)</b>|system information script|**2020-02**| ||sntop tuptime snort watch uptime bmon dmesg ntopng vnstat zabbix|| ||**HOST**|| |<b>[systemd](https://steempeak.com/linux/@wglenz/linuxopolis-28-february-2020-systemd)</b>|system and service manager|**2020-02**| |<b>[rsync](https://steempeak.com/linux/@wglenz/linuxopolis-02-february-2020-rsync)</b>|file copying tool|**2020-02**| |<b>[config](https://steempeak.com/linux/@wglenz/linuxopolis-06-january-2020-host-configuration)</b>|host configuration tools|**2020-01**| |<b>[veracrypt](https://steempeak.com/linux/@wglenz/linuxopolis-2019-12-02-veracrypt)</b>|encryption tool|**2020-01**| |<b>[host](https://steempeak.com/linux/@wglenz/linuxopolis-2019-12-10-host)</b>|information gathering tools|**2019-12**| ||chkrootkit unattended-updates hostname ip cal ncal|| ||**SERVER**|| |<b>[apache](https://steempeak.com/linux/@wglenz/linuxopolis-2019-12-16-apache)</b>|web server|**2019-12**| |<b>[fail2ban](https://steempeak.com/linux/@wglenz/linuxopolis-27-february-2020-fail2ban)</b>|log file monitor|**2020-02**| |<b>[ssh](https://steempeak.com/linux/@wglenz/linuxopolis-11-february-2020-ssh-update)</b>|remote login tool|**2020-02**| |<b>[ufw](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-20-ufw)</b>|netfilter firewall manager|**2019-11**| ||nessus ipfire ipcop nmap snort chkrootkit iptables rkhunter|| ||**NETWORK**|| |<b>[networking](https://steempeak.com/linux/@wglenz/linuxopolis-2-january-2020-networking)</b>|networking tool collection|**2020-01**| |<b>[arp](https://steempeak.com/linux/@wglenz/linuxopolis-2019-12-24-arp)</b>|address resolution protocol|**2019-12**| |<b>[dhcp](https://steempeak.com/linux/@wglenz/linuxopolis-29-januar-2020-dhcp)</b>|dynamic host configuration protocol|**2020-01**| |<b>[dns](https://steempeak.com/linux/@wglenz/linuxopolis-16-january-2020-dns)</b>|domain name system|**2020-01**| |<b>[ntp](https://steempeak.com/linux/@wglenz/linuxopolis-08-january-2020-ntp)</b>|network time protocol|**2020-01**| ||fping mtr netstat nmap ping speedtest aircrack-ng wireshark|| ||**USER**|| |<b>[administration](https://steempeak.com/linux/@wglenz/linuxopolis-20-january-2020-user-management)</b>|user management tools|**2020-01**| |<b>[weather](https://steempeak.com/linux/@wglenz/linuxopolis-26-february-2020-weather-forecast)</b>|weather report|**2020-02**| |<b>[task](https://steempeak.com/linux/@wglenz/linuxopolis-20-february-2020-taskwarrior-session)</b>|todo manager (taskwarrior) & time manager (timewarrior)<br><b>[installation & configuration](https://steempeak.com/@wglenz/linuxopolis-19-february-2020-taskwarrior-installation) </b>|**2020-02**| ||diceware groups id last login pwgen sudo vigr vipw visudo whoami date ulauncher vit wall|| ||**HARDWARE**|| |**raspberry pi**|small single-board computer<br><b>[installation](https://steempeak.com/linux/@wglenz/linuxopolis-31-january-2020-raspi-installation-v2) [documentation](https://steempeak.com/linux/@wglenz/linuxopolis-09-february-2020-raspi-documentation)</b>|**2020-02**| |<b>[cpu](https://steempeak.com/linux/@wglenz/linuxopolis-25-january-2019-cpu)</b>|tool collection|**2020-01**| |<b>[disk](https://steempeak.com/linux/@wglenz/linuxopolis-17-january-2020-disk-management)</b>|tool collection|**2020-01**| ||gnome-disks fdisk cfdisk hwinfo lshw dd df du mount umount badblocks baobab blkid lsblk mkfs.vfat parted pwd smartctl sync tune2fs|| ||**CLI**|| |<b>[tmux](https://steempeak.com/linux/@wglenz/linuxopolis-12-february-2020-tmux)</b>|terminal multiplexer<br><b>[sessions](https://steempeak.com/linux/@wglenz/linuxopolis-14-february-2020-tmux-sessions) [windows](https://steempeak.com/linux/@wglenz/linuxopolis-15-february-2020-tmux-windows) [panes](https://steempeak.com/linux/@wglenz/linuxopolis-18-february-2020-tmux-panes)</b>|**2020-02**| |<b>fish</b>|command-line shell<br><b>[installation](https://steempeak.com/linux/@wglenz/linuxopolis-03-february-2020-fish-installation) [configuration](https://steempeak.com/linux/@wglenz/linuxopolis-05-february-2020-fish-configuration) [documentation](https://steempeak.com/linux/@wglenz/linuxopolis-08-february-2020-fish-documentation) [functions](https://steempeak.com/linux/@wglenz/linuxopolis-06-february-2020-fish-functions)</b>|**2020-02**| |<b>[bash](https://steempeak.com/linux/@wglenz/linuxopolis-2019-10-27-bash)</b>|command-line shell<br><b>[oneliner](https://steempeak.com/linux/@wglenz/linuxopolis-15-january-2020-one-liner) [aliases](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-15-aliases) [prompt](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-16-prompt) [shortcuts](https://steempeak.com/linux/@wglenz/linuxopolis-2019-12-26-shortcuts)</b>|**2019-10**| ||**FILES**|| |<b>[fzf](https://steempeak.com/linux/@wglenz/linuxopolis-25-february-2020-fzf)</b>|fuzzy finder|**2020-02**| |<b>[find](https://steempeak.com/linux/@wglenz/linuxopolis-24-february-2020-find)</b>|search command|**2020-02**| |<b>[ranger](https://steempeak.com/linux/@wglenz/linuxopolis-23-february-ranger)</b>|file manager|**2020-02**| |<b>[time](https://steempeak.com/linux/@wglenz/linuxopolis-4-february-2020-time)</b>|file manager|**2020-02**| |<b>[loop_device](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-14-howto)|linux loop block device|**2019-11**| ||cat chown chmod cp curl file grep head less ls ln md5sum mkdir mv ncdu rev rm rmdir sort tail tar touch tree type uniq whereis wc which|| ||**TEXT**|| |<b>[vim](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-18-vim)</b>|text editor<br><b>[cheat-sheet](https://steempeak.com/linux/@wglenz/linuxopolis-05-january-2020-vim-cheat-sheet) [system-editor](https://steempeak.com/linux/@wglenz/linuxopolis-2019-12-22-system-editor)</b>|**2020-02**| |<b>[awk](https://steempeak.com/linux/@wglenz/linuxopolis-24-january-2020-awk-v2)</b>|pattern scanning and text processing language|**2020-01**| |<b>[tiddlywiki](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-26-tiddlywiki)|single page application wiki|**2019-11**| ||code atom scite focuswriter emacs geany mcedit nano ne gedit mousepad pandoc|| |||| |:---|:---|:---| ||**UNCATEGORIZED**|| |**files**|<b>[git](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-01-git)</b><br>|**2020-02**| |**distributions**|<b>[system-rescue-cd](https://steempeak.com/linux/@wglenz/linuxopolis-26-january-2020-system-rescue-cd) [debian](https://steempeak.com/linux/@wglenz/linuxopolis-10-january-2020-debian) [arch](https://steempeak.com/linux/@wglenz/7kwf19-linuxopolis-2019-08-16-arch-linux) [tails](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-22-tails)</b> mx-linux distrowatch|**2020-01**| |**python**|<b>[python](https://steempeak.com/python/@wglenz/linuxopolis-2019-12-08-python) [pycharm](https://steempeak.com/linux/@wglenz/linuxopolis-2019-12-05-pycharm) [ide](https://steempeak.com/linux/@wglenz/linuxopolis-2019-12-25-ides) </b> anaconda-navigator spyder4|**2020-01**| |**sources**|<b>[tutorials](https://steempeak.com/linux/@wglenz/6qoxdp-linuxopolis-2019-08-18-tutorials-data-science-and-dhcp) [sources](https://steempeak.com/linux/@wglenz/linuxopolis-2019-12-21-sources) [howto](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-24-editor) [screen](https://steempeak.com/linux/@wglenz/4wusn8-linuxopolis-screen) [snap](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-25-snap) [swap](https://steempeak.com/linux/@wglenz/linuxopolis-2019-12-04-swap) [snippets](https://steempeak.com/python/@wglenz/linuxopolis-snippets-2) [update](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-21-howto-weather-and-update)</b>|**2020-01**| |**user**|<b>[firefox](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-21-firefox) [tasks](https://steempeak.com/linux/@wglenz/linuxopolis-2019-12-29-tasks) </b>|**2020-01**| |**logging**|<b>[logging](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-27-logging)</b> lnav logcheck|**2020-01**| |**packages**|<b>[apt](https://steempeak.com/linux/@wglenz/linuxopolis-14-january-2020-apt) [packages](https://steempeak.com/linux/@wglenz/linuxopolis-2019-12-20-packages) [flatpak](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-27-flatpak)</b> dpkg dpkg-reconfigure tasksel|**2020-01**| |**languages**|<b>[languages](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-12-languages) [java](https://steempeak.com/java/@wglenz/3cfe1n-linuxopolis-2019-08-19-java) [html](https://steempeak.com/linux/@wglenz/3vv6gc-linuxopolis-2019-08-21-html)</b> locales r|**2020-01**| |**debian**|<b>[system-update](https://steempeak.com/linux/@wglenz/linuxopolis-12-january-2020-system-update)</b>|**2020-01**| |**directory**|cd popd pushd tree|**2020-01**| |**memory**|<b>[ramdisk](https://steempeak.com/linux/@wglenz/linuxopolis-09-january-2019-ramdisk)</b> demidecode free vmstat|**2020-01**| |**server**|<b>[docker](https://steempeak.com/linux/@wglenz/linuxopolis-2019-11-01-docker) [hardening](https://steempeak.com/linux/@wglenz/5tjkks-linuxopolis-2019-08-23-hardening)</b> virtualbox|**2020-01**| |**wm**|<b>[i3wm](https://steempeak.com/linux/@wglenz/linuxopolis-31-december-2019-i3)</b>|**2019-12**| |**multimedia**|cmus mpg123|| |**usb**|lsusb etcher|| |**i/o**|<b>[baseline](https://steempeak.com/linux/@wglenz/linuxopolis-2019-12-12-baseline)</b>|| |**processes**|lsof journalctl atop ctrl-z jobs bg fg htop kill killall pgrep pkill ps pstree renice top|| <br> <center><h4>HISTORY</h4></center> ``` /dev/null $ cat /dev/null > file.txt /etc/passwd $ cat /etc/passwd | cut -d: -f7 | sort | uniq -c | sort -nr /etc/shells $ cat /etc/shells /proc/interrupts $ watch -d cat /proc/interrupts // interrupts /proc/ioports # cat /proc/ioports | less // ioports ``` ``` alias $ alias ea='vim ~/.bash_aliases && source ~/.bash_aliases' apropos $ apropos password | less apt # apt install supertuxkart arp-scan # arp-scan --localnet | vim - ``` ``` cat $ cat > text.txt <<HERE cups # nc -z 127.0.0.1 631 && echo ok || echo failed curl $ curl cheat.sh/:list | less curl $ curl wttr.in ``` ``` echo $ echo "It is now $(date +%T) on $(date +%A)" efibootmgr # efibootmgr ``` ``` firmware # ls /sys/firmware/efi free # watch free -h ``` ``` grub # grub-install ``` ``` history $ history search --contains 'vim' history $ history | fzf ``` ``` lsof # lsof -u user | fzf lsof # lsof -u user | vim - lspci $ clear; lspci; echo; lspci -t; echo // pci lsusb $ clear; lsusb; echo; lsusb -t; echo // usb ``` ``` mail $ watch mail memory $ ps axch -o cmd:15,%mem --sort=-%mem | sed 10q memtester # memtester 7G mkdir # mkdir -p /mnt/ram; mount -t tmpfs tmpfs /mnt/ram -o size=8192M mkdir $ mkdir -p Backups/{Sales,Development,HR}/{Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec}/{Sun,Mon,Tue,Wed,Thu,Fri,Sat} mkdir $ mkdir -p dummy/{1..100}/{1..100} mount $ mount | column -t mpg123 $ mpg123 -zvC /home/user/music/* ``` ``` nc # nc -z 127.0.0.1 631 && echo ok || echo failed // cups nc # nc -z 127.0.0.1 80 && echo ok || echo failed // apache netstat # netstat -tulpn ntpq $ watch ntpq -p ``` ``` pip $ sudo -H pip install --upgrade youtube-dl printenv $ printenv | awk '/^PATH|HOME|USER|SHELL/ {print $0}' processes $ ps axch -o cmd:15,%cpu --sort=-%cpu | sed 10q ``` ``` ranger $ ranger /etc/ ranger $ ranger /usr/share/doc/ ranger $ ranger ~/.local/share/Trash/ ``` ``` scp $ scp -r folder/ user@a.b.c.d:~ scp $ scp file.txt pi@a.b.c.d:/home/pi/ scp $ scp pi@a.b.c.d:/home/pi/file.txt . systemctl # systemctl status|restart|start|stop|enable|disable systemctl $ systemctl status apache2 ``` ``` tuptime $ tuptime -t // table tuptime $ watch tuptime ``` ``` vim $ vim $(fzf --height 40%) vim $ vim $(fzf -e --preview 'head -100 {}') vim > export EDITOR=vim vim > export VISUAL=vim ``` ``` watch $ watch -d -n 5 ls -l whatis $ whatis passwd ``` ``` find ranger neofetch taskwarrior-session taskwarrior-installation tmux-panes inxi ........ 2020 tmux-windows tmux-sessions tmux ssh raspi-documentation fish-documentation fish-functions 2020 fish-configuration time fish-installation rsync raspi-installation dhcp system-rescue-cd . 2020 cpu awk tutorials user-management history disk-management dns oneliner apt system-update . 2020 debian ramdisk ntp monitoring host-configuration vim-cheatsheet networking ............... 2020 tasks check shortcuts ide arp system-editor sources packages apache fzf baseline ......... 2019 host i3 wm python pycharm swap glances veracrypt flatpak logging docker snap tiddlywiki .. 2019 fail2ban tails firefox weather firmware ufw vim prompt aliases howto container ........... 2019 languages git bash snippets screen hardening html java arch .............................. 2019 ``` ``` SOURCES arch-linux ..................................................................... archlinux.org debian ............................................................................ debian.org mx-linux ......................................................................... mxlinux.org picture ................................................. screenshoot by me ~ my gnome-desktop ```