📃Everything Linux

📜 In this 🐧 Linux notes repository, I store all of my notes related to the Linux operating system and Unix based apps.
��Some commands can be outdated.
❗Most of the commands are for Debian-based distributions.
🌐 Resources 🔗
Terminal commands
Linux Kernel version
Linux Distribution
Linux OS Install date
Bash history
Cpu - Ram usage
Check Swap usage
Swap Enable
To enable swap with
btrfsdisk run
Disk - Expand Partition
Disk - Expand LVM Partition
Hardware Check
Battery Check
ACPI Powerstate
Terminal clean
System off
General update
Info:
apt clean → cleans the packages and install script in /var/cache/apt/archives/ (removes all stored archives in your cache)
apt autoclean → cleans obsolete deb-packages, less than clean (removes all stored archives in your cache for packages that can not be downloaded anymore (thus packages that are no longer in the repo or that have a newer version in the repo))
apt autoremove → removes orphaned packages which are not longer needed from the system, but not purges them, use the --purge option together with the command for that.
apt --purge autoremove → remove config files and (more important as it cleans dead subdirectories from the documentation tree) entries from /usr/share/doc.
Create Aliases
Ubuntu:
Kali Linux:
Set local timezone
Set NTP
Set Keyboard layout
Disable Password prompt for sudo group
Install packages (deb, etc)
First settings after O.S. install
Set grub boot menu timeout
Boot Partition Clean Up (Ubuntu/Debian)
Change Console setup
Disable Ubuntu automatic updates
Public IP
Speedtest-cli
Or install
speedtest-cli
Speedtest by Ookla
Change password at boot - Single User Mode
Check Hardware Temperatures
CPU Stress-Terminal UI - s-tui
Renew DHCP
Benchmark
Software
Basic Tools
Install Zsh & Oh-My-Zsh
Install Eza
Install Sublime
Install VSCode
Install VS Codium
Install Obsidian
Install Brave Browser
Install GitHub Desktop
Install Telegram
Discord
Install Anydesk
Install ForticlientVPN
Install DnsLeakTest
Install Tor
Install Anonsurf
Install Metasploit Framework
Or use APT package manager on Debian-based distros
Enable
postgresqlat boot, start the service and initialize MSF database
Run
msfconsoleto start the Metasploit Framework Console
Install Nessus
Install Docker
Ubuntu
Debian
Install ctop
Install Gophish
Setup a Gophish Demo with a fake campaign
Install Katana
Install Asbru CM (Linux Desktop)
Link Asbru
Ásbrú Connection Manager is a user interface that helps organizing remote terminal sessions and automating repetitive tasks.
Install BurpSuite
Link BurpSuite Community Download
Use this for updating too
Install MobSF
Install Rustscan
Install CVEMAP
Install Rust
Install Arch Linux
Usage and Configuration
SSH Login
Configure Git for Github
Proxychains
OpenVpn
Global Socket
Global Socket allows two workstations on different private networks to communicate with each other. Through firewalls and through NAT - like there is no firewall.
nmap
x2goserver on Kali Linux
RDP with Xfce (Kali Linux)
🔗 Setting up RDP with Xfce - Kali Linux
The
xfce4.shdoes the following
Fix for
Authentication Required to Create Managed Color Device, run
Port to connect to is
3390
Xfce Power manager and Screensaver
Arm on x86 QEMU-USER
Kali repos on Debian/Ubuntu apt
Virtual Machines
Install VirtualBox on Kali
VirtManager backup qcow2 VM
Metaspoitable VM
📌 Check Metasploitable3 VM here
Root Servers Shells
Troubleshooting
Exit a locked SSH session
Press
Enterfollowed by~.to terminate the locked SSH session
Disable a specific bluetooth adapter
Audio/Microphone Bluetooth Fix with HFP/HSP (Headset Head Unit)
Debug and optimize long boot
Disable NetworkManager-wait-online.service - script
Debug bash script
Logs
Last updated