Using your understanding of Shell Variables, answer the following with Linux commands: a. Use echo to display Hellp followed by your username. b. Create a variable Sosket with a value of 20. c. Destroy your Sosket variable. d. Write a Linux command to display the last 2 commands typed e. Write a single line command to List (with Is) all files starting with file and ending in a number. f. What command character can be used to get regular expressions in Linux that matches the end of a string? g. Differentiate between SHISTFILE and SHISTSIZE
Using your understanding of Shell Variables, answer the following with Linux commands:
a. Use echo to display Hellp followed by your username.
b. Create a variable Sosket with a value of 20.
c. Destroy your Sosket variable.
d. Write a Linux command to display the last 2 commands typed
e. Write a single line command to List (with Is) all files starting with file and ending in a number.
f. What command character can be used to get regular expressions in Linux that matches the end of a string?
g. Differentiate between SHISTFILE and SHISTSIZE
A shell variable is the core concept in Linux and other Unix-like operating systems. They are used to store data that shell scripts and commands can access and modify. Here, a shell is the command line interface or terminal where users interact with the operating system.
Step by step
Solved in 3 steps