hostname

Q. I’m using Ubuntu Linux. How do I change my hostname or the machine name? A.. You need to use hostname command, which is used to either set or display the current host or domain name of the system. This name is used by many of the networking programs to identify the machine. Following instructions […]

{ 10 comments }

How do I change the color of my shell prompt under Linux or Unix operating systems?

{ 54 comments }

How can I import a MySQL dumpfile into my database? I’m using CentOS Linux 5 server. My old hosting provider gave me a data.sql file and I do have access to my Unix / Linux server via ssh. So How do I restore my data using command line over the ssh session?

{ 61 comments }