Learn how to create new text files using the nano text editor. Explore the rules and restrictions on how files can be named in the Unix file system.
- [Narrator] In this movie, we'll learn to create files … in Unix. … And we'll do that using the nano text editor … that we talked about in the last chapter. … Before we do, let's start by looking at some of the best … practices for naming files in Unix. … Unix file names have a 255 character maximum. … That's very long and more than enough for your needs. … You can use uppercase and lowercase letters, … numbers, underscore, hyphen, or period in the file name. … You typically want to avoid using symbols. … File names are case sensitive, … so something like My File with a capital M and a capital F … is different from my file, all lower case. … For that reason, most Unix developers … prefer using lowercase all the time. … For one thing, it's just less typing … if you don't have to hit the shift key. … They also prefer underscores over spaces. … You can use spaces in file names. … If you do, though, you have to escape them with a backslash, … which again is just a bit more typing. … You can also put quotes around file names …
Skill Level Intermediate
1. Introduction to Unix
2. Files and Directories
3. Ownership and Permissions
4. Commands and Processes
5. Directing Input and Output
6. Configure Your Working Environment
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.