Some Handi Shortcuts

First thing to do before any repair,
Restart or turn off and reboot the computer
Some of these shortcuts require opening CMD, Power Shell, or Terminal as Administrator

Search


More Linux Commands

Refresh out of freeze, use Ctl Alt F1 or use Ctl Alt F7 $ sudo adduser ´newuser´
$ sudo deluser r´newuser´
$ sudo deluser --remove-home ´newuser´
$ sudo apt-get update

SCREEN READER OFF press alt+super+s
gsettings set com.canonical.Unity.Launcher launcher-position Bottom
gsettings set com.canonical.Unity.Launcher launcher-position Left
|?|?
ping, traceroute, lookup, whois, finger, netstat, ipconfig, and port scanners
sudo autopsy
sudo nano

sudo apt-get auto-remove
sudo apt-get clean
sudo apt autoclean
sudo apt-get remove application name
sudo apt-get --purge remove
Ubuntu Reference

Privileges
sudo command – run command as root
sudo -s – open a root shell
sudo -s -u user – open a shell as user
sudo -k – forget sudo passwords
gksudo command – visual sudo dialog (GNOME)
kdesudo command – visual sudo dialog (KDE)
sudo visudo – edit /etc/sudoers
gksudo nautilus – root file manager (GNOME)
kdesudo konqueror – root file manager (KDE)
passwd – change your password

Network
ifconfig – show network information
iwconfig – show wireless information
sudo iwlist scan – scan for wireless networks
sudo /etc/init.d/networking restart – reset
network for manual configurations
(file) /etc/network/interfaces – manual
configuration
ifup interface – bring interface online
ifdown interface – disable interface
Special Packages

Display
sudo /etc/init.d/gdm restart – restart X and
return to login (GNOME)
sudo /etc/init.d/kdm restart – restart X and
return to login (KDE)
(file) /etc/X11/xorg.conf – display
configuration
sudo dexconf – reset xorg.conf configuration
Ctrl+Alt+Bksp – restart X display if frozen
Ctrl+Alt+FN – switch to tty N
Ctrl+Alt+F7 – switch back to X display
Ctrl_Alt+F1

System Services1
start service – start job service (Upstart)
stop service – stop job service (Upstart)
status service – check if service is running
(Upstart)
/etc/init.d/service start – start service
(SysV)
/etc/init.d/service stop – stop service (SysV)
/etc/init.d/service status – check service
(SysV)
/etc/init.d/service restart – restart service
(SysV)
runlevel – get current runlevel

Package Management1
apt-get update – refresh available updates
apt-get upgrade – upgrade all packages
apt-get dist-upgrade – upgrade with package
replacements; upgrade Ubuntu version
apt-get install pkg – install pkg
apt-get purge pkg – uninstall pkg
apt-get autoremove – remove obsolete packages
apt-get -f install – try to fix broken packages
dpkg --configure -a – try to fix broken
packages
dpkg -i pkg.deb – install file pkg.deb
(file) /etc/apt/sources.list – APT repository
list

Special Packages
ubuntu-desktop – standard Ubuntu environment
kubuntu-desktop – KDE desktop
xubuntu-desktop – XFCE desktop
ubuntu-minimal – core Ubuntu utilities
ubuntu-standard – standard Ubuntu utilities
ubuntu-restricted-extras – non-free, but useful
kubuntu-restricted-extras – KDE of the above
xubuntu-restricted-extras – XFCE of the above
build-essential – packages used to compile
programs
linux-image-generic – latest generic kernel
image
linux-headers-generic – latest build headers

Firewall1
ufw enable – turn on the firewall
ufw disable – turn off the firewall
ufw default allow – allow all connections by
default
ufw default deny – drop all connections by
default
ufw status – current status and rules
ufw allow port – allow traffic on port
ufw deny port – block port
ufw deny from ip – block ip adress

Application Names
nautilus – file manager (GNOME)
dolphin – file manager (KDE)
konqueror – web browser (KDE)
kate – text editor (KDE)
gedit – text editor (GNOME)

System
Recovery - Type the phrase “REISUB” while
holding down Alt and SysRq (PrintScrn) with
about 1 second between each letter. Your system
will reboot.
lsb_release -a – get Ubuntu version
uname -r – get kernel version
uname -a – get all kernel information
1. Prefix commands with sudo to run.
---------------
repair cannot open locked file
ps -ef | grep apt
kill -9 [pid]
sudo rm -rf /var/lib/dpkg/lock
(then try command again)
-----------------
tasksel to add servers and software
-----------
$ nmtui

iwconfig
enp3s0 no wireless
lo no wireless
wlp2s0 essid attuttunja
iw dev
interface wlp2s0 ifindex 3 sside att

sudo twlist wlpws0
-------------

