Gnome Terminal Modification

You will probably want to make modifications to your terminal window at some time. The Gnome terminal is a common terminal used by a lot of people but often people do not recognize all of the features that are available. This tutorial will help you with that configuration.

 

Here is a picture of the Gnome Terminal. If you choose Edit /Profiles you can create a new profile that will have different color backgrounds and text for easier viewing.

 

ubuntu training course terminal

 

Right Click the colored bar and you will get the shortcuts to perform these tasks:

 

Minimize Alt+F9
Maximize Alt+F10
Move Alt+F7
Resize Alt+F8

You also have the option to always make the terminal visible on all workspaces. This is handy if you do a lot of work from the terminal. Or you can make it visible on only one workspace if you want.

ubuntu training course terminal

 

Now that you know some basic options for adjusting the terminal, lets take a look at some of the popular commands that can be issued to the Ubuntu Gnome terminal window.

Privileges
Network Display Security
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
sudo visudo – edit /etc/sudoers
gksudo nautilus – root file manager
passwd – change your password
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 – interface online
ifdown interface – interface disabled
sudo /etc/init.d/gdm restart – restart X and
return to login
(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
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