Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

advice on Unix commands

Name: The Legendary Ahou Bird 2006-04-17 22:11

Unix question:

ls -la

I need the filenames at the end of the output hacked off so I can use them in  wc -lw

Any suggestions as to what sequence of commands and/or loops would work to get it that way?  I am a very basic Unix user, pls pardon my idiocy.

I don't need the actual code, just a recommendation of how to get from point A to point B.  Point A being the output of ls -la.  Point B being the input of wc -lw.

Name: Anonymous 2006-04-18 0:05

ls -1a

That's a number, not a letter.

Name: Anonymous 2006-04-18 0:20

ls -1 prints a list in 1 column, trust me it's a code that works.

Name: test 2007-12-31 23:33

lol
lol

lol
lol

Name: Anonymous 2008-04-13 14:11


lol

Don't change these.
Name: Email:
Entire Thread Thread List