

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Help
incomplete
2: Flags
incomplete
3: Positional Arguments
incomplete
4: Exit Codes
incomplete
5: Standard Output
incomplete
6: Standard Error
incomplete
7: Standard In
incomplete
8: Piping
incomplete
9: Unix Philosophy
incomplete
This lesson's interactive features are locked, please to keep using them
As you've already seen in this course, some commands accept flags. Flags are options that you can pass to a command to change its behavior.
For example, the ls command can take a -l flag to show a "long" listing of files:
ls -l
Or the -a flag to show "all" files, including hidden files:
ls -a
You can also combine flags:
ls -al
Whether or not a command takes flags, and what those flags are, is up to the developer of the command. That said, there are some common conventions:
-a)--help)-h or --help)You've found that some files have been tampered with! To figure out which one it is, you need to know the number of bytes in each file.
Use the "word count" command, wc, with the -c flag (think "byte count") to count the number of bytes in the worldbanc/public/pr_ideas.txt file.
Submit the shell checks.