Hi,
While uncompress , gunzip filename.cpio.gz getting the fg. error
gunzip: filename.cpio.gz: unexpected end of file.
Whats the problem?
Size of this .gz file is 660mb .
Thanks, (1 Reply)
what do u mean by " 'end of file' unexpected "?
i am running a script called "s1" which internally calls "s2"
now s1 starts running & at a point (where it is suppose to call "s2")
i get a message
'end of file' unexpected....
& my script(s) are not working..
any ideas on this?
regards... (4 Replies)
Ok, I sent several gzipped files using the UNIX "mail" utility without any special settings (bad idea). When I saved these files from my mail and tried to gunzip them, I would get something like the following error:
gunzip: wmGrep.mel.gz: unexpected end of file
Ok, I messed up. But is it... (4 Replies)
This is the script
path=/oracle/ora10gdb/sample
archive=/oracle/ora10gdb/archive
cd $path
for i in `ls`;do
mv $i $archive
Done
Please tell me why it is givind this error (2 Replies)
HI,
I was converting a .bat file to .sh file for unix
Code snippet
#!/usr/bin/sh
set -x
if then
goto RegularBuild;
CURDIR="$1";
cd "$CURDIR";
:RegularBuild
echo "Checking for existing fip_help.properties in def/properties directory..."
if then
rm -f fip_help.properties;
... (1 Reply)
HELP PLEASE!!
I am running this script, and i keep getting the error 'end of file' unexpected. I know that usually means parenthesis or whatever is out of place but i cant find anything!! I am new to scripting and i put some "print" staements in and it is not getting past the first IF statment... (7 Replies)
I am getting a "line 47: syntax error: unexpected end of file", why? According to my estimate, line 47 is 2 lines after the last line of code here. Also, the $1 variable represents the current user logging in, and the script runs with root privileges (This is a Mac OS login hook script using... (5 Replies)
Hi,
On adding below code to my script shows the error on executing else script works fine.
sqlplus $user_name/$password <<EOL
truncate table order;
commit;
truncate table order_hist;
commit;
insert into order(ID,TRAN,CUST_NAME,OPT_VAL) select * from order_bkp;
insert into... (5 Replies)
Hello,
I have another problem with my script. Please accept my apologies, but I am really nooby in sh scripts. I am writing it for first time.
My script:
returned=`tail -50 SapLogs.log | grep -i "Error"`
echo $returned
if ; then
echo "There is no errors in the logs"
fi
And after... (10 Replies)
Discussion started by: jedzio
10 Replies
LEARN ABOUT NETBSD
sysinst
SYSINST(8) BSD System Manager's Manual SYSINST(8)NAME
sysinst -- install or upgrade a NetBSD system
SYNOPSIS
sysinst [-D] [-f deffile] [-r releasename]
DESCRIPTION
sysinst is a menu-based program that may be used to install or upgrade a NetBSD system. It is usually invoked automatically when the system
is booted from appropriate installation media.
sysinst is usually not present on a NetBSD system that has been fully installed.
OPTIONS -D Switch on debugging.
-r releasename Set the releasename if it is different to the one compiled. Currently unused.
-f deffile Set a file for definitions other than the defaults. See DEFINITION FILE for its format.
DEFINITION FILE
The definition file is used to set several other names and directories to search for. You can specify any of the options in the file. They
are stored as:
option = value
pairs. In this description, REL and MACH are the release and architecture respectively, determined by the image sysinst is used on.
option name default value description
release REL Release name (also set by -r releasename).
machine MACH Machine architecture
xfer dir /usr/INSTALL Transfer dir
ext dir Extract dir (will usually be set later on)
ftp host ftp.NetBSD.org ftp host for fetching files
ftp dir pub/NetBSD/NetBSD-REL ftp directory for fetching files
ftp prefix /MACH/binary/sets directory to look for sets. Note that this is used for all kinds of fetching (CDs, local FS,
...), not only ftp.
ftp user ftp ftp user for connecting
ftp pass - ftp password
ftp proxy - ftp proxy
nfs host - nfs host for fetching via nfs
nfs dir /bsd/release nfs directory for fetching files
cd dev cd0a name of the CD device for fetching files
fd dev /dev/fd0a name of floppy for fetching files
local dev - Other device to be mounted for fetching files
local fs ffs FS-type for local dev
local dir release Directory to look for in the mounted local fs
targetroot mount /targetroot Directory to mount target root dir to
dist postfix .tgz Suffix of set files to be extracted
diskname mydisk disktab(5) diskname to use for target disk
SEE ALSO release(7), afterboot(8), boot(8), diskless(8)
<machine>/INSTALL.* files on CD-ROM installation media .../NetBSD-<rel>/<machine>/INSTALL.* files in NetBSD releases or snapshots.
HISTORY
A sysinst command appeared in NetBSD 1.3.
BSD September 17, 2011 BSD