09-30-2011
Hi Corona688
Thanks for the insight
I created one unix script ,called the .profile from there and then call the perl script
It worked
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
How can i execute .profile from a perl script
I need this - i am trying to run perl script from crontab
and it looses the environment variables
Please provide help
Your help is greatly appreciated
Thanks (1 Reply)
Discussion started by: prekida
1 Replies
2. UNIX for Dummies Questions & Answers
Hello
say i have written some perl scripts , now i like to call them in my unix shell
as unix command like "more" , "ls" , "grep" so that my say perl script called "foo.pl"
will be called from every where as "foo" or "foo arg1 arg2"?
Thanks (1 Reply)
Discussion started by: umen
1 Replies
3. Shell Programming and Scripting
Hi
I am not sure how to call a perl script from a tcsh shell. do i need to set any environment variables? your help is appreciated
Thanks (1 Reply)
Discussion started by: megastar
1 Replies
4. Shell Programming and Scripting
Hello all,
I want to call my users .profile in cron?
I understand that i have to do it explicitly in crontab entry.
How can we do it ? How can i write a simple script calling it?
Thanks & Regards
Abhijeet (15 Replies)
Discussion started by: abhijeetkul
15 Replies
5. Shell Programming and Scripting
hi,,
i have perl scipt with line :
system('./try.sh $t $d $m');
in shell scipt try.sh i have the line:
echo $1
its not printing value of $t that i hav passed..y is it so..i am running it from apache web server (2 Replies)
Discussion started by: raksha.s
2 Replies
6. Shell Programming and Scripting
Hi
I m new to perl. I m trying to write a perl script that calls a bash script; does anyone have a script already that they can provide or help me out? Thanks a lot. (2 Replies)
Discussion started by: adnan786
2 Replies
7. UNIX for Advanced & Expert Users
Hi All,
I have a doubt that can we call under whatever scripts we mention in crontab -e into .profile .
Because every weekend my server is going to restart so, my doubt whether crontab -e will automatically run my scripts or manually we have to save the crontab -e again?
If that crontab... (3 Replies)
Discussion started by: ksrivani
3 Replies
8. Shell Programming and Scripting
I'm attempting to write a bash script that will create a network between virtual machines. It accepts three arguments: an RSpec that describes the network topology, and two list of machines (servers and clients).
I have a (working) Perl script that I want to call. This Perl script takes an RSpec... (6 Replies)
Discussion started by: mecaka
6 Replies
9. Shell Programming and Scripting
Hello all,
Please my shell is ksh. I created .profile such that users can pick environments they want to use:
echo Select your Environment!!
echo " 1. Nigeria DEV"
echo " 2. UEMOA DEV"
echo " 3. CEMOA DEV"
echo "Make your choice : \c"
read choice
if
then
...
fi
if
then (6 Replies)
Discussion started by: mofaloks
6 Replies
10. Shell Programming and Scripting
i have this line of code on my script
#!/bin/sh
#enable the environment variable thru profile
. .profile
when i run the script it was unable to find the .profile
sh ChgPwd.sh
ChgPwd.sh: line 4: .: .profile: file not found
the file .profile exists
ls -altr .profile... (2 Replies)
Discussion started by: wtolentino
2 Replies
LEARN ABOUT OSX
aa-autodep
AA-AUTODEP(8) AppArmor AA-AUTODEP(8)
NAME
aa-autodep - guess basic AppArmor profile requirements
SYNOPSIS
aa-autodep <executable> [<executable> ...]
DESCRIPTION
aa-autodep is used to generate a minimal AppArmor profile for a set of executables. This program will generate a profile for binary
executable as well as interpreted script programs. At a minimum aa-autodep will provide a base profile containing a base include directive
which includes basic profile entries needed by most programs. The profile is generated by recursively calling ldd(1) on the executables
listed on the command line.
BUGS
This program does not perform full static analysis of executables, so the profiles generated are necessarily incomplete. If you find any
bugs, please report them at <http://https://bugs.launchpad.net/apparmor/+filebug>.
SEE ALSO
apparmor(7), apparmor.d(5), aa-complain(1), aa-enforce(1), aa-disable(1), aa_change_hat(2), and <http://wiki.apparmor.net>.
AppArmor 2.7.103 2012-06-28 AA-AUTODEP(8)