Question: How do I create an entire path of directories? Answer: On a desktop computer, anytime you want to create a folder, you have to go through a series of clicks, type in the name, and press Enter. If you want to create a series of nested folders, you have …
June, 2010
-
9 June
How to Sync Two Websites on the Same Server
Question: I have two separate websites that I want to have identical data on each site. How can I do this? Answer: First of all, to sync files on two separate sites on the same server, you will need to have a user that has write permissions on both sites. …
-
2 June
How to Display Files Modified Today
There are many ways to search Linux files and directories using grep, find, or locate. All of them find files that match certain search parameters, usually words or characters. On a Linux server, you can also find any files that were modified within the current day. This is useful for …
December, 2009
-
17 December
Linux file and directory structure
An important part of knowing your Linux server is knowing where directories and files are. Most Linux distributions organize files in a similar manner, following specific standards. It is very different from the Windows file and directory structure, but once you know one Linux setup, you will pretty much know …
November, 2009
-
11 November
Password Protecting Your Directories
Question: How do I password protect a directory on my website? Answer: Many web hosting control panels offer a “password protect” feature for your directories. If not, there is a moderately easy way to do it with an Apache .htaccess file. First, create an .htaccess file that looks like this: …