8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
Discussion started by: DevendraG
2 Replies
2. Programming
Hi guys.
Is there any General Framework for C like other languages?:confused:
for example .Net or ... . I googled but i didn't find anything useful. (5 Replies)
Discussion started by: majid.merkava
5 Replies
3. UNIX for Dummies Questions & Answers
Dear Unix community over the last couple of days I have been working on learning Unix scripting on iOS using terminal on a jail-broken device...
I am having trouble with if statements and giving the user a y or n choice that do different things when entered. The following is my code so far...... (5 Replies)
Discussion started by: mbf123
5 Replies
4. Shell Programming and Scripting
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies
5. Shell Programming and Scripting
I would like to use the result of a query in another query. How do I redirect/add the output to another variable?
$result = odbc_exec($connect, $query);
while ($row = odbc_fetch_array($result)) {
echo $row,"\n";
}
odbc_close($connect);
?>
This will output hostnames:
host1... (0 Replies)
Discussion started by: hazno
0 Replies
6. Shell Programming and Scripting
Hi all,
I am having putty in my system.But I dont have access to any UNIX Servers.Is there any default or common UNIX Server so that anyone can access and be familiar with UNIX and Shell scripting.
I want to work and practice in UNIX..Thats why I am asking this question.
Kindly give me... (2 Replies)
Discussion started by: dave_nithis
2 Replies
7. Shell Programming and Scripting
Perl, Python, and PHP are these languages easy to use? Are they command line or are they part of a GUI? (2 Replies)
Discussion started by: wmosley2
2 Replies
8. UNIX for Dummies Questions & Answers
Hi, I've been racking my brains trying to remember, but, whats the command to change the default shell? I'm currently always in the Korn shell and I want to start out in the Bash shell. I'm running a variant of BSD I guess in Mac OS X 10.2.2 and Mandrake. Thanks.
ccindyderek:confused: (4 Replies)
Discussion started by: ccindyderek
4 Replies
CLOUDSERVERS(1) User Commands CLOUDSERVERS(1)
NAME
cloudservers - Command-line interface to the Cloud Servers API.
SYNOPSIS
cloudservers [ --username USERNAME ] [ --apikey APIKEY ] <subcommand>
DESCRIPTION
cloudservers is a command line interface to the Rackspace Cloud Servers API.
COMMAND OVERVIEW
cloudservers backup-schedule
Show or edit the backup schedule for a server.
cloudservers backup-schedule-delete
Delete the backup schedule for a server.
cloudservers boot
Boot a new server.
cloudservers delete
Immediately shut down and delete a server.
cloudservers flavor-list
Print a list of available 'flavors' (sizes of servers).
cloudservers help
Display help about this program or one of its subcommands.
cloudservers image-create
Create a new image by taking a snapshot of a running server.
cloudservers image-delete
Delete an image.
cloudservers image-list
Print a list of available images to boot from.
cloudservers ip-share
Share an IP address from the given IP group onto a server.
cloudservers ip-unshare
Stop sharing an given address with a server.
cloudservers ipgroup-create
Create a new IP group.
cloudservers ipgroup-delete
Delete an IP group.
cloudservers ipgroup-list
Show IP groups.
cloudservers ipgroup-show
Show details about a particular IP group.
cloudservers list
List active servers.
cloudservers reboot
Reboot a server.
cloudservers rebuild
Shutdown, re-image, and re-boot a server.
cloudservers rename
Rename a server.
cloudservers resize
Resize a server.
cloudservers resize-confirm
Confirm a previous resize.
cloudservers resize-revert
Revert a previous resize (and return to the previous VM).
cloudservers root-password
Change the root password for a server.
cloudservers show
Show details about the given server.
Optional arguments:
--username USERNAME
Defaults to env[CLOUD_SERVERS_USERNAME].
--apikey APIKEY
Defaults to env[CLOUD_SERVERS_API_KEY].
See "cloudservers help COMMAND" for help on a specific command.
cloudservers March 2010 CLOUDSERVERS(1)