Whos Online

Joomla

We have 166 guests and 0 members online

    Forums

    We have 25 guests and 0 members online

      Tags

      android (7) anonymity (9) ant (10) apache (54) apple (7) atv (18) australia (8) bernardet (7) bombardier (7) book (7) browser (10) business (8) caliber30 (61) canon (9) cedricwalter (6) checklist (9) chrome (6) classpath (6) collection (7) continuousbuild (24) design (13) designpattern (23) desktop (7) development (28) DIY (9) download (6) draganflyer5 (9) dslr (14) eclipse (30) ek4 (8) electronic (18) enfrancais (66) event (6) FAQ (6) figures (13) firefox (20) firmware (7) flash (9) flickr (6) framework (12) fud (9) game (19) gaming (6) google (66) gpl (8) gps (9) hacking (23) hdtv (7) hollidays (15) homecinema (14) homepage (20) howto (65) innoveo (7) iphone (6) italy (10) itsatrap (8) java (73) javascript (11) joke (11) joomla (214) joomla15 (33) joomlacloud (7) junit (9) kde (10) kyosho (62) links (17) linux (121) LittleBigPlanet (16) mambo (18) manual (8) manurhin (9) maps (6) maven (35) mediacenter (9) microsoft (52) modding (10) module (16) morespeed (16) motor (8) motorcycle (13) myhomepage (14) mysql (14) nas (14) neogeo (20) opencomment (27) opensource (61) opensuse (10) oss (7) p2p (7) patch (32) pc (12) pdf (8) php (25) picasa (7) plugin (65) privacy (9) projector (11) protection (7) ps3 (42) publicity (9) quad (18) raptor30 (7) rchelicopter (161) references (6) review (32) robot (9) robotic (7) rss (8) safety (8) scooter (29) security (61) securityimage (8) securityimage3 (6) securityimage4 (21) securityimage5 (19) securityimages (14) securityimages5 (6) server (17) simulator (8) smugmug (12) snk (16) software (31) sony (38) spammer (7) statistics (13) storage (7) subversion (6) suse (12) switzerland (7) teamcity (15) testing (9) thundertiger (20) tips (31) tomcat (7) tomtom (7) translatetofrench (8) trip (17) troubleshooting (7) tutorial (9) upgrade (15) vespa (10) video (17) vintage (8) watercooling (9) web2.0 (26) windows (14) xbmc (7) xbox (10) zurich (16) zürich (11)

      My status
      Facebook Digg LinkedIn MySpace Twitter Playstation network Xbox Live
      Digg Del.icio.us Reddit Simpy StumbleUpon Ask Facebook Slashdot Backflip Spurl MisterWong Netvouz Diigo Segnalo RawSugar Shadows Google Furl Newsvine Yahoo Technorati Live Blogmarks Netscape Fark Wink LinkaGoGo Bibsonomy FeedMe Magnolia Blue Tailrank Del.irio.us Y PlugIM SpotBack LinkSwarm

      Donation

      Thank You for supporting my work
      Click Here to make a donation

      Gallery

      Some useful Unix/Linux Bash alias Print E-mail
      User Rating: / 0
      PoorBest 
      Monday, 22 June 2009 21:03

      tatice-linux-tux-10409

      Some useful Bash Linux alias taken from my user profile. If you have a long command that you type frequently consider putting it in as an alias.

      In computing, alias is a command in various command line interpreters (shells) such as Unix shells, 4DOS/4NT and Windows PowerShell, which enables a replacement of a word with another string. It is mainly used for abbreviating a system command, or for adding default arguments to a regularly used command. [WikiPedia]

      Description  
      Find all directories and and chmod them to rwxr.xr.x alias fixpermD='find . -type d -exec chmod 755 {} \;'
      Find all files and and chmod them to rw.r..r.. alias fixpermF='find . -type f -exec chmod 644 {} \;'
      Both above and set recursively user and user group in one shot alias fixUserAPerms='fixpermF; fixpermD; chown -R userA .;chgrp -R usergrp .'
      Make a directory and all files recursively read only, secure but a pain to maintain. see next  alias ro='find . -type f -exec chmod 444 {} \;find . -type d -exec chmod 555 {} \;'
      Make a directory and all files recursively read write, just the time to update your site. alias rw='find . -type f -exec chmod 644 {} \;find . -type d -exec chmod 755 {} \;'
      Lower case all files in current directory alias lowercaseallfiles='for f in *; do mv $f `echo $f | tr [:upper:] [:lower:]`; done'
      List all open connections to your server alias listOpenConnections='lsof –i'
      List all internet connections alias listinternetconnection='netstat –lptu'
      find the 10 biggest in size directories alias dirsizes=’du -cks * | sort -n | tail –10'
      Show open port alias openports='netstat -nape --inet'

      Related Posts

      relatedArticles

      Tags See All Tags Add New Tag...

      Please Enter New Tags Separated By Comma's
        Or Close

      bash  howto  linux  unix 



      Comments
      Add New Search RSS
      +/-
      Write comment
      Name:
      Email:
       
      Website:
      Title:
      UBBCode:
      [b] [i] [u] [url] [quote] [code] [img] 
       
       
      :):grin;)8):p:roll:eek:upset:zzz:sigh:?:cry
      :(:x
       
      Please input the anti-spam code that you can read in the image.
      Last Updated on Monday, 22 June 2009 19:09
       

      Top 200 Tags

      Want to put your ad banner here, contact us