02-12-2012
Create a GUI from where in we can execute unix commands
Hello Experts,
In my current job I need to upgrade a web GUI to execute Unix commands in a server....I am completely new to programming--So can anyone here help me out with initial steps...
Please notice that statement completely new to programming means-I never did it, SO I might keep on coming back with silly & amateur questions...
But I am in desperate need for help & that too very quick...
thank you
Greetings
Hadi M
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a few scripts that i would like to make into GUI's. Are there scripting commands to make GUI's if so where can i get the list of commands and what they do or if anyone has an example of it. Anything will help, thanks (1 Reply)
Discussion started by: daltonkf
1 Replies
2. UNIX for Dummies Questions & Answers
Hello all,
1) I want to have a GUI application that will call Unix shell scripts,
2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix.
That is for example.
If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies
3. Shell Programming and Scripting
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
Iam trying to code in java and wanted to run the commands in the Unix remote servers. I have the following code to run multiple GREP commands in a single session.
But when i execute this, the first command executes successfully, whereas from the next line it says
"Exception Occured... (1 Reply)
Discussion started by: gravi2020
1 Replies
5. Solaris
I have to execute 2 commands everytime i reboot my Solaris machine.
Simple "share" and "chown" commands.
Is there anywhere (maybe a config file or something) where I can include these commands so that I do not have to manually run them everytime I reboot the machine?
Any help appreciated... (2 Replies)
Discussion started by: lydiaEd
2 Replies
6. Shell Programming and Scripting
can you help me to create a phone book with add, delete, modify with first name, last name, middle name, phone no(multiple ph no), address, email address, notes or comments to store about the contact and groups that hold for the contact..
i am new to this linux environment. please guide me.
... (1 Reply)
Discussion started by: monster11209
1 Replies
7. UNIX for Dummies Questions & Answers
commands to execute unix script (1 Reply)
Discussion started by: sunilamarnadh
1 Replies
8. Fedora
hi all,
this is my first post here...i hope that this is the correct section to write my question.
I have a distro linux without gui, only text mode.
So, it's possible run automatically a command or a program as "top" or "ping" and get the result on the main shell , after the boot and after... (6 Replies)
Discussion started by: gangiaemi
6 Replies
9. UNIX for Dummies Questions & Answers
Very new to this.....
What I would like to do:
Create a simple GUI/Web portal with 3 buttons and 1 text field
The three buttons need to take the input into the text field and use that as the variable to execute scripts located on a server
Problem:
How can i get the buttons on the... (3 Replies)
Discussion started by: poops
3 Replies
10. Shell Programming and Scripting
Hi Good morning all,
I want to create script file with multiple commands.
For ex:
pmrep connect is one of the command to connect to repository.
pmrep objectexport is another command to export objects to a file.
These commands should run sequentially.But when i try to execute this, the first... (4 Replies)
Discussion started by: SekhaReddy
4 Replies
LEARN ABOUT DEBIAN
io::tiecombine
IO::TieCombine(3pm) User Contributed Perl Documentation IO::TieCombine(3pm)
NAME
IO::TieCombine - produce tied (and other) separate but combined variables
VERSION
version 1.002
SYNOPSIS
First, we set up a bunch of access points:
my $hub = IO::TieCombine->new;
my $str_ref = $hub->scalar_ref('x');
my $fh = $hub->fh('x');
my $callback = $hub->callback('x');
tie my $scalar, $hub, 'x';
tie local *STDOUT, $hub, 'x';
tie local *STDERR, $hub, 'err';
Then we write to things:
$$str_ref .= 'And ';
print $fh "now ";
$callback->('for ');
$scalar .= 'something ';
print "completely ";
warn "different.
";
And then:
$hub->combined_contents; # And now for something completely different.
$hub->slot_contents('x'); # And now for something completely
$hub->slot_contents('err'); # different.
ACHTUNG!! Because of a serious problem with Perl 5.10.0, output sent to a tied filehandle using "say" will not have the expected newline.
5.10.1 or later is needed. Since 5.10.0 is broken in so many other ways, you should really upgrade anyway.
METHODS
new
The constructor takes no arguments.
combined_contents
This method returns the contents of all collected data.
slot_contents
my $str = $hub->slot_contents( $slot_name );
This method returns the contents of all collected data for the named slot.
clear_slot
$hub->clear_slot( $slot_name );
This sets the slot back to an empty string.
fh
my $fh = $hub->fh( $slot_name );
This method returns a reference to a tied filehandle. When printed to, output is collected in the named slot.
scalar_ref
my $str_ref = $hub->scalar_ref( $slot_name );
This method returns a reference to scalar. When appended to, the new content is collected in the named slot. Attempting to alter the
string other than by adding new content to its end will result in an exception.
callback
my $code = $hub->callback( $slot_name );
AUTHOR
Ricardo SIGNES <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-02-26 IO::TieCombine(3pm)