# Module Quiz: Command Line

1. **What command do you use to print the current working directory?**
    
    * cd
        
    * cat
        
    * <mark>pwd</mark>
        
2. **What command do you use to search text content?**
    
    * mkdir
        
    * <mark>grep</mark>
        
    * ls
        
3. **Which of the following are standard input/output (I/O) streams? Select all that apply.**
    
    * <mark>stdout</mark>
        
    * <mark>stderr</mark>
        
    * <mark>stdin</mark>
        
4. **Pipes are used to pass the output of one command as input to another command.**
    
    * <mark>True</mark>
        
    * False
        
5. **What command do you use to list files and directories?**
    
    * cd
        
    * mkdir
        
    * <mark>ls</mark>
        
6. **The mv command is used to create directories.**
    
    * <mark>False</mark>
        
    * True
        
7. **Flags can be used to change the behaviour of a command.**
    
    * <mark>True</mark>
        
    * False
        
8. **Which of the following are benefits of using the command line? Select all that apply.**
    
    * Automatically correct mistakes in commands
        
    * <mark>Automating tasks</mark>
        
    * <mark>Interacting with cloud provider platforms in a consistent way</mark>
        
    * <mark>Improved performance versus Graphical User Interface</mark>
