UP TO 80% DISCOUNT ON AMAZON LIMITED TIME ...

Sunday, 2 August 2015

Ubuntu Commands

Ubuntu Commands:



Command privileges
DescriptionShortcut key
run command as rootsudo command
root shell opensudo su
open shell as a usersudo su user
forget your password sudosudo -k
sudo visual dialog (GNOME)gksudo command
sudo visual dialog (KDE)kdesudo command
edit / etc / sudoerssudo visudo
root file manager (GNOME)gksudo nautilus
root file manager (KDE)kdesudo konqueror
change your passwordpasswd
Command Network
displays information networkifconfig
displays information from wirelessiwconfig
scan wireless networkssudo iwlist scan
reset the networksudo /etc/init.d/networking restart
manual configuration(file) /etc/network/interfaces
bring online interfaceifup interface
disable interfaceifdown interface
Commands Display
show Configuration(file) /etc/X11/xorg.conf
reconfigure xserver-xorg-phigh - reset configuration Xsudo dpkg-reconfigure
X display reset if frozenCtrl+Alt+Bksp
switch to tty NCtrl+Alt+FN
switch back to X displayCtrl+Alt+F7
Commands Service System
service to start work (Upstart)start service
service to stop working (Upstart)stop service
check if service is running (Upstart)status service
start service (SysV)/etc/init.d/service start
stop service (SysV)/etc/init.d/service stop
check service (SysV)/etc/init.d/service status
reset service (SysV)/etc/init.d/service restart
get current runlevelrunlevel
Commands for Firewall
turn on the firewallufw enable
turn off the firewallufw disable
allow all connections by defaultufw default allow
drop all connections by defaultufw default deny
current rules andufw status
to allow traffic on portufw allow port
port blockufw deny port
ip blockufw deny from ip
Command System
get the version of Ubuntulsb_release -a
get kernel versionuname -r
get all the information kerneluname -a

No comments:

Post a Comment