Linux7.txt

Card Set Information

Author:
Anonymous
ID:
133433
Filename:
Linux7.txt
Updated:
2012-02-07 01:48:26
Tags:
linux
Folders:

Description:
linux
Show Answers:

Home > Flashcards > Print Preview

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


  1. Commands that require an argument will give this error when none is given.
    Usage message
  2. An Argument is a
    token, such as a filename,text,number or object that a command acts on.
  3. Arguments start numbered
    0
  4. option is a
    argument that modifies the effect of a command.
  5. You can have more then one option.
    True
  6. Hyphens in programs
    GNU two hyphens, normally ONE
  7. Usually you can list options in any order.
    True
  8. -h
    human readable
  9. Arguments that start with a hyphen
    ls -- -l, ls ./-l, ls /home/alex/-1
  10. Long listing a hyphen argument
    ls -l -- -l
  11. help option
    --help
  12. Control h
    erase a character
  13. control u
    kill a line
  14. control w
    erase a word
  15. a program has to appear first
    False
  16. Execute a executible in the working directory.
    ./file
  17. ls -l
    displays permissions. Long listing.
  18. Shell does not
    process command line arguments. It hands them off to the program.
  19. standard output
    a place that a program can send information
  20. standard input
    a place the program gets information from.
  21. device file
    usually in the /dev directory. Represents a peripheral(terminal,screen,printer or disk drive)
  22. chch
    changes your login shell
  23. control d
    end of file signal
  24. >
    redirect output signal
  25. redirect output signal
    redirects the output to a specific file then to the screen
  26. Redirecting output can destroy a file
    True
  27. <
    redirect input signal
  28. redirect input signal
    redirects the input to come from a specific file instead of the keyboard.
  29. noclobber
    stops you from accidentally overwriting a existing file using redirection.
  30. override no clobber
    >|
  31. set -o noclobber
    enables no clobber
  32. set +o noclobber
    disables no clobber
  33. >>
    append output symbol
  34. append output symbol
    adds new information to the end of the file leaving existing info intact.
  35. /dev/null
    data sink or bit bucket
  36. redirect output that you don't want to see or keep too
    /dev/null
  37. |
    connect standard output of a command to the input of another command.
  38. sort can be used as
    filter
  39. Not all utilities can be used as a
    filter
  40. Tee
    copies its standard input to a file and to a standard output
  41. &
    Used to run a command in the background.
  42. Control Z
    Suspends
  43. To put a suspended job in the background
    use the bg command followed by the job number.
  44. fg
    brings a back rounded app back to the foreground.
  45. control c
    interupt key
  46. kill
    kills a backgrounded process. With either PID or % and the job number.
  47. ps
    process status, utility to display pid #'s
  48. ?
    causes the shell to generate file names
  49. examples of ?
    memo? =memo1, memox
  50. *
    matches any number of characters in a file including zero characters.
  51. jobs
    displays a list of currently running jobs
  52. tr
    maps one string of characters into another
  53. memo[17a]
    will search for memo1 memo7 and memoa
  54. [a-zA-Z]
    search for lowercase letters a-z and uppercase A-Z
  55. builtin
    utility that is built in to the shell.
  56. info bash builtin
    complete list of bash builtins
  57. when running a builtin the shell does not fork a new process.
    True

What would you like to do?

Home > Flashcards > Print Preview