• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/15

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

15 Cards in this Set

  • Front
  • Back

Does globbing (.. .*) occur within a quoted string?

No

What does a backslash escape?

Any character

What does a backquote or $() do?

Execute text as a command and substitute with command output

What does a single quote protect (print)?

Everything even newline except single quote

Can a single quote appear in a single quoted string?

No because it cannot be escaped

What happens to text adjacent to a string? Ex: echo "xx"yy

Concatenated to xxyy

How to move to previous working directory?

cd -

How to print absolute path to working directory when you're lost?

pwd

How to access list of past commands and access them?

history



!N run command N


!! run last command


!xyz run last command starting with string xyz

How to access list of past commands and access them?

history



!N run command N


!! run last command


!xyz run last command starting with string xyz

How to alias a command?

alias cmd=string



alias d=date

Can an alias be a command argument?

No

How do you see what an alias is interpreted as?

type alias

What does "time myprog" do?

Execute a command and print a time summary

What 2 parts is program execution time composed of and what do each mean? What is the sum of these parts?

User time: CPU time used during the execution of a program



System time: CPU time used by the OS in support of executing a program (ex file or network access)



Program execution is interleaved with other programs.



user + system ~ real-time