Write a function named long that displays the date and a long listing of the working directory. Demonstrate that the function works.

What will be an ideal response?

$ function long () {
> date
> ls -l
> }
$ long
Mon Oct 22 15:03:34 PDT 2012
-rwxr-xr-x. 1 max pubs 145 Oct 19 14:21 cptobak
-rwxr-xr-x. 1 max pubs 82 Oct 19 14:06 first
-rwxr-xr-x. 1 max pubs 82 Oct 19 14:21 first.bak
-rwxr-xr-x. 1 max pubs 151 Oct 19 16:24 mine
-rwxr-xr-x. 1 max pubs 28 Oct 19 13:52 short

Computer Science & Information Technology

You might also like to view...

To remove the name of an item that has been deleted and return it to its original location, highlight the item and then click Restore this item in the ________ window

Fill in the blank(s) with correct word

Computer Science & Information Technology

When you select a clip art image, the contextual tab called the Picture Tools Format tab appears.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology