copying files
Dan Trottier
dan at maccs.dcss.mcmaster.ca
Tue Dec 11 02:42:29 AEST 1990
>| >>|Do any of you UNIX wizards know how to even list all of
>| >>|the names of the files which begin '.' (besides, of course
>| >>|the files in the root (second line of list)
The most efficient in terms of starting processes would be the following:
alias l. 'set dotfiles = `echo .?*` ; echo $dotfiles[2-]'
So typing "l." would give a short list of all . files in a directory and
typing "ls -l $dotfiles[2-]" would give you the long format.
dan
--
Dan Trottier dan at maccs.dcss.McMaster.CA
Dept of Computer Science ...!uunet!utai!utgpu!maccs!dan
McMaster University (416) 525-9140 x3444
More information about the Comp.unix.shell
mailing list