Linux Commands

Linux Commands

Linux Commands Dr. Hyrum D. Carroll August 25, 2016 Quiz Linux Commands Linux Commands I (review) I man I ls I cd I touch I cp I mv I rm I mkdir I rmdir Linux Commands I (review) I man - show manual for a command, example: `man ls' (press `q' to exit the man page) I ls I cd I touch I cp I mv I rm I mkdir I rmdir Linux Commands I (review) I man - show manual for a command, example: `man ls' (press `q' to exit the man page) I ls - list directory, similar to dir on windows, example: `ls /etc', use `ls -l /etc' to see more detail I cd I touch I cp I mv I rm I mkdir I rmdir Linux Commands I (review) I man - show manual for a command, example: `man ls' (press `q' to exit the man page) I ls - list directory, similar to dir on windows, example: `ls /etc', use `ls -l /etc' to see more detail I cd - change directory, example: `cd /etc/' I touch I cp I mv I rm I mkdir I rmdir Linux Commands I (review) I man - show manual for a command, example: `man ls' (press `q' to exit the man page) I ls - list directory, similar to dir on windows, example: `ls /etc', use `ls -l /etc' to see more detail I cd - change directory, example: `cd /etc/' I touch - update the timestamp on a file, example: `touch foobar' I cp I mv I rm I mkdir I rmdir Linux Commands I (review) I man - show manual for a command, example: `man ls' (press `q' to exit the man page) I ls - list directory, similar to dir on windows, example: `ls /etc', use `ls -l /etc' to see more detail I cd - change directory, example: `cd /etc/' I touch - update the timestamp on a file, example: `touch foobar' I cp - copy a file or directory, example: `cp source dest' if you want to copy a directory use the -R option for recursive: `cp -R /source /dest' I mv I rm I mkdir I rmdir Linux Commands I (review) I man - show manual for a command, example: `man ls' (press `q' to exit the man page) I ls - list directory, similar to dir on windows, example: `ls /etc', use `ls -l /etc' to see more detail I cd - change directory, example: `cd /etc/' I touch - update the timestamp on a file, example: `touch foobar' I cp - copy a file or directory, example: `cp source dest' if you want to copy a directory use the -R option for recursive: `cp -R /source /dest' I mv - move a file, example: `mv source dest' I rm I mkdir I rmdir Linux Commands I (review) I man - show manual for a command, example: `man ls' (press `q' to exit the man page) I ls - list directory, similar to dir on windows, example: `ls /etc', use `ls -l /etc' to see more detail I cd - change directory, example: `cd /etc/' I touch - update the timestamp on a file, example: `touch foobar' I cp - copy a file or directory, example: `cp source dest' if you want to copy a directory use the -R option for recursive: `cp -R /source /dest' I mv - move a file, example: `mv source dest' I rm - remove a file, example: `rm somefile' to remove a directory you may need the -R option, you can also use the -f option which tells it not to confirm each file: `rm -Rf dir/' I mkdir I rmdir Linux Commands I (review) I man - show manual for a command, example: `man ls' (press `q' to exit the man page) I ls - list directory, similar to dir on windows, example: `ls /etc', use `ls -l /etc' to see more detail I cd - change directory, example: `cd /etc/' I touch - update the timestamp on a file, example: `touch foobar' I cp - copy a file or directory, example: `cp source dest' if you want to copy a directory use the -R option for recursive: `cp -R /source /dest' I mv - move a file, example: `mv source dest' I rm - remove a file, example: `rm somefile' to remove a directory you may need the -R option, you can also use the -f option which tells it not to confirm each file: `rm -Rf dir/' I mkdir - make a directory, example: `mkdir foobar' I rmdir Linux Commands I (review) I man - show manual for a command, example: `man ls' (press `q' to exit the man page) I ls - list directory, similar to dir on windows, example: `ls /etc', use `ls -l /etc' to see more detail I cd - change directory, example: `cd /etc/' I touch - update the timestamp on a file, example: `touch foobar' I cp - copy a file or directory, example: `cp source dest' if you want to copy a directory use the -R option for recursive: `cp -R /source /dest' I mv - move a file, example: `mv source dest' I rm - remove a file, example: `rm somefile' to remove a directory you may need the -R option, you can also use the -f option which tells it not to confirm each file: `rm -Rf dir/' I mkdir - make a directory, example: `mkdir foobar' I rmdir - remove an empty directory, example: `rmdir foobar' I more - displays a file with page breaks after the screen fills up I less - displays a file on the screen I pwd - print working directory - lets you know where you are in the directory structure I * - a wild card character - represents any string; e.g., `more *' will display all the files in a directory I up and down arrows - goes to previous or next command - a short cut to avoid typing long strings I ! fpartialg - executes the last command with the name that started with the string fpartialg I !$ - the last parameter on the previous line I which - locate a command Linux Commands II I cat - dumps files to the screen with no page breaks I less - displays a file on the screen I pwd - print working directory - lets you know where you are in the directory structure I * - a wild card character - represents any string; e.g., `more *' will display all the files in a directory I up and down arrows - goes to previous or next command - a short cut to avoid typing long strings I ! fpartialg - executes the last command with the name that started with the string fpartialg I !$ - the last parameter on the previous line I which - locate a command Linux Commands II I cat - dumps files to the screen with no page breaks I more - displays a file with page breaks after the screen fills up I pwd - print working directory - lets you know where you are in the directory structure I * - a wild card character - represents any string; e.g., `more *' will display all the files in a directory I up and down arrows - goes to previous or next command - a short cut to avoid typing long strings I ! fpartialg - executes the last command with the name that started with the string fpartialg I !$ - the last parameter on the previous line I which - locate a command Linux Commands II I cat - dumps files to the screen with no page breaks I more - displays a file with page breaks after the screen fills up I less - displays a file on the screen I * - a wild card character - represents any string; e.g., `more *' will display all the files in a directory I up and down arrows - goes to previous or next command - a short cut to avoid typing long strings I ! fpartialg - executes the last command with the name that started with the string fpartialg I !$ - the last parameter on the previous line I which - locate a command Linux Commands II I cat - dumps files to the screen with no page breaks I more - displays a file with page breaks after the screen fills up I less - displays a file on the screen I pwd - print working directory - lets you know where you are in the directory structure I up and down arrows - goes to previous or next command - a short cut to avoid typing long strings I ! fpartialg - executes the last command with the name that started with the string fpartialg I !$ - the last parameter on the previous line I which - locate a command Linux Commands II I cat - dumps files to the screen with no page breaks I more - displays a file with page breaks after the screen fills up I less - displays a file on the screen I pwd - print working directory - lets you know where you are in the directory structure I * - a wild card character - represents any string; e.g., `more *' will display all the files in a directory I ! fpartialg - executes the last command with the name that started with the string fpartialg I !$ - the last parameter on the previous line I which - locate a command Linux Commands II I cat - dumps files to the screen with no page breaks I more - displays a file with page breaks after the screen fills up I less - displays a file on the screen I pwd - print working directory - lets you know where you are in the directory structure I * - a wild card character - represents any string; e.g., `more *' will display all the files in a directory I up and down arrows - goes to previous or next command - a short cut to avoid typing long strings I !$ - the last parameter on the previous line I which - locate a command Linux Commands II I cat - dumps files to the screen with no page breaks I more - displays a file with page breaks after the screen fills up I less - displays a file on the screen I pwd - print working directory - lets you know where you are in the directory structure I * - a wild card character - represents any string; e.g., `more *' will display all the files in a directory I up and down arrows - goes to previous or next command - a short cut to avoid typing long strings I ! fpartialg - executes the last command with the name that started with the string fpartialg I which - locate a command Linux Commands II I cat - dumps files to the screen with no page breaks I more - displays a file with page breaks after the screen fills up I less - displays a file on the screen I pwd - print working directory - lets you know where you are in the directory structure I * - a wild card character - represents any string; e.g., `more *' will display all the files in a directory I up and down arrows - goes to previous or next command - a short cut to avoid typing long strings I ! fpartialg - executes the last command with the name that started

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    23 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us