Linux Advanced

Card Set Information

Author:
dalbabes
ID:
25973
Filename:
Linux Advanced
Updated:
2011-03-15 19:16:03
Tags:
tect
Folders:

Description:
Linux flash cards
Show Answers:

Home > Flashcards > Print Preview

The flashcards below were created by user dalbabes on FreezingBlue Flashcards. What would you like to do?


  1. What is the command to search for a file?
    grep
  2. Format for searching
    grep nameyouaresearchingfor location
  3. Tell grep to ignore case
    -i e.g. grep -i name /etc/services
  4. Tell grep to search for something that doesn't contain something
    -v e.g. grep -v name /etc/services
  5. To make steps in a unix command you use what?
    Pipes |
  6. What command do you use to put things in an output file ?
    > as in "grep bash > myoutfile"
  7. Find the current directory
    pwd
  8. display the contents of a file
    cat (e.g. cat myoutfile)
  9. Append to an existing file
    >> as in ls -la |grep bash >> myoutfile
  10. What command do you use to create an archive?
    Tar
  11. How does tar get implemented?
    tar -cf tarfilename.tar filetobe archived
  12. flag of tar to create a file?
    -cf
  13. tag of tar to view a file?
    -tvf as in tar -tvf cgi.tar
  14. Extract things from a tar file
    -xf as in tar -xf filelocation
  15. Create a zipped file
    gzip filename
  16. unzip a file
    gunzip filename
  17. find out the flags for a command
    man (command) q to exit
  18. tar command to extract a file
    tar -xvf

What would you like to do?

Home > Flashcards > Print Preview