Go Back   Tutorial Ninjas > General > Questions
Questions Ask the community
Reply
 
LinkBack Thread Tools Display Modes
Old 07-16-2007, 07:18 PM   #11 (permalink)
Ipp
Administrator
 
Join Date: Feb 2007
Location: Maryland
Posts: 1,697
Send a message via AIM to Ipp Send a message via MSN to Ipp Send a message via Skype™ to Ipp
Default

You dont want to learn linux by starting out with a server build. Generally you want your servers to be as stable as possible and by experimenting you can kill stability and performance. Get rid of crapdows and start playen around with a client either Ubuntu, openSuSE, or Fedora Core
Ipp is offline   Reply With Quote
Old 07-17-2007, 08:37 AM   #12 (permalink)
themaceisback
Ninja Tutorialist
 
Join Date: Mar 2007
Posts: 524
Default

i have, i meant learning about servers. I have suse on a laptop and i use it alot, and i do a good amount with unix terminal.

Last edited by themaceisback : 07-17-2007 at 08:43 AM.
themaceisback is offline   Reply With Quote
Old 07-17-2007, 11:14 AM   #13 (permalink)
Ipp
Administrator
 
Join Date: Feb 2007
Location: Maryland
Posts: 1,697
Send a message via AIM to Ipp Send a message via MSN to Ipp Send a message via Skype™ to Ipp
Default

Gimme a command(1 line) to get the contents of the current directory and show their size if they do not have an extension.

No loops.

If ya can do that easily then you have worked long enough in the terminal, to move to the next step.
Ipp is offline   Reply With Quote
Old 07-17-2007, 12:45 PM   #14 (permalink)
Venom
Ninja Tutorialist
 
Join Date: Mar 2007
Posts: 183
Default

I would guess Dir. lol.. no clue.. just first thing that popped to head.
Venom is offline   Reply With Quote
Old 07-17-2007, 09:45 PM   #15 (permalink)
themaceisback
Ninja Tutorialist
 
Join Date: Mar 2007
Posts: 524
Default

i guess you are right i didn't know off the top of my head, but after looking at the man pages i would guess ls -s, but i don't know how to do it without extensions. I think ill postpone setting it up for a while then
themaceisback is offline   Reply With Quote
Old 07-17-2007, 10:04 PM   #16 (permalink)
Ipp
Administrator
 
Join Date: Feb 2007
Location: Maryland
Posts: 1,697
Send a message via AIM to Ipp Send a message via MSN to Ipp Send a message via Skype™ to Ipp
Default

Heres the power of the commandline, i wrote up a tutorial so check it out: Tutorial Ninjas » Blog Archive » Why Pipes Rock

'ls | xargs -n 1 du -lh | grep -v .conf' - will also go into folders(filtering out .conf)

or you could just do the grep -v ontop of your ls -s.
Ipp is offline   Reply With Quote
Old 07-17-2007, 10:39 PM   #17 (permalink)
Venom
Ninja Tutorialist
 
Join Date: Mar 2007
Posts: 183
Default

Yeah, I don't think I care that much to learn linux and type all that out everytime I want to do that.. I'd rather just use a mouse and go through a few folders.
Venom is offline   Reply With Quote
Old 07-18-2007, 03:24 PM   #18 (permalink)
themaceisback
Ninja Tutorialist
 
Join Date: Mar 2007
Posts: 524
Default

i knew about pipe and grep, but i couldn't find the exclusion option for grep when looking through the man pages.
themaceisback is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 01:36 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0