In today’s Command Line Basics we’ll create some customized commands with alias. You can think of alias as a sort of command line shortcut. Odds are, your system already has a few aliases defined by default. If you enter the command by it’s self, without an argument, it will tell you what aliases already exist on your system. Open a terminal window and give it a try. Continue reading
Tag Archives: linux
Command Line Basics: List Files with ls
One of the most fundamental things you may want to do from the command line is to list the files in the current directory. That’s where the ls command comes in. ls stands for, you guessed it, list. Continue reading
Space Saving Tips for Your GNOME Desktop
If you’ve got a netbook, then you’re probably wishing you had a little more vertical room on your monitor. The default setup on GNOME includes two panels that take up valuable space at the top and bottom of your screen. Here’s a few tips to free up some space on your GNOME Desktop layout. Continue reading
Command Line Basics: Navigating the File System
Today’s Command Line Basics focuses on Navigating the File System with the cd command.
cd stands for change directory. The cd command on its own will take you to your home directory (/home/userid/). If you have a directory in your home called Documents, then cd Documents will take you there. Following are the basic uses of cd.
cd |
change to your home directory |
cd /tmp |
change to the /tmp directory |
cd ~/Documents |
change to /home/userid/Documents from anywhere |
cd .. |
move up one directory in the structure |
cd - |
change to the last directory you were in |
Bash to Basics: Print Text with echo
In the first installment of Command Line Basics, I explained the use of the echo command. In this first installment of Bash to Basics, I’ll show how to use the echo command in a script.
Open up a text editor and paste the following text into it. Continue reading