Discover how to issue basic commands in Unix and the structure of a command, including arguments and flags.
- [Instructor] In this movie, we'll discuss the structure … of Unix commands. … Commands in Unix have three parts. … There's the command, and then any arguments to the command. … They're always in that order. … The command is always a single word. … It's the action that we want Unix to perform. … We saw this in the previous movie … with our first example where we used echo. … After that, we didn't have any options, … options are optional. … The argument is 'Hello World'. … That's a text string and it's inside quotes, … so that Unix knows that it's a single string of text. … The options modify the behavior of the command in some way. … If we had used the dash in option with echo, … it would suppress the new line return after the output. … So there's the normal behavior for the command, … the default behavior, and then there's the modified behavior … using an option. … Notice how the spaces separate the command, … the option, and the argument. … You may also have a command … with an option that doesn't have any argument. …
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.