Short answers must consist of complete sentences and paragra

Short answers must consist of complete sentences and paragraphs, no single word or single phrase (45%) (1-15) Which are the rules of the bash\'s variable naming conventions? What does the read command do in shell scripting? What must be done before a shell script can be run by just typing its name? After typing the is -F command, you see the following line in the output: What does this mean? -rw-r-xr-- 1 user01 root 0 nov 11 10:00 file 1 Which file is always executed immediately after a user open a terminal window in to a Linux system and receives a BASH shell? How do you indicate a comment line in a shell script? What command entered without arguments is used to display a list of processes running in the current shell? How can you send a user process to the background? What command entered with arguments is used to terminate processes on your system? Give an exam. What is the .basic file? What variable is set to change the size of the history file? Create an alias called rm for rm -i What are shell positional variables? And how are the positional variables related to the command parameters? How do you execute a shell script file? Briefly, explain the usage and special meaning of the set of quoting characters (double, single, and backward quotation mark) to the shell.

Solution

1)Variable Names: Lower-case, with underscores to separate words. Ex: my_variable_name
Constants and Environment Variable Names: All caps, separated with underscores, declared at the top of the file. Ex: MY_CONSTANT

2)to get input from keyboard we use \" read\" command.

3)you have to do three things:
a)Write a script
b)Give the shell permission to execute it
c)Put it somewhere the shell can find it.

4)it describes about the owner of the file when it is modified date and time, it also gives details about who has rights on that file .

6) syntax for comments

: \' your comments here \'

8)In BASH, just press CTRL-Z, which will suspend the process, and then use the bgcommand to send it to the background.

9)kill command is used to kill process.
kill -9 PID

12) rm : it will delete all files
Rm-i : it is the interactive mode to delete files

 Short answers must consist of complete sentences and paragraphs, no single word or single phrase (45%) (1-15) Which are the rules of the bash\'s variable namin

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site