Search Results

Search: Posts Made By: negixx
13,576
Posted By negixx
How to extract data from a text file
Hello All,

Is there an easy way to extract data from a text file? The text file is actually a dump of a 2 page report with 6 columns and 122 lines. Example is

...
Forum: SuSE 07-13-2005
7,819
Posted By negixx
dangral, I tried chnging it to 8080, 808,...
dangral,

I tried chnging it to 8080, 808, etc but still does not work.

I get, connection refused.
2,144
Posted By negixx
Thanks! find command works now....whew! :)...
Thanks!

find command works now....whew! :)

find . \( -name 'XSKU*' -o ! -name . -prune \) -type f -mtime 2

Thanks!

negixx
2,144
Posted By negixx
thanks! the maxdepth options does not work...
thanks!

the maxdepth options does not work for us.

I tried using the "-prune" options as previoulsly stated but I am getting an error that says invalid conjunction....I will try it again......
2,144
Posted By negixx
I think I know what happened. I created the...
I think I know what happened.

I created the directory "jo" today and then copied all files to this new directory. This action must have updted the "access" time of the files to current (0). But...
2,144
Posted By negixx
If I try to enter a 0 or a -n in the atime...
If I try to enter a 0 or a -n in the atime option, I then get the files from the currect directory.
test=/glo71sw/716/devl/userdata/ftpord

/glo71sw/716/devl/userdata/ftpord --> find $test -name...
2,144
Posted By negixx
Find command question
Hi All,

I am trying to use the find command to search and delete files and have the following scenario. How come the file in the current directory is not getting listed out?
...
3,125
Posted By negixx
Thanks! that is why I am confused. And I tried...
Thanks! that is why I am confused. And I tried adding "*", I got the same results.

The book I am reading suggested to use "*"

ex.
$ print $PWD
/usr/home/valley
$ print ${PWD#*/}...
Forum: SuSE 07-07-2005
7,819
Posted By negixx
thanks, I tried it already but it didn't work. ...
thanks, I tried it already but it didn't work.

Here's my setup :

DSL IP say 68.55.234.64
|
V
DSL Modem/Router : 178.68.3.14 (firewall is open to allow...
3,125
Posted By negixx
Thanks! Is it also the same if I do : ...
Thanks!

Is it also the same if I do :

x=${x#*./}?

Another curios question. In processing variables, is it always a good practive to enclosed it with curly braces?

Thanks a lot!
...
3,125
Posted By negixx
what is a basename? a built in unix function?
what is a basename? a built in unix function?
3,125
Posted By negixx
it worked! Thank you very much!!!!
it worked!

Thank you very much!!!!
3,125
Posted By negixx
How to omit "./" store in variables
Good Morning All,

I did a find command to search for files and stored it in a variable. I then will use the variable to get the file name and "get" it from another server (using ftp). The...
Forum: SuSE 06-30-2005
7,819
Posted By negixx
Cannot connect to webserver
Hello All,

I need some help as to how to debug the problem I am having with my webserver. I am using Suse 9.2 pro as my server. I have setup my firewall and router to forward http 80 request to...
4,286
Posted By negixx
Thank yiou very much! Joseph
Thank yiou very much!

Joseph
4,286
Posted By negixx
Thanks! I will try the mmin option. ...
Thanks!

I will try the mmin option.

I tried the maxdepth option but it gave me an error. I am using hp-ux 11 ksh shell.

I have another question, what does the following line mean?

[ !...
4,286
Posted By negixx
Thanks! The files are only created in one...
Thanks!

The files are only created in one directory and all files starts with XORD. These files are created anytime within the hour and every top of the hour, I would like to check all XORD...
4,286
Posted By negixx
Any help is much appreciated...please. :)
Any help is much appreciated...please. :)
4,286
Posted By negixx
Thanks J. The file name cannot change after...
Thanks J.

The file name cannot change after processing that is why i have to depend on the `ls` information. :(
4,286
Posted By negixx
Need to process files created an hour ago
Hello all,

I would like to ask for an advice on how to deal with the following scenario.

Every now and then, our ERP system creates an interface text file with the following file format -...
1,969
Posted By negixx
Thank you very very very much! :) You are...
Thank you very very very much! :)

You are right, there are other rows with "HD" record.
1,969
Posted By negixx
Additional character output
Hi there,

I am just wondering if somebody can help me find out why am I getting additional characters on my "echo" command to create a text file. Here's my unix script :

#!/bin/ksh...
21,258
Posted By negixx
sorry for not being clear :) The error I am...
sorry for not being clear :)

The error I am getting is :
./wms_chkorder.ksh[62]: test: argument expected

I tried using $# -gt 0 and it worked! But I am just wondering why $1 does not...
21,258
Posted By negixx
How to check parameter variable?
Hello All,

I have a script that will email out if the email address is specified as parameter 1.

I am using ksh, and then tried the following :

email=$1

Following did not work, I am...
6,498
Posted By negixx
Thank you very much! I will try it out.... ...
Thank you very much! I will try it out....

Joseph
Showing results 1 to 25 of 32

 
All times are GMT -4. The time now is 10:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy