Lab 8 Intro to unix

.docx

School

Howard Community College *

*We aren’t endorsed by this school

Course

255

Subject

Computer Science

Date

Apr 29, 2024

Type

docx

Pages

1

Uploaded by BrigadierSardineMaster985 on coursehero.com

Define the following special bash environment (or keyword) variables $0 : represents the name of the currently executing script which holds the name of the command used to invoke the shell $1, $2, $3, etc. positional parameters passed to a shell script or function, $1 represents the first argument, $2 represents the second argument, etc. $# variable that holds the total number of arguments passed to the script or function $? after executing a command the variable contains the exit status of the last executed command, in which 0 typically indicated success $* represent the arguments passed to the script $$ variable that holds to PID of the currently running shell or script $HOME represents the logged in users home directory path $PATH shows a list of directories where shell looks for executable files. $HISTSIZE specifies the max number of commands stored in the command history $PS2 the secondary prompt displayed when the shell expects addition inputs on multi line commands
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help