Unix/Linux Go Back    

Showing results 1 to 25 of 500
Search took 0.08 seconds.
Search: Posts Made By: jgt
Forum: Shell Programming and Scripting Linux 13 Hours Ago
Replies: 7
Views: 152
Posted By jgt
By a web server. Apache on most Linux/Unix...

By a web server. Apache on most Linux/Unix systems, and IIS (Internet Information Server) on Microsoft operating systems.
You can also open an html file with a web browser if you have read access...
Forum: Web Programming Linux 2 Days Ago
Replies: 10
Views: 10,022
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: Web Programming Linux 2 Days Ago
Replies: 10
Views: 10,022
Posted By jgt
Is there additional information in the apache...

Is there additional information in the apache error log file about the authorization failure?
Forum: Web Programming Linux 2 Days Ago
Replies: 10
Views: 10,022
Posted By jgt
Add echo $1 >>/tmp/test.log ahead of...

Add

echo $1 >>/tmp/test.log

ahead of the curl statement
Forum: Web Programming Linux 2 Days Ago
Replies: 10
Views: 10,022
Posted By jgt
Are the username and password literals, and can...

Are the username and password literals, and can you post the balance of the script that includes the curl statement?
Forum: Web Programming Linux 3 Days Ago
Replies: 10
Views: 10,022
Posted By jgt
php variable $hostname is undefined. Replace ...

php variable $hostname is undefined.
Replace

$hostname=$argv[1]

with

$hostname=$_GET["hostname"];

Assuming that you are using Apache as the web server, you can do the following:
Forum: UNIX for Beginners Questions & Answers Linux 2 Weeks Ago
Replies: 1
Views: 240
Posted By jgt
1. Set the home directory of the unix user to the...

1. Set the home directory of the unix user to the destination directory.
2. Not if the directory exists, and you have write permission.

put /BBBB/XYX/CXCXS VTESTX.TXT
!rm CXCXS ...
Forum: What is on Your Mind? Linux 2 Weeks Ago
Replies: 63
Views: 1,297
Posted By jgt
Samsung Galaxy S4 with all recent updates. The...

Samsung Galaxy S4 with all recent updates. The default browser was updated within the last month. I did mean the database cursor, not the screen cursor.
Forum: What is on Your Mind? Linux 2 Weeks Ago
Replies: 63
Views: 1,297
Posted By jgt
I tried searching for "clock" this morning and...

I tried searching for "clock" this morning and noticed that when a thread is selected from the resulting list, the cursor is positioned at the end of the thread rather than the beginning. This...
Forum: Shell Programming and Scripting Linux 4 Weeks Ago
Replies: 6
Views: 516
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 4 Weeks Ago
Replies: 3
Views: 391
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 4 Weeks Ago
Replies: 63
Views: 1,297
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 4 Weeks Ago
Replies: 8
Views: 343
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 11-02-2017
Replies: 17
Views: 1,624
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 11-01-2017
Replies: 16
Views: 686
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 10-31-2017
Replies: 16
Views: 686
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 10-31-2017
Replies: 16
Views: 686
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 10-30-2017
Replies: 16
Views: 686
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 10-30-2017
Replies: 16
Views: 686
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: 686
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: 353
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 10-20-2017
Replies: 1
Views: 462
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 10-19-2017
Replies: 7
Views: 643
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 10-17-2017
Replies: 7
Views: 606
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 10-15-2017
Replies: 8
Views: 712
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...
Showing results 1 to 25 of 500

 


All times are GMT -4. The time now is 10:58 AM.