Tag Archives: Directory



Size of Directories

Get the real file or directory size in unix or linux

All BASH users (Linux, Unix, OSX, etc) use the ls command, but when we want to know how much disk space has been used, the ls command just doesn’t cut it sometimes. While it is a useful command for listing information about files in a directory, or the directory structure, it doesn’t give you the overall space that a directory uses – including the files Read More →

Do not put spaces in file names

Spaces in File Names or Directory Names = BAD!

Although Linux supports spaces, it is not a good idea to have them… Our servers are running the Linux operating system. Although Linux supports spaces, it is not a good idea to use them in file names or directory names. It can cause many problems with the integrity of a name on a system. I don’t even use spaces in file or directory names on Read More →

Mount an .iso image in *nix without burning to a CD

If you don’t like to hoard CD’s, just create a disk image from the CD and store it on your hard drive… The advantages of this are as follows: No scratched CD’s or DVD’s More space on your desk Easy to back up or duplicate You can carry it with you and it weighs nothing, and takes up no space in your bag If the Read More →

Creating a website (for beginners)

If you are a beginner to creating a website, this is for you! First Thing’s first If you are new to web design and HTML, I want you to read this whole article. It is very handy. But first, follow these steps to see what HTML looks like: – Right-Click on this web page right here —-> <— (right there). – Select “View Page Source” Read More →

The /etc/skel directory

On *nix servers, you will find a directory at /etc/skel. Anything that is in this directory will automatically be copied and owned for a new user that is added. This is very useful if you are constantly adding new users to a server who are in need of the same directory structure. On another note, if you need to add new users, don’t use the Read More →

Using .htaccess files

By Katherine Nolan Expert Author Article Date: 2003-04-16 If your site is hosted on a Unix or Linux server which runs Apache, you may already be familiar with your .htaccess file. We referred to it in an earlier tutorial on Creating Custom Error Messages, where we showed how you can configure it to instruct the browser to display custom error messages rather than the dull Read More →