Unix/Linux Go Back    

Showing results 1 to 25 of 500
Search took 0.09 seconds.
Search: Posts Made By: jgt
Forum: Shell Programming and Scripting Linux 5 Days Ago
Replies: 6
Views: 413
Posted By jgt
Why can't you simply grep the config file. ...

Why can't you simply grep the config file.

grep IUPS configfile |read key newpath
PATH=$newpath; export PATH
Forum: Shell Programming and Scripting Linux 5 Days Ago
Replies: 3
Views: 275
Posted By jgt
I have done it in the past to avoid consuming a...

I have done it in the past to avoid consuming a user license.
Forum: What is on Your Mind? Linux 1 Week Ago
Replies: 47
Views: 645
Posted By jgt
this morning it started with the desktop view...

this morning it started with the desktop view instead of the phone view. about 4 hours ago. it starts with the phone view now.
Forum: Shell Programming and Scripting Linux 1 Week Ago
Replies: 8
Views: 315
Posted By jgt
You are still ignoring the fact the a file might...

You are still ignoring the fact the a file might still be arriving as you copy it, with the result that the copy may not be the entire file.
sorry, I missed your comment about .temp in post 5.
...
Forum: SCO Linux 2 Weeks Ago
Replies: 17
Views: 1,115
Posted By jgt
After two weeks of emails and phone calls, we...

After two weeks of emails and phone calls, we have been able to copy all the programs and data off his old system onto a Windows desktop system, with no loss of data. :)
Forum: Shell Programming and Scripting Linux 2 Weeks Ago
Replies: 16
Views: 625
Posted By jgt
This line lists the files in alphabetical order;...

This line lists the files in alphabetical order; which may not be the order that is expected.
Even using "ls -tr" will not necessarily have the last few files if the files arrive within a very short...
Forum: Shell Programming and Scripting Linux 2 Weeks Ago
Replies: 16
Views: 625
Posted By jgt
How do you know when all the files have been...

How do you know when all the files have been received. You could try to continually create the list of the last 3 files until the list no longer changes.


wait=0
cat /dev/null >previous
while...
Forum: Shell Programming and Scripting Linux 2 Weeks Ago
Replies: 16
Views: 625
Posted By jgt
From the time that you start your process to find...

From the time that you start your process to find the last three files and the time that you try to actually read the file how will you know that the file is still on your system?
Can you predict...
Forum: Shell Programming and Scripting Linux 2 Weeks Ago
Replies: 16
Views: 625
Posted By jgt
You have to explain how these files arrive? What...

You have to explain how these files arrive? What process assigns the file name? and what process removes the files from the directory.
How large are these files?
Forum: Shell Programming and Scripting Linux 2 Weeks Ago
Replies: 16
Views: 625
Posted By jgt
if [ -r job.pid ] then echo $(cat...

if [ -r job.pid ]
then
echo $(cat job.pid) did not terminate
mail -s "$(cat job.pid) did not terminate" admin
exit
fi
echo $$ >job.pid
list=$(ls *.job)
if [ $list <> "" ]
then
Forum: Shell Programming and Scripting Linux 2 Weeks Ago
Replies: 16
Views: 625
Posted By jgt
^^^ he didn't take my suggestions either in the...

^^^ he didn't take my suggestions either in the other thread he started.
Forum: Shell Programming and Scripting Linux 2 Weeks Ago
Replies: 3
Views: 333
Posted By jgt
Do not write a long running script; instead...

Do not write a long running script; instead create a cron job that runs as frequently as you deem appropriate.
Have the cron job create a lock file when it starts and delete the file when it is...
Forum: HP-UX Linux 4 Weeks Ago
Replies: 1
Views: 351
Posted By jgt
i posted a script to do this a month or so ago....

i posted a script to do this a month or so ago. search delvmime.
Forum: UNIX for Beginners Questions & Answers Linux 4 Weeks Ago
Replies: 7
Views: 529
Posted By jgt
you should be able to accomplish this by...

you should be able to accomplish this by processing the file twice.

sed -e 's/abcde/xxxxx/' <inputfile|grep abcde |sed -e 's/xxxxx/abcde/'
Forum: Shell Programming and Scripting Linux 4 Weeks Ago
Replies: 7
Views: 552
Posted By jgt
If the file is sorted, and the data exceeds 24...

If the file is sorted, and the data exceeds 24 hours, then the results will show only the maximum value for an hour on any day rather than the maximum for each hour on every day.


MAX=0...
Forum: SCO Linux 4 Weeks Ago
Replies: 8
Views: 632
Posted By jgt
5.0.2 lasted about 6 months in 1996 before 5.0.4...

5.0.2 lasted about 6 months in 1996 before 5.0.4 was released. As far as I remember, the install disk (N1) is only good to load a kernel and start the installation process from the cd.
I presume...
Forum: SCO Linux 10-14-2017
Replies: 17
Views: 1,115
Posted By jgt
See the other thread from today about booitng to...

See the other thread from today about booitng to a shell prompt from a cd.
Forum: SCO Linux 10-14-2017
Replies: 8
Views: 632
Posted By jgt
Dev 1/42 is the root file system. It is almost...

Dev 1/42 is the root file system. It is almost always a HTFS file system and there are no other operating systems that support this type.
Even if you do not have 5.0.7 installed, you may be able...
Forum: SCO Linux 10-10-2017
Replies: 17
Views: 1,115
Posted By jgt
The likelihood of successfully booting from a...

The likelihood of successfully booting from a diskette is very low. I went through this process recently, and was unable to create a btld diskette for 5.0.5. I ended up calling one of the diskette...
Forum: UNIX for Beginners Questions & Answers Linux 10-05-2017
Replies: 2
Views: 397
Posted By jgt
why not have task 1 start task 2. just make sure...

why not have task 1 start task 2. just make sure that the previous task2 is complete before starting another task1
Forum: UNIX for Beginners Questions & Answers Linux 09-30-2017
Replies: 11
Views: 563
Posted By jgt
can you post the exact commands that you used.

can you post the exact commands that you used.
Forum: UNIX for Beginners Questions & Answers Linux 09-30-2017
Replies: 11
Views: 563
Posted By jgt
Use quotation marks around the source file name...

Use quotation marks around the source file name to copy files with spaces in the name.
ie:

cp "$file" destination
Forum: UNIX for Beginners Questions & Answers Linux 09-30-2017
Replies: 11
Views: 563
Posted By jgt
Were the original files created substantially at...

Were the original files created substantially at the same time?
The output of 'ls -lt' is not a simple file list, I would have thought that it should be 'ls -t'.
Forum: Shell Programming and Scripting Linux 09-29-2017
Replies: 5
Views: 313
Posted By jgt
the blank lines are inportant

the blank lines are inportant
Forum: Shell Programming and Scripting Linux 09-25-2017
Replies: 21
Views: 795
Posted By jgt
cat /dev/null >outfile var="line 1" while...

cat /dev/null >outfile
var="line 1"
while read line
do
echo "$line" >>outfile
if [ "$var" = "$line" ]
then
cat /dev/null >outfile
fi
done <inputfile
Showing results 1 to 25 of 500

 


All times are GMT -4. The time now is 05:17 PM.