Suppose you have some variables which you want to use in file1.sh.
Now to import those variables in file2.sh what you need to is just run the file1.sh in your file2.sh.
This will do for you.
i'm importing tables to oracle 7, but sometimes import give me warnings (not failures) how can i rollback the whole imported tables if warnings occured
please advise
thanx (2 Replies)
Hello,
I want to import an Oracle database file on my fresh DB, bought before successfully with exp command.
But is it possible to import some tables from the dmp file, because they are too large and it's so long !?
I didn't find any option in imp command to make exception on certain tables...... (1 Reply)
I get this error
I have a laptop with solaris 10 x86 installed
How can I go about this
Thank you
State: offline
Reason: Start method is running
See: Sun Message ID: SMF-8000-C4
See: /etc/svc/volatile/system-install-discovery:default.log
Impact: 11 dependent services are not running:... (1 Reply)
Hi
How to import the new service which i created without root permission.
As well how we can set the uid in service.
When i import i got the following error,
svccfg import /var/svc/manifest/site/newservice.xml
svccfg: Could not create temporary service "TEMP/site/newservice"... (6 Replies)
Hi All,
I need to hold one variable in another script.
I mean, i will be running 1st script say ScriptA which should import one variable from another script say ScriptB.
I will be incrementing the variable everyday in ScriptA and want to place it in ScriptB.The next day i should get the... (2 Replies)
i need to fetch string from file A into varible at file B
example:
$cat A.txt
2271
B.sh
#!/bin/sh
number=2271(from file A)
kill -9 $number
so,how can i make it happen?
Thx (5 Replies)
I have a calling script which consists of calls to other scripts via the sh command.
ie vi callscript.sh
sh smallscript1.sh
extra unix commands
sh smallscript2.sh
exit
In smallscript1, I prompt for a filename, which I handle via :-
read f1
export f1
I then need... (5 Replies)
Hello,
I want to give a value from a txt file to my variable at my ksh script. I`ve searched on the net and I found the command
variable < file.txt
but it cannot see the file.
The .txt file contains two values in the first and the second line. Is there any way to give the first-line value to... (1 Reply)
Hi
I am using two shell scripts which are running on the system simultaneously. And in one of the script i am exporting an Integer Variable.
Now i want to use the variable in another script. But i cannot run the first script in the second as the first script has many other functions which... (3 Replies)
Discussion started by: Ajesh
3 Replies
LEARN ABOUT CENTOS
xzcmp
XZDIFF(1) XZ Utils XZDIFF(1)NAME
xzcmp, xzdiff, lzcmp, lzdiff - compare compressed files
SYNOPSIS
xzcmp [cmp_options] file1 [file2]
xzdiff [diff_options] file1 [file2]
lzcmp [cmp_options] file1 [file2]
lzdiff [diff_options] file1 [file2]
DESCRIPTION
xzcmp and xzdiff invoke cmp(1) or diff(1) on files compressed with xz(1), lzma(1), gzip(1), bzip2(1), or lzop(1). All options specified
are passed directly to cmp(1) or diff(1). If only one file is specified, then the files compared are file1 (which must have a suffix of a
supported compression format) and file1 from which the compression format suffix has been stripped. If two files are specified, then they
are uncompressed if necessary and fed to cmp(1) or diff(1). The exit status from cmp(1) or diff(1) is preserved.
The names lzcmp and lzdiff are provided for backward compatibility with LZMA Utils.
SEE ALSO cmp(1), diff(1), xz(1), gzip(1), bzip2(1), lzop(1), zdiff(1)BUGS
Messages from the cmp(1) or diff(1) programs refer to temporary filenames instead of those specified.
Tukaani 2011-03-19 XZDIFF(1)