Sponsored Content
Top Forums Shell Programming and Scripting Logging in and running an update file from command Post 302627603 by vanessafan99 on Saturday 21st of April 2012 12:11:27 AM
Old 04-21-2012
Logging in and running an update file from command

I am trying to upgrade many installations of a gallery script called coppermine through the commandline.


I've copied the latest files of the script to each account.

Then, I need to run a file gallery/update.php
which requires I log in

I can create an admin user for myself for each database through the command line



But I don't know how to log in and run a file

How can I do that through the command line?


Like execute a website file like http://somedomain.com/gallery/update.php
which requires a username/password to run?

Thanks!
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Have a script running even with the shell logging out

Hi all, I wish to have a script running even if my session is disconnected. I've tried calling another session within it and using sudo to a different user, but it didn't work - as it was expected to do so :rolleyes: I guess I'll have to work with "nohup" command, right ? trying with the... (4 Replies)
Discussion started by: 435 Gavea
4 Replies

2. UNIX for Dummies Questions & Answers

update file command help

please explain this update to the webcache.xml file ( attached) sorry i come from a windows env thank you ************* echo -n "7. Updating webcache.xml file..." set line_num = `grep -n "</CACHEABILITY>" $ORACLE_HOME/webcache/webcache.xml | tail -1 | cut -d : -f 1` head -`expr $line_num... (0 Replies)
Discussion started by: maoro
0 Replies

3. Shell Programming and Scripting

Command to create and update csv file

Hi, I need to create a csv file to store oracle query output. This report need to be created on hourly basis. The csv file report format as "Report_22_Sep_09_13IST.csv". I have the oracle query. Now i need to create and move the oracle query output to the report row by row starting from 3rd row.... (6 Replies)
Discussion started by: Sekar1
6 Replies

4. Shell Programming and Scripting

running a bash script even after logging out from the current session

HI , I have a simple script that moves files from one folder to another folder, I have already done the open-ssh server settings and the script is working fine and is able to transfer the files from one folder to another but right now I myself execute this script by using my creditianls to... (4 Replies)
Discussion started by: nks342
4 Replies

5. Shell Programming and Scripting

Event logging to file and display to console | tee command is not able to log all info.

My intention is to log the output to a file as well as it should be displayed on the console > I have used tee ( tee -a ${filename} ) command for this purpose. This is working as expected for first few outputs, after some event loggin nothing is gettting logged in to the file but It is displaying... (3 Replies)
Discussion started by: sanoop
3 Replies

6. UNIX for Advanced & Expert Users

Not logging ftp connections in /var/adm/wtmpx file (in last command output)

Hi all, I have F5 load balancer on my system and checking service status by opening an ftp session in every 30 seconds. These ftp sessions are being logged in /var/adm/wtmpx and filling up the file. when i run the last command most of the output is this ftp session. I was wondering if there is a... (1 Reply)
Discussion started by: cepxat
1 Replies

7. Shell Programming and Scripting

Logging in to multiple Linux servers and running the command.

Hi, I am trying to write a script to run a command on multiple linux based servers and get the o/p. I am using ssh to login. It is a celerra box and EMC NAS product. I am able login but i am not able to run nas command nas_pool -size -all the NAS server. I am getting the following error. ... (2 Replies)
Discussion started by: jpkumar10
2 Replies

8. UNIX for Advanced & Expert Users

Library file error while running command

I am running a command in Solaris non-global zone and it is complaining for a library file, while that is already preset in server. mwcontrol: fatal: relocation error: file /usr/openwin/lib/locale/common/xlibi18n.so.2: symbol _XlcAddUtf8Converters: referenced symbol not found # ls -l... (15 Replies)
Discussion started by: solaris_1977
15 Replies

9. Windows & DOS: Issues & Discussions

Help required for Running SQLPLUS command from Bat file

Hello All, Good Afternoon. I am new to this platform and I need one small help regarding running a SQL file from Bat file. Below is what I am doing, 1. I placed the below command in one Bat file. start putty.exe -ssh user@host -pw pwd -m C:\2.txt 2. In 2.txt, I have below command. ... (3 Replies)
Discussion started by: PavanPatil
3 Replies

10. Shell Programming and Scripting

Unable to update the string in a file trough case command

Hi All, my requirement is first search the line and updated stg value with the user input value. ws.rsp.url=https://rt930.rsp-stg.cb.info53.com/RSP/RAFT^M stg is not fixed string it may varies.So i used the below command for it rsp=`cat properties | grep ^ws.rsp.url= | awk -F"/"... (1 Reply)
Discussion started by: bhas85
1 Replies
MojoMojo::Controller::Gallery(3pm)			User Contributed Perl Documentation			MojoMojo::Controller::Gallery(3pm)

NAME
MojoMojo::Controller::Gallery - Page gallery. SYNOPSIS
See MojoMojo DESCRIPTION
Controller for page photo galleries. METHODS
default Private action to return a 404 not found page. gallery ( .gallery ) Show a gallery page for the current node. by_tag ( .gallery/by_tag ) Show a gallery by a given tag. Will also show photos in the descendants of the page with the given tag. photo ( .photo/<id> ) Show a gallery photo page. ( /photo_by_tag/<id> ) Show a picture in tag gallery. submittag ( /gallery/submittag ) Add a tag through form submit. tag ( /.jsrpc/tag ) Add a tag to a page. Forwards to inline_tags. untag ( .gallery/untag ) Remove a tag from a page. Forwards to inline_tags. inline_tags ( .gallery/tags ) Make a list of the user's tags and popular tags, or just popular tags if no user is logged in. description ( .gallery/description ) AJAX method for updating picture descriptions inline. title ( .gallery/title ) AJAX method for updating picture titles inline. AUTHOR
Marcus Ramberg <mramberg@cpan.org> LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-07-20 MojoMojo::Controller::Gallery(3pm)
All times are GMT -4. The time now is 07:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy