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.
||change to your home directory|
||change to the /tmp directory|
||change to /home/userid/Documents from anywhere|
||move up one directory in the structure|
||change to the last directory you were in|
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. Read more
I'm starting a new feature called Command Line Basics. In this first installment I'm going to cover the echo command.
The echo command is used for sending text to the standard output. In most cases, the standard output is your terminal. For example, to print the word "echo" to your terminal output, enter the command Read more
I previously did a post on how to Create a Button to Restart USB in Ubuntu. The purpose of that procedure was to get the USB hub in my HP w2207 monitor to recognize a flash drive that had been inserted into one of the ports.
Well I've found a better way to force this recognition that doesn't require root permission. It turns out that issuing the lsusb command polls all of the USB devices and causes my flash drive to be recognized and automounted. You can try this in a terminal with: Read more
I first wrote about the Logitech LX8 back in August, 2008. The one feature that had eluded me was the side scrolling with the tilt wheel. Through some information I found on fellow blogger Ken Zutter's site, I now have my LX8 working in Ubuntu including the side scrolling feature. The key was to go back to the evdev driver. Once I made the driver change the side scrolling worked, except in the wrong direction. Left went right and vice versa. No changes in button mapping in the xorg.conf file made a difference, so I resolved to make the mapping changes with Xmodmap. Below are the changes I made to get everything working the way that I want it. Read more