Prelim Lab: Getting Familiar with the Linux Shell Flashcards
Shell Basics
The shell is the term used to refer to the command interpreter in Linux. Also known as Terminal, Command Line and Command Prompt, the shell is very powerful way to interact with a Linux computer.
- Log on to the Red Hat Linux VM as the Student User. The account student is used as the example user account throughout this lab.
- To access the command line, access the terminal
- Using the man pages, what is the command to display details of command mkdir
man mkdir
Shell Basics
The shell is the term used to refer to the command interpreter in Linux. Also known as Terminal, Command Line and Command Prompt, the shell is very powerful way to interact with a Linux computer.
On the mkdir man pages, what is the long option parameters of displaying output version
–version
Which command will you run to display the output below: . ㄴDesktop ㄴDocuments ㄴDownloads ㄴ1 ㄴmyname ㄴhello.txt ㄴMusic ㄴPictures ㄴPublic
tree
Linux Shell Variables
Shell Variables − A shell variable is a special variable that is set by the shell and is required by the shell in order to function correctly
Given the shell variable below. What is the command use to create the myDog shell variable with a value of Summer
[user1@localhost ~]$ echo $mydog
Summer
[user1@localhost ~]$
correct answers:
myDog=”Summer”
myDog= “Summer”
myDog = “Summer”
Identify what path is this?
[user1@localhost Location]$ ../../Myplace/
relative path