LINUXOPOLIS # 1,080
LINUXOPOLIS
Building a Linux Habitatwilli glenz @ telegram
Published with SteemPeak
home ~ previous
UPDATES
# 1,079 | conky | system monitor | new 2020-03-17 |
# 1,078 | ufw-ssh | ssh | update 2020-03-16 |
# 1,077 | system-update | wrapper for apt and snap | update 2020-03-15 |
ufw-apache ufw snap vim-configuration tmux-configuration tmux-configuration tmux- installation atom raspberry pi tmux-windows ranger pycharm language jupyterlab systemd fail2ban weather fzf find neofetch taskwarrior-session taskwarrior-installation tmux-panes inxi tmux-sessions tmux ssh raspi-documentation fish-documentation fish-functions fish-configuration time fish-installation rsync raspi-installation dhcp system-rescue-cd cpu awk tutorials user-management history disk-management dns oneliner apt debian ramdisk ntp monitoring host-configuration vim-cheatsheet networking tasks check shortcuts ide arp system-editor sources packages apache baseline host i3 wm python swap glances veracrypt flatpak logging docker tiddlywiki tails firefox firmware vim prompt aliases howto container git bash snippets screen hardening html java arch |
TOOLBOX
conky | system monitor | 2020 | |
ufw | apache ssh | 2020 | |
system-update | wrapper for apt and snap | 2020 | |
vim | configuration cheat-sheet | 2020 | |
tmux | installation configuration sessions windows panes | 2020 | |
packages | snap apt flatpak dpkg-reconfigure tasksel | 2020 | |
ranger | file manager | 2020 | |
jupyterlab | evolution of jupyter | 2020 | |
fish | installation configuration documentation functions | 2020 | |
neofetch | system information script | 2020 | |
STATUS | sntop tuptime snort watch uptime bmon dmesg ntopng vnstat zabbix | ||
baseline | wrapper for sysstat, hardinfo, sysbench, ... | ||
check | wrapper for neofetch, inxi, nmap, vnstat, lshw, ip, ... | ||
glances | curses-based monitoring tool | ||
inxi | system information script | ||
HOST | chkrootkit lsof journalctl atop ctrl-z jobs bg fg htop kill killall pgrep pkill ps pstree renice top unattended-updates hostname ip cal ncal lsusb etcher hwinfo lshw dd df du mount umount pwd smartctl sync tune2fs | ||
host | information gathering tools | ||
cpu | tool collection | ||
ram | demidecode free vmstat | ||
disk | gnome-disks fdisk cfdisk baobab badblocks blkid lsblk mkfs.vfat parted | ||
debian | system-rescue-cd arch tails | ||
systemrescuecd | rescue distribution | ||
arch | rolling release distribution | ||
tails | security distribution | ||
systemd | system and service manager | ||
swap | configuration | ||
language | installation & configuration | ||
i3wm | window manager | ||
system-editor | installation & configuration | ||
rsync | file copying tool | ||
veracrypt | encryption tool | ||
SERVER | nessus ipfire ipcop nmap snort chkrootkit iptables rkhunter mda's webalizer hardware web-server mail-server dns-server ftp-server | ||
raspberry pi | installation documentation | ||
apache | web server | ||
fail2ban | log file monitor | ||
ssh | remote login tool | ||
NETWORK | fping mtr netstat nmap ping speedtest aircrack-ng wireshark | ||
networking | networking tool collection | ||
arp | address resolution protocol | ||
dhcp | dynamic host configuration protocol | ||
dns | domain name system | ||
ntp | network time protocol | ||
USER | diceware groups id last login pwgen sudo vigr vipw visudo whoami date ulauncher vit wall | ||
administration | user management tools | ||
weather | weather report | ||
taskwarrior | installation & configuration | ||
firefox | web browser | ||
tasks | text file | ||
scrot | screen capture tool | ||
CLI | |||
screen | terminal window manager | ||
bash | oneliner aliases prompt shortcuts | ||
FILES | 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 | ||
fzf | fuzzy finder | ||
find | search command | ||
time | time stamps | ||
loop_device | linux loop block device | ||
git | distributed version-control system | ||
PROGRAMMING | code scite geany focuswriter emacs mcedit nano ne gedit mousepad pandoc | ||
atom | text editor | ||
python | pycharm ide | ||
awk | pattern scanning and text processing language | ||
tiddlywiki | single page application wiki | ||
java | general-purpose programming language | ||
html | hypertext markup language | ||
IN WORK | |||
collections | tutorials sources howto snippets update docker hardening |
HISTORY
/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
date bash $ echo "It is now $(date +%T) on $(date +%A)"
date fish $ echo It is now (date +%T) on (date +%A)
dpkg $ dpkg --list
dpkg $ dpkg --list| fzf
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
timedatectl $ timedatectl
tuptime $ tuptime -t // table
tuptime $ watch tuptime
usermod # usermod -aG group1,group2,group3 username
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
SOURCES
arch-linux ................. archlinux.org
debian ..................... debian.org
mx-linux ................... mxlinux.org
picture .................... screenshoot by me ~ my gnome-desktop
picture .................... screenshoot by me ~ conky