blz help me to do this..

 
Thread Tools Search this Thread
Homework and Emergencies Homework & Coursework Questions blz help me to do this..
# 1  
Old 05-22-2011
blz help me to do this..

1-Write a script that takes exactly one argument, a directory name.

2- If the number of arguments is more or less than one, print a usage message.

3-If the argument is not a directory, print another message.

4-For the given directory, print the five biggest files and the five files that were most recently modified.
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
PAWD(1) 						      General Commands Manual							   PAWD(1)

NAME
pawd - print automounter working directory SYNOPSIS
pawd [ path ... ] DESCRIPTION
pawd is used to print the current working directory, adjusted to reflect proper paths that can be reused to go through the automounter for the shortest possible path. In particular, the path printed back does not include any of Amd's local mount points. Using them is unsafe, because Amd may unmount managed file systems from the mount points, and thus including them in paths may not always find the files within. Without any arguments, pawd will print the automounter adjusted current working directory. With any number of arguments, it will print the adjusted path of each one of the arguments. SEE ALSO
pwd(1). amd(8), amq(8), ``am-utils'' info(1) entry. Linux NFS and Automounter Administration by Erez Zadok, ISBN 0-7821-2739-8, (Sybex, 2001). http://www.am-utils.org Amd - The 4.4 BSD Automounter AUTHORS
Erez Zadok <ezk@cs.sunysb.edu>, Computer Science Department, Stony Brook University, Stony Brook, New York, USA. Other authors and contributors to am-utils are listed in the AUTHORS file distributed with am-utils. 6 Jan 1998 PAWD(1)