10 More Discussions You Might Find Interesting
I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open())
I would like to run another PERL-script from first one, not... (1 Reply)
Discussion started by: alex_5161
2. UNIX for Dummies Questions & Answers
Im after some advise with a script i've written however doesnt appear to work how I would like.
Basically I have a perl script which sucessfully pulls an expect script to login to multiple nodes and obtain some output from the nodes (total number of nat ports that are in use... (0 Replies)
Discussion started by: mutley2202
3. Shell Programming and Scripting
I need some help to setup some environmental variables.
for example...Get A -> userdefined/user input
B -> a number.
c -> system variable...for example $GETCONF PAGE_SIZE
E = do some math using bc
display a message "The value is E"
setup the system/kernel paramter sysctl -p... (3 Replies)
Discussion started by: saravanapandi
4. UNIX for Dummies Questions & Answers
this method is not working.I am having a problem to use variables in system command. i cannot use the variables in system command.
this how i was did
this method works very fine. but, i want use the commands as variable.
that means i want only pass the variables.... (6 Replies)
Discussion started by: dhanda2601
5. Shell Programming and Scripting
I don't fully understand variables in perl.
If we have a variable defined like this "my $number = 1" then this is called a lexical variable? But if you define this at the top of a script then why isn't it a global variable because it would be available throughout the file?
Sorry if this is... (1 Reply)
Discussion started by: P3rl
6. UNIX for Dummies Questions & Answers
Is there something called system variables in Unix?
Can someone list a few of them?
Does it include variables like HOME, TERM, PWD etc.? (1 Reply)
Discussion started by: prasanna1157
7. Shell Programming and Scripting
I am new in Perl.
I am working in simple script and the varibles are working well outside the exec or system command.
but they don't work as parameters to exec or system command.
The script is attached.
please help. (8 Replies)
Discussion started by: ahmed_zaher
8. UNIX for Dummies Questions & Answers
I try to run a script on remote systems with ssh
it should execute a command, read values from stdout, use it as input for a loop
and works with this variable on remote system
but the variable isn't working, I guess because export, echo , or the loop itself are shell builtins and not... (2 Replies)
Discussion started by: funksen
9. UNIX for Advanced & Expert Users
I recently encountered the notion of a 'system variable' in unix
which is displayable only via
echo $(<var>) rather than
They are NOT environment variables since they can't be
set by the user - they live in a different name space,
but are 'in place' when the user... (2 Replies)
Discussion started by: Ken Quirici
10. Shell Programming and Scripting
I was told, i my job, to do a script that creates the backup of all the files that are important to us.
So i created the script, put it in the crontab and it works great.
Now what i want is to write to a file what directories have being copied with date and time.
How can i... (3 Replies)
Discussion started by: jorge.ferreira