Question: Unix help! (using puTTy) What is the wildcard expression that matches each of the following: chapa, chapb, chapc, chapx, chapy and chapz? watch.htm, watch.HTML, and

Unix help! (using puTTy)

What is the wildcard expression that matches each of the following:

chapa, chapb, chapc, chapx, chapy and chapz?

watch.htm, watch.HTML, and Watch.html

Is this a legitimate command and what does it appear to do? >foo

Enter the commands: echo $SHELL and echo $SHELL What difference do you notice?

Using a pipe, how do you find out the number of directories in your home directory tree?

Create a file, foo, with some text in it. What happens when you run the command: cat foo > foo Why?

Enter the command ls > newlist. What observation can you make from the contents of newlist?

Use command substitution to print a long listing of a set of files whose names are stored in a file called foo.

How would you store in a shell variable count the total number of lines in a file bar?

What is the wildcard pattern that matches all filenames containing at least 3 characters?

Using escaping, how do you remove the 2 files named: * and My Document from the current directory?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!