Quiz

  1. what is the home directory?

    It's the directory that the OS puts you in when you login. AKA "login" directory.

    It's the top directory in a tree of directories that you own, and therefore can control/create/update/delete

  2. Can you explain more about the tilde and what the password database is?

    When your account is created, the sysadmin creates a home directory and records that in /etc/passwd, which is the "database" of accounts.

    (There are defaults, but the sysadmin can override them if necessary by editing this file.)

    We'll take a brief look at it.

  3. Can you go over the Conventions and Prompts section. I'm unsure if I fully understand when to use the $ prompt.

    Thanks for this. You never type the prompt. That's just there to show you when the computer's response is over and when it's ready for your next command.

    It's the computer's way of saying "your turn"

    On our system, the default prompt is [user@host pwd], but you can configure that if you want, so in directions and tutorials, they can't know what your prompt is. So they use $ or % as a placeholder.

  4. I would love to see a step by step on the order we could use the commands, like following a story: imagine mary wants to do this, then she would X. Now she is tired of that file and wants to delete it, then she will X.

    This is a great idea, and that's part of the goal of this "unix workshop". I suggest you work with the person next to you today to spin some scenarios and try them out.

  5. I would love to have more clarity on commands that work just for files or just for directories (and maybe even both), like a table. Also, I would love to hear more about the differences (visually) of Parent/ Root/Home directories, I understand the rules but visuals help! Also, I would love to see examples of using asterisk, it is still a little bit unclear for me. Thank you!

    Hmm. Here's a brief list:

    1. ls both directories and files, but usually directories
    2. cd only directories
    3. pwd no arguments; prints working directory
    4. cp both directories and files
    5. mv both directories and files
    6. rm both directories and files
    7. mkdir only directories
    8. rmdir only directories
  6. Also, I would love to hear more about the differences (visually) of Parent/ Root/Home directories, I understand the rules but visuals help!

    I'll draw something on the board.

  7. Also, I would love to see examples of using asterisk, it is still a little bit unclear for me. Thank you! / Wildcards

    I'll show an example. But the basic idea is:

    
        ls *.js    # list files whose names end in "js"
        ls style*  # list files whose names start with "style"
        ls style*.js"  # list files whose names start with "style" and end with ".js"
    
    
  8. Using tab completion to get to the cs204 directory, I had trouble with this in class

    I'm happy to do this.

  9. I would like to learn more about the drop function.

    Sure. I can demo that.

  10. I felt a little hard to keep up with the "drop" session, especially since the terminal sample is quiet complicated with a lot of words, I was struggling to keep up which line is command and which one is response.

    Yes, that is complicated; I don't blame you. I'll walk through it.

  11. I'd like to see an example of some of these commands in action, especially drop and opendir.

    Sure; we'll be doing that in a few minutes.

  12. I would like to go over more of the ssh and scp part in class.

    For sure. We'll do that in a few minutes

  13. I would like to go over all topics with some hands-on exercises to better understand them.

    Of course! That's what we're here for.

  14. I've never used a Linux computer before, so I'm curious about its differences from Windows OS. I'm also interested in how to set up the server/client interaction for creating user accounts and storing account information for websites I create. P. S. I think the command summary is a very helpful reference, thank you for including that.

    I'm glad you found the summary helpful! In the interests of time, I would encourage you to come talk to me about some of those other issues in OH. They're interesting, but I think we don't have time right now.