Tag: Review

  • Linux Tutorial Series – 60 – Recap

    Here is the video version, if you prefer it:

    A flashback – we talked about:

    Redirecting input and output:

    • ls > output.txt is an example
    • Use >> to append
    • Use &> to redirect both standard output and standard error

    Other stuff we talked about:

    • Pipelines are used to redirect standard output of one command to the standard input of the other command; usage: command1 | command2
    • Shell globbing (wildcards) is used to match filenames before the command is executed
    • Brace expansions – something{else,else2,else3} (no spaces between the commas)
    • Regular expressions are used to match patterns in text; for example, a* means match the character a zero or more times

    Hope you refreshed your memory!

  • Linux Tutorial Series – 50 – Recap

    Here is the video version, if you prefer it:

    Here are all of the commands we have learned: 

    • The general command format is: command -options arguments
    • Commands are case sensitive
    • cd directory to change the directory you are located in (current directory)
    • pwd to print the absolute path to the directory you are in
    • man command gives you the man pages of the command
    • Options can be both short (-) and long (--)
    • Use -h or --help to see a quick description of command usage
    • ls command lists directory contents
    • cp src dest copies from source (src) to destination (dest)
    • mv old new renames file with filename old to filename new
    • rm item is used to delete the item; rm -r folder to delete the folder
    • touch filename to create a new file with name filename
    • mkdir dirname to create a new directory with name dirname
    • rmdir dirname to remove a directory with the name dirname (the directory has to be empty)
    • echo message to print out the message
    • cat filename to print out the contents of the filename
    • less filename to page through the contents of the filename
    • head and tail for viewing only the first or the last portion of a file
    • sudo command to execute the command as the superuser
    • su to switch user (without an argument switches to the superuser)
    • grep pattern file for pattern matching in files
    • wc file to count the number of words (and other stuff) in a file – haven’t used it as much

    Hope this refreshed your memory!

  • Linux Tutorial Series – 23 – Recap

    Here is the video version, if you prefer it:

    Today let’s quickly review the things we learned:

    • Shell is a program that runs commands
    • Commands are programs you can run with options and arguments
    • date and cal are used to display the time and the calendar (this is not so important)
    • Use Up/Down arrows to search command history
    • Use Left/Right arrows to navigate to individual characters of the current command
    • Use the clear command to clear your Terminal window
    • Exit a terminal command session with exit or press CTRL + D
    • Directories are a way to organize files
    • Files are resources that contain information
    • We talked about what to expect in the directories of a typical Linux directory hierarchy
    • Parent directory is one directory “above” your current directory
    • Absolute path names start with the root folder and proceed onward
    • Relative path names start from the folder you are currently in

    Hope you refreshed your memory!

  • Linux Tutorial Series – 10 – Recap

    Here is the video version, if you prefer it:

    We have talked about what an operating system is – it is a very useful piece of software which enables you to communicate with the hardware conveniently. We also talked about the kernel and learned that it manages processes, memory, device drivers and system calls, as well as established that users are people that use the computer and each one has (or should have) a user account associated with him/her.

    We established that there is a difference between the user space and the kernel space, as well as there being a difference between regular users and superusers. Kernel space is only accessible to the operating system, while the user space is where the user programs reside. Superusers get to execute certain commands that regular users can’t (don’t have the permission to). We learned that a Linux distribution is an operating system made from a software collection that is based upon the Linux kernel.We also talked about some Linux installation details.

    Hope this served as a good review!