Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2012
    Posts
    124
    Thanks
    5
    Thanked 1 Time in 1 Post
    Rep Power
    2

    What is your favorite Linux script?

    Just being nosy today... what are your favorite scripts, tweaks or mods that you have applied to servers or your OS within Linux?

    Should be interesting for a few of us to see what you Linux Pro's are up to.




  2. #2
    Join Date
    Dec 2011
    Posts
    71
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    2
    I've become rather pleased with my findls shell script.

    The Linux find command is very powerful and useful, but I found that I was typing variations of the same arcane commands a lot, so I made a script to simplify it.

    If I don't specify the directory, it uses the current directory, but I can specify one or more if I want.

    And I don't need to use the -name switch, I just list one or more filenames, with wildcards, that I want to find.

    And I don't have to use -exec grep searchtext {} + like I used to to search the files I find, I can just use -g searchtext.

    And pruning and maxdepth are supported. The order of the arguments is arbitrary. I add to it as I find additional features of find that I want to use.

    And if I don't trust my script but want to check and see what it's going to do, I just add -n and it'll show me the exact command it's going to execute when I up arrow and remove the -n.

    Cool, eh?
    Last edited by KenJackson; 04-25-2012 at 10:03 PM.

 

 

Similar Threads

  1. What Is Your Favorite Desktop Environment?
    By Sinister_Diagram in forum Desktop / X
    Replies: 37
    Last Post: 05-18-2013, 01:45 PM
  2. What's your favorite Linux distribution?
    By lucasbytegenius in forum General Linux
    Replies: 25
    Last Post: 01-14-2013, 09:47 PM
  3. Favorite Linux distro?
    By Justin in forum General Linux
    Replies: 4
    Last Post: 04-28-2012, 11:20 AM
  4. 4 Best Free Linux Script Writing Tools
    By News in forum Linux News
    Replies: 0
    Last Post: 02-05-2012, 08:46 PM
  5. Replies: 0
    Last Post: 01-06-2012, 11:15 PM

Bookmarks

Posting Permissions

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








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,564
Threads: 3,917
Posts: 9,436
Top Poster: Fred (1,486)
Welcome to our newest member, nixsavy

» Links



Powered by vBadvanced CMPS