pipes

How do I make sure only authorized person access my backups stored on the tape drives (DAT, DLT, LTO-4 etc) under Linux or UNIX operating systems? How do I backup /array22/vol4/home/ to /dev/rmt/5mn or /dev/st0 in encrypted mode?

{ 5 comments }

How do I use awk pattern scanning and processing language under bash scripts? Can you provide a few examples?

{ 29 comments }

Can you tell me the location of for the MySQL error log file under Debian or Ubuntu Linux? How do I view error log file?

{ 2 comments }

I am trying to use xargs command using shell pipes and not able to understand how to control and use command line arguments. For example I’d like to find out all *.c file located in 100s of sub-directories and move them to another directory called ~/old.src. How do I use command line args with xargs to achieve the same?

{ 49 comments }

Linux Find Large Files

by on December 16, 2008 · 39 comments

Q. How do I find out all large files in a directory?

{ 39 comments }

Q. I’d like to save disk space for my FreeBSD 7 ISP server. We run webserver, nameserver from various jails under powerful HP RAID 10 server. How do I export /usr/ports from host to each jail hosted on /jail/ volume such as /jail/www, /jail/ns, /jail/sql etc?

{ 6 comments }

Q. I need to sort data from a log file but there are too many duplicate lines. How do I remove all duplicate lines from a text file under GNU/Linux?

{ 32 comments }