<$BlogRSDURL$>
LinuxCommands
Tuesday, October 05, 2004
  find2perl
The find2perl command can be used just like the UNIX find command and it generates the perl code to emulate find. For example, to search for all files named "foo", and print out the Perl code to perform this function, you can type
find2perl . -name foo -print

 
  RCS Commands

check in: ci-u filename
check out: co-l filename
display version x.y of file: co -px.y filename
undo to version x.y: co -rx.y filename
diff file active in filesystem and last revision: rcsdiff filename
diff versions x.y and x.z: rcsdiff -rx.y -rx.z filename
view log of checkins: rlog filename
break an RCS lock held by another person on a file: rcs -u filename
 
Tuesday, June 08, 2004
  To get information on filesystem, such as which device is your hard drive, run

df -k

To check hard drive performance, run

/sbin/hdparm -tT /dev/hdc

The above returns the buffer-cache read speed and the buffered disk read speed. 
Friday, April 16, 2004
  To dump a MySQL database:

mysqlhotcopy databasename targetdirectory

To see what the size of multiple directories are without seeing the size of all the files inside:

du -hcs directory1 directory2 directory3

To make an ISO image of a directory to be burned:

mkisofs -R -o newfilename.raw directoryname

To record a CD at 24x:

cdrecord -v speed=24 dev=0,0 filename.raw
 
Commands that are useful but easy to forget in Linux or programs in Linux.

ARCHIVES
04/01/2004 - 05/01/2004 / 06/01/2004 - 07/01/2004 / 10/01/2004 - 11/01/2004 /


Powered by Blogger