Router Default Password

Vendor Username Password
ACCTON <BLANK> 0
ACCTON __super (caclulated)
ACCTON admin <BLANK>
ACCTON manager manager
ACCTON monitor monitor
ACCTON none 0



Acer <BLANK> <BLANK>
acer acer acer



Apple <BLANK> public
Apple <BLANK> xyzzy
Apple <N/A> admin
Apple <N/A> password
Apple admin public
Apple mobile dottie
Apple root admin
Apple root alpine



Arris admin password



Asus <N/A> admin
Asus admin admin
Asus adsl adsl1234



Avaya <BLANK> Craftr4
Avaya <N/A> <BLANK>
Avaya <N/A> admin
Avaya Administrator ggdaseuaimhrke
Avaya Craft crftpw
Avaya admin admin
Avaya admin admin123
Avaya admin barney
Avaya admin password
Avaya craft <BLANK>
Avaya craft crftpw
Avaya dadmin dadmin
Avaya dadmin dadmin01
Avaya diag danger
Avaya manuf xxyyzz
Avaya root ROOT500
Avaya root cms500
Avaya root ggdaseuaimhrke
Avaya root root



Barracuda admin admin
Barracuda ssladmin ssladmin



Belkin <BLANK> MiniAP
Belkin <N/A> admin
Belkin admin none



Brother <BLANK> access
Brother <N/A> access
Brother admin access



Cisco
EAdmin
Cisco
UAMIS_
Cisco
UNITY_
Cisco
UOMNI_
Cisco
UVPIM_
Cisco <BLANK> <BLANK>
Cisco <BLANK> Cisco
Cisco <BLANK> Cisco
Cisco <BLANK> _Cisco
Cisco <BLANK> c
Cisco <BLANK> cc
Cisco <BLANK> changeit
Cisco <BLANK> cisco
Cisco <BLANK> letmein
Cisco <BLANK> public/private/secret
Cisco <BLANK> riverhead
Cisco <N/A> Cisco
Cisco <N/A> ILMI
Cisco <N/A> c
Cisco <N/A> cable-docsis
Cisco <N/A> cc
Cisco <N/A> cisco
Cisco Administrator admin
Cisco Administrator changeme
Cisco CISCO15 otbu+1
Cisco Cisco Cisco
Cisco ESubscriber <BLANK>
Cisco End User
Cisco admin <BLANK>
Cisco admin admin
Cisco admin changeme
Cisco admin cisco
Cisco admin default
Cisco admin diamond
Cisco admin tsunami
Cisco bbsd-client NULL
Cisco bbsd-client changeme2
Cisco bubba (unknown)
Cisco cisco <BLANK>
Cisco cisco cisco
Cisco cmaker cmaker
Cisco enable <BLANK>
Cisco enable cisco
Cisco guest <BLANK>
Cisco hsa hsadb
Cisco hsa hsadb
Cisco netrangr attack
Cisco pnadmin pnadmin
Cisco praisenetwork perfectpraise
Cisco private ReadWrite
Cisco public ReadOnly
Cisco ripeop <BLANK>
Cisco root
Cisco root Cisco
Cisco root attack
Cisco root blender
Cisco root password
Cisco root secur4u
Cisco sa <BLANK>
Cisco technician 2
Cisco uwmadmin password
Cisco wlse wlsedb
Cisco wlseuser wlsepassword
Cisco-Arrowpoint admin system



Comcast Home Networking
Comcast SMC cusadmin
Comcast SMC cusadmin



Compaq <BLANK>
Compaq <BLANK> Compaq
Compaq <N/A> Compaq
Compaq PFCUser 240653C9467E45
Compaq administrator administrator
Compaq anonymous <BLANK>
Compaq operator operator
Compaq root manager
Compaq root rootme
Compaq user public
Compaq user user



D-Link <BLANK> admin
D-Link <BLANK> private
D-Link <BLANK> public
D-Link <N/A> admin
D-Link Admin <BLANK>
D-Link Alphanetworks wrgg15_di524
D-Link D-Link D-Link
D-Link admin <BLANK>
D-Link admin admin
D-Link admin gvt12345
D-Link admin none
D-Link admin password
D-Link admin public
D-Link admin year2000
D-Link none none
D-Link none private
D-Link root admin
D-Link user <BLANK>
D-Link user none
Dlink admin <BLANK>
Dlink admin admin
Dlink admin public



Dell <BLANK> Dell
Dell <BLANK> Fireport
Dell <BLANK> nz0u4bbe
Dell <N/A> 1RRWTTOOI
Dell <N/A> Dell
Dell <N/A> admin
Dell Admin <BLANK>
Dell Administrator storageserver
Dell VNC winterm
Dell admin admin
Dell admin password
Dell rapport r@p8p0r+
Dell root calvin
Dell root wyse
Dell Switch PowerConnect






