LiveFire Labs: Online UNIX Training with Hands-on Internet Lab

"I found your courses to be very informative, and working on a real server in your Internet lab was a definite plus. Your courses were also a good foundation for me since most of my experience has been working with Windows. I really enjoyed the courses."

Ed B.
Beverly Hills, California

"I registered for LiveFire Labs’ courses after I was given an assignment to work with an IBM RS/6000 running AIX. The courses provided me with a basic working knowledge of UNIX for this assignment, and a solid foundation to build on until I become proficient with the operating system.

The price was great, and the hands-on Internet Lab provides the student with a real but safe place to practice immediately after a lesson. The convenience of learning at my desk was also important to me.

I am likely to take another LiveFire Labs’ course because they are quality lessons without the high cost and travel expenses, and I recommend the courses to others.

Thanks again for your company's good service."

Donald Tang, IKEA
Plymouth Meeting, Pennsylvania

Read more student testimonials...

LiveFire Labs' UNIX Tip, Trick, or Shell Script of the Week

Basic UNIX Commands for Beginners: How to Remove a UNIX Directory

If you decide that you no longer need a UNIX directory, you can use the UNIX command rmdir (remove directory) to delete it. You can use the absolute or relative path of a directory when deleting it.

To delete the directory mydir1 using its absolute path, you would execute the following command:

$ rmdir /home/jdoe/mydir1

If the working directory is /home/jdoe, a relative path can be used to delete the same directory:

$ rmdir mydir1

[ If you are new to UNIX and need an overview of important UNIX commands and concepts, check out our Basic UNIX Commands and Concepts Tutorial for Beginners ]

TIP: It is important to know that you can only delete empty directories. Attempts to delete a directory with one or more files in it will fail and an error message will be displayed.

TIP: Use the UNIX command ls (list directory contents) to see if there are files in a directory before attempting to remove it.

Subscribe to receive new UNIX tips, tricks or shell scripts via email...

If you found this article useful, please share it. Thank you!

See more tips at...

LiveFire Labs' UNIX Tip, Trick or Shell Script Archive

If you are serious about learning UNIX then keep reading.

When you had to learn a new skill or technology in the past, what was the best way to get started?

If you are like most people, it was by practicing the concepts instead of just reading about them in a book or training manual.

You may be wondering if this approach is even possible with online courses since most e-Learning training options only provide students with material to read or a video to watch.