Archive

Posts Tagged ‘Command Line’

How To Turn Off Overwrite Request on when you copy in Centos

July 15th, 2009 No comments

When copying a folder in centos, it interactively asks if you want to overwrite a file, the -f flag does not work.  Simple solution, use \cp.

How to Find Large Files using Linux Command Line

May 7th, 2009 No comments

find / -type f -size +20000k -exec ls -lh {} \; | awk ‘{ print $9 “: ” $5 }’

or

find / -type f -size +20000k -exec ls -lh {} \; | awk ‘{ print $9 “: ” $5 }’ > filelist.txt

To put the results in a text file.

Found here, a good resource for command line stuff – http://snippets.dzone.com/posts/show/1491

Great Site For Scripting and Command Line

February 26th, 2009 No comments

Twitter is a cool way to find great resources.  Shell fu is following me so I checked out their site, sounded good.  Great resource, lots of useful  and advanced shell scripts and command line tips.

Check it out at http://www.shell-fu.org/

Follow me on twitter at http://www.twitter.com/howtolinux

Follow shell-fu on twitter at http://twitter.com/shellfu

Categories: Command Line Tags: , , ,