ok, this is probably pretty stupid of me, but i can't figure out how to set a variable equal to the result of a mathmatical statement. for instance, i want to set the variable tmp equal to 5 ...
ftp xx.xxx.xxx.xxx 21
when I ftp to default 21, it works ok. When I ftp xx.xxx.xxx.xxx 25, it gives me the above connection error.
I'm working on an xp and win95. Both machines give th...
I am trying to run sqlplus and sqldr from a korn shell script. See the script below. It run step 2 but doesnt go to step 3. If i remove step 2 it runs step 3 but it give me >> unmatched erro...
I have a user that wants to ftp a XLS file into Unix (solaris), I need a way to convert it from XLS to CSV. What can I use in Solaris Unix that can do this for me, or what kind of program do I...
Hi,
I need a simple command line (Linux) to retrieve documents with forms type POST. I use wget for GET forms..... any idea?
Thx
Hi
I have a set of data as the following under unix.
RowNo ColA ColB ColC ColD
1 DDD CG 100000 17.98
2 EEE CG 34000 13.42
3 FFF CG 6000 17.98
4 MALCG ABC BB 100000 13.42
5 ...
Hi,
Is there a way to setup TAB to be the auto-completion key for file and command expansion?
I have been able to get ESC ESC to work with emacs and ESC-\ with vi , but I can't get TAB ...
This is basic unix tasks, but since I don't have much experience on unix, I'm asking u experts here.
Let's say, can I zip the files in windows, then unzip it in unix? If so, what is the c...
I need to run a script from another directory and need to keep the filename and path name separate.
My command works if it is run from the directory where my files are located. How do I ge...
What's difference between ms-dos, windows and unix operating system?
1. what are the possible values in TZ variable in HP UNIX system. what is it purpose and what is the format for changing it?
2. When i did a echo $TZ in the HP unix system i am getting EST...
If I log into a Unix server, what is the command to copy a file from that server to my local Windows computer?
This question is similar to one posed 6/13/2003, however my predicament is that I am sending over multiple files with a dual extension (i.e. .mass.WIP) and do actually get all of the files ove...
I have create a crontab file and it is executing every second. How can I stop the job if I am not a super user?
I have a makefile in AIX that has an "if" statement in a dependency as such:
glorp:
if test ! -s "myFile"
then
doglorp myFile
fi
When I make glorp, ...
We are extracting data from DLT tapes onto a very large filesystem ( > 2.5 TB, yes terabytes). tar has started reporting "Invalid file system control data" errors on all of our tapes now. It...
i have xyz.tar.Z.
I first said uncompress xyz.tar.Z, i got xyz.tar. So far sao good.
Next i want to get all the files( in xyz.tar ) in a folder called deepak, how do i go about it, pleas...
Does Awk have a function to trim leading spaces from a variable? Like printf("%s\n" trim($1));
I am running SSH2 Server on Windows 2000 Server. And I want to write scripts to automate login and upload files using sftp from clients running Windows, unix platforms..
On windows client I...
I have a .txt file with a bunch of file names in it(new line terminated). These files are in the same directory as the .txt file is in. I want to copy all these files to a sub directory. So I ...
Hi,
I am trying to uncompress an UNIX .tar.z file from within Windows.
Can anybody help please.
Thanks
nutnut
I am using PUTTY and ksh is the default shell. Through isql i am connecting to databases. I have different aliases to connect to DEV/PROD. What i want to be able to do is if i enter the alias...
Hello,
My script needs to name all files in a directory to .flv
However this keeps the old extension so filename.mpg becomes filename.mpg.flv
Help me edit the script so filename.mpg bec...
Hi Folks,
This is what I know:
(uuencode fileName fileName) | mailx -s "Subject" "someone@email.com"
This will email the file called "fileName" as an attachment to "someone@email.com"
...
HI Expert,
How to grep multiple patterns?
To make it clear, let me give an example.
Content of a text file:
Apple
Orange
Strawberry
Lemon
I want to grep lines contain "Apple" o...