Archive for the ‘HowTo’ Category

How to find files in linux

Need to find files older than certain time frame? This will help, “find [dir] -type f -mtime +[24hours*n] ” Examples, Show files older than 7 days

Show files older than 7 days and rm them.

or if you have a large number of files

How to view line numbers in vi

When editing large files in vi or vim line numbers become very important. This is how you turn on/off line numbers in vi or vim. Turn on line numbers While vi is in edit mode and not inserting type the following :set number Turn off line numbers While vi is in edit mode and not […]

Page 30 of 30« First...1020«2627282930
© 2008-2012 The Danesh Project
Powered by Wordpress and made by Guerrilla. Hosted at ServerFreak