Join Scott Simpson for an in-depth discussion in this video Understand how commands are structured, part of Learning Linux Command Line (2016).
- [Voiceover] There are a few terms and ideas…you need to be familiar with to really be productive…using the command line.…Before we jump into using commands…let's take a look at how…command line statement is structured.…The general pattern you'll see…is command, options and arguments.…Here's a couple of common commands you'll see…with options and arguments that are used with them.…Don't worry about the specifics…of the commands right now,…we'll see them in more detail later on.…I just wanna show you the structure…of what we'll be working with…before we get into what these actually do.…
Of course, you might just have a command,…or a command and one or more options…or just a command with one or more arguments…but there will always be a command.…That's the basic unit we're working with.…The command is the program you're running.…In the first case here, ls, which is short for list.…It shows the files in a specified directory…but we'll see more detail about that later.…Sometimes a command does something just by itself…
This course will establish the foundation for more advanced Linux topics. Find other Linux training courses here.
- What is the Linux command line?
- Writing Linux commands at the prompt
- Finding help for Linux commands
- Editing files and folders
- Configuring user roles and file permissions
- Using pipes to connect commands
- Peeking at files
- Searching and editing text
- Finding disk and system information
- Installing and updating software