2023 Boost - Week 4#
Let's do this again. Weeks 2 and 3 were a little harder than most beginners might be able to handle. Most Linux users will be using a Linux that has been installed already. The Boost is primarily intended for them (not admins and hackers, who are also users). So we've prepared a quick-start with an existing Linux container image. Here's how to get it and another take at how to get going without having to setup anything.
- What concepts do all users need to understand?
- What does it mean to be a Linux "user" (vs "admin" or "hacker")?
Create a local Linux container for the Boost
podman run -it --hostname skilstak --name boost -v shared://shared ghcr.io/rwxrob/ws-skilstak
What is the difference between a terminal and a command line?
- What do the parts of the prompt mean?
- How do I clear the screen?
- Do not depend on Control-L
- How do I see where I am?
- How do I see everything in this directory?
- How do get help information about a command?
apropos KEYWORD(if you want)
- What is a directory and what is a file?
- What are special directories?
- How do I change directories?
- How do I see what's in a file?
cat FILE [FILE]
tac FILE [FILE]
- What is a file descriptor and how do I use them?
- Understand origins of TTY (teletype machines)
- standard input (
- standard output (
- standard error (
- What is a pipe?
ls -al | more
- How do write output of a command to a file?
ls -al > /tmp/foo
- How do I append command output to end of a file?
echo some >> /tmp/foo
echo thing >> /tmp/foo
- How do I zero out an existing or new file?
- How do I create a new file (or update time changed)?
- How do I remove a file?
- How do I find files with a keyword in the name?
find . -name '*vim*' 2> /dev/null
- How do I send stderr to stdout as well?
find / -name '*md*' 1> /tmp/foo 2> /dev/stdout
find / -name '*md*' > /tmp/foo 2> /dev/stdout
find / -name '*md*' > /tmp/foo 2>&1
find / -name '*md*' &> /tmp/foo