Unix/Linux Go Back    

Showing results 1 to 25 of 260
Search took 0.06 seconds.
Search: Posts Made By: jgt
Forum: War Stories Linux 1 Week Ago
Replies: 0
Views: 255
Posted By jgt
My Fifty Years

So there I was in the summer of 1968, 24 years old, single, good job, two year old car with only four payments left, working in the purchasing department of a medium sized manufacturer and getting a...
Forum: UNIX for Beginners Questions & Answers Linux 1 Week Ago
Replies: 8
Views: 263
Posted By jgt
why are you using nohup? I don't see the purpose...

why are you using nohup? I don't see the purpose in spawning a background process.
Forum: What is on Your Mind? Linux 04-13-2018
Replies: 5
Views: 225
Posted By jgt
Get a Gentle Leader.

Get a Gentle Leader.
Forum: UNIX for Beginners Questions & Answers Linux 02-12-2018
Replies: 11
Views: 429
Posted By jgt
If you have re-booted the system, the process is...

If you have re-booted the system, the process is no longer running. What is most likely is that there is a lock file that the backup procedure creates in order for no other processes to run until...
Forum: UNIX for Beginners Questions & Answers Linux 02-12-2018
Replies: 11
Views: 429
Posted By jgt
Have you done a successful backup since you...

Have you done a successful backup since you changed the tape drive? It may be that the new drive is not set to the same SCSI address as the old one.
You should be able to press <alt><F3> through...
Forum: SCO Linux 01-15-2018
Replies: 11
Views: 1,261
Posted By jgt
microlite will do the p2v for you.

microlite will do the p2v for you.
Forum: Programming Linux 12-16-2017
Replies: 2
Views: 378
Posted By jgt
Do you have access to the source code for the...

Do you have access to the source code for the Android application?
Do you know if the the features that you want to add require changes to that source code, or whether there are configuration files...
Forum: UNIX for Beginners Questions & Answers Linux 12-14-2017
Replies: 2
Views: 218
Posted By jgt
there was a similar discussion recently.

there was a similar discussion recently.
Forum: Web Programming Linux 12-08-2017
Replies: 10
Views: 10,680
Posted By jgt
When you use curl from your workstation, you are...

When you use curl from your workstation, you are connecting from your workstation. However, when you connect through the web page you are connecting from the web server. The problem may be the two...
Forum: Shell Programming and Scripting Linux 11-12-2017
Replies: 6
Views: 584
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 10-30-2017
Replies: 16
Views: 800
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 10-30-2017
Replies: 16
Views: 800
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 10-29-2017
Replies: 3
Views: 388
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: SCO Linux 10-14-2017
Replies: 17
Views: 2,364
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: 914
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: 2,364
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: Shell Programming and Scripting Linux 09-25-2017
Replies: 21
Views: 990
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
Forum: Shell Programming and Scripting Linux 09-13-2017
Replies: 13
Views: 575
Posted By jgt
cgc6:/tmp# echo...

cgc6:/tmp# echo "http://example.com/test/morestuff"|./t 999
test
http://example.com/test999/morestuff

cgc6:/tmp#...
Forum: Shell Programming and Scripting Linux 09-07-2017
Replies: 3
Views: 414
Posted By jgt
read the man pages for the cut and paste...

read the man pages for the cut and paste commands.

---------- Post updated at 10:05 AM ---------- Previous update was at 10:01 AM ----------



use the cut command to retrieve only the second...
Forum: UNIX for Beginners Questions & Answers Linux 09-01-2017
Replies: 5
Views: 592
Posted By jgt
Have you tried enclosing the entire send data in...

Have you tried enclosing the entire send data in single quotes?
Forum: Shell Programming and Scripting Linux 08-23-2017
Replies: 12
Views: 868
Posted By jgt
I noticed a slight error in my original script. ...

I noticed a slight error in my original script.

today=$(date +%Y%m%d)
while read quarter start end
do if [ $start -ge $today ]
then
exit
fi
if [ $today -gt $end ]
then
Forum: Shell Programming and Scripting Linux 08-10-2017
Replies: 10
Views: 698
Posted By jgt
#!/bin/bash cd /home/database command 1 if...

#!/bin/bash cd /home/database
command 1
if [ today is monday ]
then
nohup monday &
fi
repeat for other days of the week.
......
exit 0
Forum: Post Here to Contact Site Administrators and Moderators Linux 08-02-2017
Replies: 21
Views: 2,956
Posted By jgt
2 Hamsters 1 Wheel - YouTube...

2 Hamsters 1 Wheel - YouTube (https://www.youtube.com/watch?v=1VuMdLm0ccU)

I think this is the problem
Forum: UNIX for Beginners Questions & Answers Linux 07-17-2017
Replies: 1
Views: 251
Posted By jgt
Use 'netcat' to send the print file to a tcp...

Use 'netcat' to send the print file to a tcp printer.

netcat -h host -p 9100 <printfile

You may have to add printer escape sequences to get the correct linefeed carriage control.
Forum: Shell Programming and Scripting Linux 07-13-2017
Replies: 7
Views: 648
Posted By jgt
#!/bin/bash for file in *.csv do ...

#!/bin/bash
for file in *.csv
do
len=${#file}
let len=$len-11-13
outfile=${file:11:$len}
cp $file outdir/$outfile.csv
done
Change cp to mv when you have tested.
Showing results 1 to 25 of 260

 


All times are GMT -4. The time now is 02:25 AM.