Boston University
Mathematics and Statistics
Mathematics and Statistics
Overview People Courses Programs of Study Seminars Special Programs Events Research Jobs
Mathematics and Statistics
 
next up previous contents
Next: RenamingDuplicating and Up: Introduction to UNIX Previous: File Types
 

Creating Files and Directories

UNIX files are created by text editors or by computer programs like word processors, drawing programs, or spread sheets. In the next chapter a popular text editor called Emacs is described. This will be used to create files.

Most people find it useful to sort their files into categories, and to create a directory for each category. In the above example, Joe has a directory called thesis which contains all the information related to his thesis. In order to create a new directory, use the mkdir <directory-name> command. This will create what is commonly referred to as a subdirectory, meaning that this directory will exist below your current working directory in the file system tree. For example, to create a directory called lettters use:

math joe % mkdir letters



Tim Kohl
 
September 2004
Mathematics and Statistics
Boston University