Save
Upgrade to remove ads
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

IT244 11/18 Quiz

IT244 Quiz

QuestionAnswer
What parameter gives the status code returned by the last command run? ?
What parameter gives the total number of arguments passed to a script from the command line? #
What parameter gives the full pathname of the script that is currently being run? 0
What parameter gives the first command line argument to a script or function? 1
If you wanted to use the value of the variable team inside quotes, what kind of quotes would you use? double quotes ""
If you wanted to remove the value of the variable team, what would you type at the command line? team= or unset team
What is the name of the first process created when the machine starts? init or systemd
Can two processes running at the same time have the same process ID number? no
Can a process ID number be reused after the process has finished? yes
If the process ID of your current shell is 15062, what is the PARENT process ID of a shell script you run from your current shell? 15062
What command would you run to see the last 20 commands you ran at the command line? history 20
What is the PATHNAME of the file that, by default, stores the commands you have run in a file so that they will be remembered for the next time you log in? ~/.bash_history
What command would you use to edit the last command to run, change it and run it again? fc
What is the name of the library of procedures that allows you to edit the command line? The Readline Library
Name the three things that can be completed at the command line by hitting Tab. pathnames, commands, shell variables
What do you call a shortcut that is used to run a command? an alias
What would you write at the command line to create the alias ghdir which changed directory to MY home directory? alias ghdir='cd ~ghoffman'
Can you write a function on a SINGLE command line? yes, if every command is followed by a ; including the last
Can aliases be made global? no
Can functions be made global? yes, if you use export -f
Created by: sumnerss
 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards