Category: Command Line

Important Logs

First show system events. Second command show events inherent to the process of booting kernel. tail /var/log/messages tail /var/log/dmesg

Find WiFi Hotspots

Use this command to find the wifi hotspots around your system. You need wifi hardware with proper drivers for this…

The who Command

Show who is logged on, and print: time of last system boot, dead processes, system login processes, active processes spawned…

Download Deb Files Using apt-get

If you want to download the deb files without installing them, use the following command. The downloaded file will be…

Backup HDD To Remote Host

Make a backup of a local hard disk on remote host via ssh dd bs=1M if=/dev/hda | gzip | ssh…

chsh Command

Command to know if you have to remote into another box chsh –list-shells

Show Free Ram

Displays status of RAM in megabytes free -m

Show Hostname

Show hostname of system hostname

Activate IP Forwarding

Activate IP Forwarding echo “1” > /proc/sys/net/ipv4/ip_forward

env – Shell/Envionment Variables

Show all the variables in the shell. env