10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi @all!
In my MySQL-backup-script I backup and compress every single table with this command:
/usr/bin/mysqldump --opt database_x table_y | /usr/bin/pbzip2 -c > "/media/BackUpDrive/Backup/table_x.gz"Unfortunately these files need modification - they have to start with the following line(s):... (7 Replies)
Discussion started by: gogo555
7 Replies
2. Shell Programming and Scripting
Hi
I want to create a script which deleted files in the following folders older than 30 days. There are a particular version of files inside it to be deleted
Folders :
/files0/interfaces/ResponsysSavedList/BackInStock/EmailContent/backup... (3 Replies)
Discussion started by: Scudza
3 Replies
3. UNIX for Dummies Questions & Answers
Hello Friends,
I am a Graduate in Computers. I completed BCA degree this year. I want to make my career in UNIX. But, unfortunately I don't know anybody who can guide me. I am totally confuse because I don't know where to start and what are the future prospect in UNIX.
Please give your... (4 Replies)
Discussion started by: Luckyless
4 Replies
4. Shell Programming and Scripting
Hi,
Below is my issue which I desperately need and I want a shell script which can do this job.
I need this script as I m planning to put this for a system health check. Please assist me.
1. There are 10 log files in a particular location.
2. open each log file. Goto to the end of the... (1 Reply)
Discussion started by: kashriram
1 Replies
5. UNIX for Advanced & Expert Users
--------------------------------------------------------------------------------
hy guys,
i got few interview questions i need someone to answer urgently:
1)If you cant get to the root, you try to fsck it, but gets errors to read file systems. What steps do you take to recover the host... (1 Reply)
Discussion started by: charneet
1 Replies
6. Solaris
Hi all,
I have been working on a few files that have been 7za compressed.(which are a part of an OS)
Now after extracting the file and doing manipulations i did a putback.
But when i create an image and burn it onto the disk to check if my changes are working...
I get error at boot time.
Now... (0 Replies)
Discussion started by: wrapster
0 Replies
7. Shell Programming and Scripting
hi i want solution regarding usage of array. i m having code which is written using if-
elif and can i use or access using arrays.
here i wana use array values along with if -elif condition. i dnt wana use command line argument
parameter1=(scram no_scram)
if ; then
... (0 Replies)
Discussion started by: manish1
0 Replies
8. UNIX for Dummies Questions & Answers
Hi
I am using DB2 as the database and i am reading syscat.columns from the database.
I want to manipulate the rows returned by running SQL query from the shell script. The manipulation involves addition and deletion of the rows from the resultset.
All the above i want to do using SQL... (5 Replies)
Discussion started by: skyineyes
5 Replies
9. Shell Programming and Scripting
Ok I admit it I am stumped and I would appreciate any and all help
Here is what I am trying to do.
Korn Shell script
I am setting a variable to another shell script that I want to invoke in my main script like so:
GETDIR=/vol100/cfg/.getdir
The .getdir shell script take a parameter,... (4 Replies)
Discussion started by: Batch
4 Replies
10. Shell Programming and Scripting
i have a script, which is continuously looping. i want to view the script name when i use ps command... it is only showing -sh ...
UID PID PPID C STIME TTY TIME COMMAND
informix 8533 20923 0 18:19:28 pts/ta 0:00 -sh
but i dont have my scriptname displayed .... how can i do that my script is... (0 Replies)
Discussion started by: guhas
0 Replies
LZMA(1) General Commands Manual LZMA(1)
NAME
LZMA - a compression algorithm, based on Lempel Ziv's compression method.
SYNOPSIS
lzma <e|d> inputFile outputFile [switches...]
DESCRIPTION
LZMA provides high compression ratio and very fast decompression, so it is very suitable for embedded applications. For example, it can be
used for ROM (firmware) compression.
lzma is the default and general compression method of 7z format in 7-Zip program.
FUNCTION LETTERS
e Encode file
d Decode file
b Benchmark
SWITCHES
-a{N} Set compression mode - [0, 1], default: 1 (max)
-d{N} Set dictionary - [0,30], default: 23 (8MB)
-fb{N} Set number of fast bytes - [5, 273], default: 128
-mc{N} Set number of cycles for match finder
-lc{N} Set number of literal context bits - [0, 8], default: 3
-lp{N} Set number of literal pos bits - [0, 4], default: 0
-pb{N} Set number of pos bits - [0, 4], default: 2
-mf{MF_ID}
Set Match Finder: [bt2, bt3, bt4, hc4], default: bt4
-eos Write End Of Stream marker
-si Read data from stdin
-so Write data to stdout
SEE ALSO
7z(1),7za(1)
AUTHOR
Written for Debian by Mohammed Adnene Trojette.
Mohammed Adnene Trojette May 5 2006 LZMA(1)