tmp

How do I Install Slackware Linux version 13.13 using a bootable USB stick under Unix or Linux operating systems?

{ 1 comment }

UNIX / Linux: awk Add Two Numbers

by Vivek Gite on October 2, 2010 · 0 comments

How do I add two numbers using awk? How do I calculate all incoming number stream on fly and display the total using awk?

{ 0 comments }

I need to get a list of sizes in human readable du output format. How do I get the output for du command in GB under Linux or UNIX operating systems?

{ 1 comment }

How do I create a tar file under Linux using command line options?

{ 0 comments }

How to: create a temporary file securely

by Vivek Gite on November 29, 2007 · 2 comments

Q. How do I create a temporary file securely under UNIX Bash shell? A. There are many ways: [a] mktemp command – make temporary unique filename [b] $RANDOM – Use $RANDOM variable mktemp command From the man page: The mktemp utility takes the given filename template and overwrites a portion of it to create a [...]

{ 2 comments }

How do I replace a string with another string in all files? For example, ~/foo directory has 100s of text file and I’d like to find out xyz string and replace with abc. I’d like to use sed or any other tool to replace all occurrence of the word.

{ 34 comments }