Results 1 to 13 of 13
  1. #1
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    13 Command Line Tricks
    http://www.seomoz.org/blog/web-devel...nd-line-tricks

    I live by these commands. It's nice to see somebody's put them all together with clear descriptions and examples. I even learned something new here, I never knew about the -h parameter for human readable file sizes. Going to start using ls -lah instead of ls -la from here on out.

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  2. #2
    The slot machine that IS paid! Billy Kay's Avatar
    Join Date
    January 18th, 2005
    Location
    Small Town in Tennessee
    Posts
    5,226
    I never knew about the -h parameter for human readable file sizes. Going to start using ls -lah instead of ls -la from here on out.
    It's official Scott. You do not speak the same language as a human.

    You're bionic, aren't you?

  3. #3
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    Quote Originally Posted by Billy Kay
    It's official Scott. You do not speak the same language as a human.

    You're bionic, aren't you?
    You must have done an "ls" at least once in your day, admit it!

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  4. #4
    Moderator MichaelColey's Avatar
    Join Date
    January 18th, 2005
    Location
    Mansfield, TX
    Posts
    16,232
    It looked like a "Unix for Newbies" page to me. Most of the stuff there was very, very basic. Also, "nohup" is a much better way to run programs in the background than the way they were recommending. If you lose your connection, it keeps on running if you use "nohup".

    Real nerds use "vi".

    There's nothing like stringing together a series of grep, cut, sed, tr, sort, and wc commands to rip through server logs. Who needs a fancy analytics program?
    Michael Coley
    Amazing-Bargains.com
     Affiliate Tips | Merchant Best Practices | Affiliate Friendly? | Couponing | CPA Networks? | ABW Tips | Activating Affiliates
    "Education is the most powerful weapon which you can use to change the world." Nelson Mandela

  5. #5
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    Quote Originally Posted by MichaelColey
    Real nerds use "vi".
    I guess I'm not a real nerd then.. I use "vim"

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  6. #6
    http and a telephoto
    Join Date
    January 18th, 2005
    Location
    NYC
    Posts
    17,708
    Geeks Unite!!!
    Deborah Carney
    TeamLoxly.com BookGoodies.com ABCsPlus.com

  7. #7
    notary sojac Herb ԿԬ's Avatar
    Join Date
    January 18th, 2005
    Location
    Central/Western NY State
    Posts
    7,741
    in some of the apps I work with, -h is used with the specification of a different host. I spent so much time with un*x clones last year I forgot what "dir" was.

  8. #8
    Affiliate Manager cbsturg's Avatar
    Join Date
    January 24th, 2007
    Location
    Lima OH
    Posts
    753
    Quote Originally Posted by Herb ԿԬ
    in some of the apps I work with, -h is used with the specification of a different host. I spent so much time with un*x clones last year I forgot what "dir" was.
    "dir", now that brings back some memories (not all of them pleasant).
    Chris Sturgill
    "All my life I've had one dream, to achieve my many goals." - H. Simpson

  9. #9
    Classic Rocker Mack's Avatar
    Join Date
    January 27th, 2007
    Location
    Lower Left Coast
    Posts
    1,167
    edlin

  10. #10
    notary sojac Herb ԿԬ's Avatar
    Join Date
    January 18th, 2005
    Location
    Central/Western NY State
    Posts
    7,741
    Cool
    Quote Originally Posted by cbsturg
    "dir", now that brings back some memories (not all of them pleasant).
    sometimes I have to get the data for a sitemap by going into the command prompt and calling the contents of a directory into a text file. Think I'm going to have one of my kids write a program to take a directory listing and mangle it into what looks like an .xml sitemap. The software I have in-house can only handle so much, also causes too many spiderbites on the servers.


    _____________________
    who is General Failure and why is he reading my Drive A?

  11. #11
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    Quote Originally Posted by Herb ԿԬ
    sometimes I have to get the data for a sitemap by going into the command prompt and calling the contents of a directory into a text file. Think I'm going to have one of my kids write a program to take a directory listing and mangle it into what looks like an .xml sitemap. The software I have in-house can only handle so much, also causes too many spiderbites on the servers.
    That should be a snap with a little PHP. They've got some great functions for reading file names from a directory.

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  12. #12
    notary sojac Herb ԿԬ's Avatar
    Join Date
    January 18th, 2005
    Location
    Central/Western NY State
    Posts
    7,741
    Arrow
    I'll have to work on it. My current method is to unleash a program that reaches out and touches every page on the server, causing the bandwidth to go crazy. I just want to plug in a directory list somehow and put the rest of the xml before and after each file name, as well as finish the url.

  13. #13
    Affiliate Manager adambha's Avatar
    Join Date
    October 20th, 2006
    Posts
    301
    Quote Originally Posted by MichaelColey
    Real nerds use "vi".
    Real *real* nerds use vi to send mail using mutt.

  14. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Featured: what's with Google site: command?
    By Herb ԿԬ in forum Search Engine Optimization
    Replies: 15
    Last Post: May 8th, 2014, 03:02 PM
  2. Replace Command
    By wow100 in forum WebMerge (Fourthworld.com)
    Replies: 1
    Last Post: November 11th, 2009, 05:48 PM
  3. Does anybody know the GET command
    By kbrock in forum Rakuten LinkShare - LS
    Replies: 6
    Last Post: January 17th, 2007, 10:04 AM
  4. Get same result for every command
    By dpam in forum Cusimano.com Scripts
    Replies: 4
    Last Post: September 12th, 2003, 07:17 PM
  5. I command thee oh Genie
    By Wayder in forum Programming / Datafeeds / Tools
    Replies: 2
    Last Post: January 13th, 2003, 06:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •