Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project 3 - 6 ESTIMATED TIME: 2 0 minutes OBJECTIVE: Use wildcard metacharacters. DESCRIPTION: In this hands - on project, you use the ls command

Project 3-6
ESTIMATED TIME: 20 minutes
OBJECTIVE: Use wildcard metacharacters.
DESCRIPTION: In this hands-on project, you use the ls command alongside wildcard metacharacters in your shell to explore the contents of your home directory.
1
Switch to a command-line terminal (tty5) by pressing Ctrl+Alt+F5 and log in to the terminal using the user name of root and the password of LINUXrocks!.
2
At the command prompt, type pwd , press Enter, and ensure /root is displayed showing that you are in the root users home folder. At the command prompt, type ls . How many files with a name beginning with the word sample exist in /root?
3
At the command prompt, type ls * and press Enter. What is listed and why?
4
At the command prompt, type ls sample* and press Enter. What is listed?
5
At the command prompt, type ls sample? and press Enter. What is listed and why?
6
At the command prompt, type ls sample?? and press Enter. What is listed and why?
7
At the command prompt, type ls sample[13] and press Enter. What is listed and why?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What mean echo off

Answered: 1 week ago