Navigation

Home
Computer Tips & Tricks
Freeware Downloads
Security Tips & Tools
Website Reviews
About The Author
Archive of Newsletters
E-books to Purchase
The Ramble - Uncontrolled thoughts
Message Boards
Guestbook

Join Our Newsletter


Just submit your email address and opt-in to this great bi-monthly newsletter.
 

Enter Email To Subscribe

Contact Me
 
 
 
 
 
 
 
 

Bash Shell Commands

     Well, I've been dreading writing this section of the website because I don't feel like an "expert" in this area, but it's part of my online knowledge and I thought that maybe a newbie could help other newbies with Linux.  With most of the current distributions of Linux you have an xwindow system that looks remarkably easy to understand...umm, but eventually you have to go to a shell...eventually...yes...you have to face the evil that is the command line.  Now don't worry, this is okay, just breathe deep, there you go, keep breathing deeply, continue, come on, getting lightheaded yet?  Soon you'll be in that state of euphoria where you'll be game enough to start putting in some commands.

     Okay, it isn't that bad, the thing you have to do is remember back to the days of DOS and Microsoft and when you had to type in commands to get anything done.  Basically that's the best way to describe it to Windows users.  Okay, so you're at a terminal and you don't know any commands, here are a few (the list will expand as I learn more).

cd - this basically works like the old MSDOS command, this stands for Change Directory and basically you can change the directory your in with this command.

cp - this is the copy command.  Basically you can use this command if you want to copy the contents of a file to some other place.  Not so different from the Copy command in MSDOS.  You can use this to copy the content to other folders, etc.

ls - This is the list command, very similar to the MSDOS Command Dir.  Basically it lists all the contents in a directory or a folder.  This had a bunch of wildcards you can add to it, like ls -l will list the file in it's long format... ls -a will allow you to see all the files in a directory including hidden files.

mkdir - This command will make a directory.  The command would look something like mkdir testfolder and this would create a directory with the name testfolder.

mv - this stands for move...basically this allows you to move files from one directory to another or you can move it within the same folder.

rm - this stands for remove.  This will allow you to delete files without confirmation.  Okay a delete command, basically you can delete files but also important ones you didn't mean to delete, umm, well, yeah, okay you know how I know this fact.

rmdir - This will allow you to remove a directory, if you add rmdir -r the directory doesn't have to be empty before deleting it.

passwd - if you type in passwrd it will allow you to change your password.  It will ask for you old one and then make you type in the new one twice...the password has to be at least 6 characters long.

Okay, this is it for now because I don't have my linux box open at the moment and I'm not exactly pleased with what I wrote here, hmm, okay so this tutorial is at best so so...I'll need to work on this more and get back to you.  If there are any Linux pros out there that would like to write articles for this website, just drop me an email...trust me, I'm humble, I don't pretend to be anything but a newbie.