ADSM-L

Re: [ADSM-L] Help with a class

2008-12-09 16:22:02
Subject: Re: [ADSM-L] Help with a class
From: "Lepre, James" <jlepre AT SOLIXINC DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 9 Dec 2008 16:17:36 -0500
Everyone I am a Unix novice and I am taking a class.  I have some
questions I need to answer but I am having a difficult time.  This may
not be the forum but I thought someone may know the answers.  Any help
will be greatly appreciated.  

 

3. cd to the directory called final that is located within my home
directory.

A copy of the group file called mygroup was created using the ! as the
field separator. The fields should be separated using a : not a !.

Create a single command string that will modify the file called mygroup
and change all occurrences of the ! to a :. The command string must also
sort the file numerically on the GID field and then save the output to a
file called newgroup.

A. What command string did you use?

8. Consider the following alias:

alias dirc 'ls -l | grep '^d' | wc -l'

A. What EXACTLY will this alias do when it is executed?

4. cd to the directory called final that is located within my home
directory. Create a command string that will output the name of the
largest file in the directory. The largest file would be the file with
the greatest file size in bytes. The ONLY output from the command string
should be a single file name. (80% credit if you can output a long
listing of all of the filenames with the largest file listed at the top)


A. What command string will do this?

 

Thanks Everyone

 

James Lepre

 


  
  
---------------------------------------------------------------
Confidentiality Notice: The information in this e-mail and any attachments 
thereto is intended for the named recipient(s) only.  This e-mail, including 
any attachments, may contain information that is privileged and confidential  
and subject to legal restrictions and penalties regarding its unauthorized 
disclosure or other use.  If you are not the intended recipient, you are hereby 
notified that any disclosure, copying, distribution, or the taking of any 
action or inaction in reliance on the contents of this e-mail and any of its 
attachments is STRICTLY PROHIBITED.  If you have received this e-mail in error, 
please immediately notify the sender via return e-mail; delete this e-mail and 
all attachments from your e-mail  system and your computer system and network; 
and destroy any paper copies you may have in your possession. Thank you for 
your cooperation.

<Prev in Thread] Current Thread [Next in Thread>