Exercise 1: Please create a script that print “Hello, your name.” • Exercise 2: Please create a directory call user_bin, and add it to PATH. Then mv script of Exercise 1 to user_bin. Then run it from your root directory. • Exercise 3: Add a new command call ‘l’ which will perform exact same as ‘ls -a’.

LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
5th Edition
ISBN:9781337569798
Author:ECKERT
Publisher:ECKERT
Chapter7: Working With The Bash Shell
Section: Chapter Questions
Problem 15RQ
icon
Related questions
Question

• Exercise 1: Please create a script that print “Hello, your name.”
• Exercise 2: Please create a directory call user_bin, and add it to PATH. Then mv script of Exercise 1 to user_bin. Then
run it from your root directory.
• Exercise 3: Add a new command call ‘l’ which will perform exact same as ‘ls -a’.
• Exercise 4: Create a function call sortFile, which will sort all filenames of current directory.
• Exercise 5: Please make your own page using shell script, print following as your page.
<html>
<head>
<title>
My System Information
</title>
</head>
<body>
<h1>My System Information</h1>
</body>
</html>
 Exercise 6: Could you add one variable in the example, name the variable as greeting, which displays “Hello, my
name is xxx xxx” in the body using variable greeting.
• Exercise 7: Could you add one variable in the example, name the variable as FILE_LIST, which displays the filenames of
current working directory

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

Can someone give step by step instructions on how to do the first question. And can you show your console output on how you created the script with the input of name and it comes out in your output when you execute it?

Solution
Bartleby Expert
SEE SOLUTION
Follow-up Question

please answer Exercise 4-7

Solution
Bartleby Expert
SEE SOLUTION
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L