HP <N/A> <BLANK>
HP <N/A> AUTORAID
HP Administrator admin
HP Factory 56789
HP admin !admin
HP admin <BLANK>
HP admin admin
HP admin isee
HP root password



Hewlett-Packard admin admin
Hewlett-Packard <BLANK> <BLANK>
Hewlett-Packard <BLANK> hewlpack
Hewlett-Packard <N/A> hewlpack
Hewlett-Packard ADVMAIL <BLANK>
Hewlett-Packard ADVMAIL HP
Hewlett-Packard ADVMAIL HPOFFICE
Hewlett-Packard Admin Admin
Hewlett-Packard Administrator The
Hewlett-Packard Anonymous <BLANK>
Hewlett-Packard FIELD <BLANK>
Hewlett-Packard FIELD HPONLY
Hewlett-Packard FIELD HPP187
Hewlett-Packard FIELD HPWORD
Hewlett-Packard FIELD LOTUS
Hewlett-Packard FIELD MANAGER
Hewlett-Packard FIELD MGR
Hewlett-Packard FIELD SERVICE
Hewlett-Packard FIELD SUPPORT
Hewlett-Packard HELLO FIELD.SUPPORT
Hewlett-Packard HELLO MANAGER.SYS
Hewlett-Packard HELLO MGR.SYS
Hewlett-Packard HELLO OP.OPERATOR
Hewlett-Packard HPSupport badg3r5
Hewlett-Packard MAIL HPOFFICE
Hewlett-Packard MAIL MAIL
Hewlett-Packard MAIL MPE
Hewlett-Packard MAIL REMOTE
Hewlett-Packard MAIL TELESUP
Hewlett-Packard MANAGER COGNOS
Hewlett-Packard MANAGER HPOFFICE
Hewlett-Packard MANAGER ITF3000
Hewlett-Packard MANAGER SECURITY
Hewlett-Packard MANAGER SYS
Hewlett-Packard MANAGER TCH
Hewlett-Packard MANAGER TELESUP
Hewlett-Packard MGE VESOFT
Hewlett-Packard MGR CAROLIAN
Hewlett-Packard MGR CCC
Hewlett-Packard MGR CNAS
Hewlett-Packard MGR COGNOS
Hewlett-Packard MGR CONV
Hewlett-Packard MGR HPDESK
Hewlett-Packard MGR HPOFFICE
Hewlett-Packard MGR HPONLY
Hewlett-Packard MGR HPP187
Hewlett-Packard MGR HPP189
Hewlett-Packard MGR HPP196
Hewlett-Packard MGR INTX3
Hewlett-Packard MGR ITF3000
Hewlett-Packard MGR NETBASE
Hewlett-Packard MGR REGO
Hewlett-Packard MGR RJE
Hewlett-Packard MGR ROBELLE
Hewlett-Packard MGR SECURITY
Hewlett-Packard MGR SYS
Hewlett-Packard MGR TELESUP
Hewlett-Packard MGR VESOFT
Hewlett-Packard MGR WORD
Hewlett-Packard MGR XLSERVER
Hewlett-Packard OPERATOR COGNOS
Hewlett-Packard OPERATOR DISC
Hewlett-Packard OPERATOR SUPPORT
Hewlett-Packard OPERATOR SYS
Hewlett-Packard OPERATOR SYSTEM
Hewlett-Packard Oper Oper
Hewlett-Packard PCUSER SYS
Hewlett-Packard RSBCMON SYS
Hewlett-Packard SPOOLMAN HPOFFICE
Hewlett-Packard WP HPOFFICE
Hewlett-Packard admin admin
Hewlett-Packard admin hp.com
Hewlett-Packard admin isee






Linksys <BLANK> admin
Linksys <BLANK> epicrouter
Linksys <N/A> <BLANK>
Linksys <N/A> admin
Linksys Administrator admin
Linksys admin <BLANK>
Linksys admin admin
Linksys comcast 1234
Linksys root orion99
Linksys user tivonpw






Netgear <BLANK> 1234
Netgear <BLANK> admin
Netgear <BLANK> private
Netgear <BLANK> zebra
Netgear <N/A> <BLANK>
Netgear <N/A> admin
Netgear <N/A> password
Netgear Admin password
Netgear Gearguy Geardog
Netgear admin 1234
Netgear admin <BLANK>
Netgear admin admin
Netgear admin draadloos
Netgear admin infrant1
Netgear admin netgear1
Netgear admin password
Netgear admin setup
Netgear comcast 1234
Netgear cusadmin highspeed
Netgear super 5777364
Netgear superman 21241036






SonicWALL admin password
Sonicwall admin password



TrendNET admin password



Veritas admin password