How to use the command line to change GTK settings easily.

The settings used by the file chooser in MATE or Gnome can be changed easily with the command line. The gsettings utility makes this easy. This example will alter the Firefox file chooser, it will have directories listed first, in descending order, sorted by date modified. gsettings set org.gtk.Settings.FileChooser sort-column ‘modified’ gsettings set org.gtk.Settings.FileChooser sort-order … Read more

How to change the Ubuntu hostname easily.

Change the hostname easily on your Ubuntu or Linux Mint machine To change the hostname of an Ubuntu machine, there are a couple of files that need editing. Firstly, open the /etc/hostname file and change the hostname in here to the one you wish to use. 09:51:17 0 ~ jason$ sudo vim /etc/hostname09:51:17 0 ~ … Read more

How to set the time and date on a Cisco switch with the clock command.

This is how to set the clock and date on a Cisco switch using the clock command in privileged exec mode. Router#clock set 11:10:45 24 Feb 2016Router#clock set 11:10:45 24 Feb 2016 Check the date using this command. mrrobot#show clock 11:14:34.844 UTC Wed Feb 24 2016mrrobot#show clock 11:14:34.844 UTC Wed Feb 24 2016 Show the … Read more

How to set a hostname on a Cisco 2950 switch with the terminal.

To set a new hostname on a Cisco router, switch to privileged exec mode by typing enable at the prompt. Enter configuration mode by entering this command. eng_floor_2#configure terminaleng_floor_2#configure terminal Then set the hostname by typing this command. eng_floor_2(config)#hostname eng_floor_2eng_floor_2(config)#hostname eng_floor_2 Now the proper hostname has been set on the switch. eng_floor_2#show running-config Building configuration… … Read more

How to set the correct time with the command-line on Debian.

Setting the system time with Debian Linux is very simple, using the date command, you may display the current date/time, then copy this to the date -s “” command and then edit it to the proper value. This is the easiest technique to set the Linux system time. This is the existing date. root@deusexmachina:/home/neo# date … Read more

OpenSuse 11.3. Setting the time and managing services.

When managing services on OpenSuse 11.3 the best way is to use the service command. One example is to synchronize the time with an Internet time server. I have NTP setup so I can just type: service ntp restartservice ntp restart That command will restart the NTP daemon and set the time on your machine … Read more