10-09-2006
hi,
isit like tis? this is an example of the program. its file name is [testtest]
[
export DISPLAY=localhost:0.0
#!/bin/sh
a="1"
b="2"
c="3"
d="4"
while true
do
if [ $a = $b ] ; then
echo "$a"
[
if [ $c = $d ] ; then
say "$c"
else
say "$d"
fi
else
say "$b"
fi
done
]
then in the crontab command i put
[
45 13 * * * /usr/asm/sys.2862/testtest > /dev/null 2>&1
]
am i right if i put it in this way??
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
When i am trying to login to my unix machine. It is directly loging me into root ( / ) directory, instead of my home directory. Why this is happening. And generally when this happens (4 Replies)
Discussion started by: ds_sastry
4 Replies
2. UNIX for Dummies Questions & Answers
Okee problems...!!
What is happening: Unix server with some programms, workstations are windows 2000, the workstations work good but when you start a programm on the Unix server the CPU of the workstations go to 100% usage resulting that the system gets very slow. The programm well its running so... (2 Replies)
Discussion started by: zerocool
2 Replies
3. SCO
i have a problem with installing unix
after booting system by itself floppy , during checking the hardware devices computer hangs , and stops.
it checks:
%fpu
%serial
%floppy
%console
%pci
%adapter
%tape
%cd-rom
G hd_config in this place system got stop.
remember i passed this step at... (1 Reply)
Discussion started by: uranium
1 Replies
4. UNIX for Advanced & Expert Users
Hello,
We had a system shutdown last night and now the server won't boot because of volume is seriously damaged (this affects all volumes). Any suggestions on how to repair.
Any suggestions welcome
Thanks (1 Reply)
Discussion started by: bobman
1 Replies
5. Filesystems, Disks and Memory
Hello Moto
I hope someone can help
We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers..
a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies
6. UNIX for Dummies Questions & Answers
We have an older HP Unix 10.20 system that we rarely ever use anymore. Most of our jobs on it are from 1994 to 2002. Anything after that is on Windows XP. The Unix system was backed up religiously every day. Because of space constraints some of the jobs were removed from the system after a... (3 Replies)
Discussion started by: fozzybear
3 Replies
7. SCO
hi,
im tring installaing sco unix 5.05 in my pc but it is showing an
"memory error loading kernel fd(64)unix.text
loading ram disk image fd(64)rootfs"
can anybody tell me how to solve this problem.
my system configuration is 3.2ghz processor,1gb ram,d101ggc mother board
thank u
bln (1 Reply)
Discussion started by: blnprasad
1 Replies
8. Shell Programming and Scripting
hi all
i have written this small code.
sqlplus $schema_name/$passwrd@$instance <<eof
set serveroutput on;
declare
lv_count pls_integer;
lv_option varchar2(20);
begin
select count(*) into lv_count from all_objects where upper(object_name)=upper('$temp_file1');... (1 Reply)
Discussion started by: infyanurag
1 Replies
9. UNIX for Advanced & Expert Users
Hi, how we are?
I have a problem, I have a PDF in unix and i call a Shellscript, it does :
lp -d queue archive.pdf
A simply print.
I have many printers, so in some printers the PDF is printing with a diferent margin left and right margins, it cuts the really print.
I try fix it,... (6 Replies)
Discussion started by: dcastellini
6 Replies
10. Shell Programming and Scripting
Input file
I have a file with four fields.
f1,f2,f3,f4
A,1,10,00,S
B,2,20,00,00,D
C,3,100,00,00,G
I want Output like
f1|f2|f3|f4
A|1|10,00|S
B|2|20,00,00|D
C|3|100,00,00|G
please help on this (4 Replies)
Discussion started by: bharat1211
4 Replies
LEARN ABOUT SUSE
pam_env.conf
PAM_ENV.CONF(5) Linux-PAM Manual PAM_ENV.CONF(5)
NAME
pam_env.conf - the environment variables config file
DESCRIPTION
The /etc/security/pam_env.conf file specifies the environment variables to be set, unset or modified by pam_env(8). When someone logs in,
this file is read and the environment variables are set according.
Each line starts with the variable name, there are then two possible options for each variable DEFAULT and OVERRIDE. DEFAULT allows and
administrator to set the value of the variable to some default value, if none is supplied then the empty string is assumed. The OVERRIDE
option tells pam_env that it should enter in its value (overriding the default value) if there is one to use. OVERRIDE is not used, "" is
assumed and no override will be done.
VARIABLE [DEFAULT=[value]] [OVERRIDE=[value]]
(Possibly non-existent) environment variables may be used in values using the ${string} syntax and (possibly non-existent) PAM_ITEMs may be
used in values using the @{string} syntax. Both the $ and @ characters can be backslash escaped to be used as literal values values can be
delimited with "", escaped " not supported. Note that many environment variables that you would like to use may not be set by the time the
module is called. For example, HOME is used below several times, but many PAM applications don't make it available by the time you need it.
The "#" character at start of line (no space at front) can be used to mark this line as a comment line.
EXAMPLES
These are some example lines which might be specified in /etc/security/pam_env.conf.
Set the REMOTEHOST variable for any hosts that are remote, default to "localhost" rather than not being set at all
REMOTEHOST DEFAULT=localhost OVERRIDE=@{PAM_RHOST}
Set the DISPLAY variable if it seems reasonable
DISPLAY DEFAULT=${REMOTEHOST}:0.0 OVERRIDE=${DISPLAY}
Now some simple variables
PAGER DEFAULT=less
MANPAGER DEFAULT=less
LESS DEFAULT="M q e h15 z23 b80"
NNTPSERVER DEFAULT=localhost
PATH DEFAULT=${HOME}/bin:/usr/local/bin:/bin
:/usr/bin:/usr/local/bin/X11:/usr/bin/X11
Silly examples of escaped variables, just to show how they work.
DOLLAR DEFAULT=$
DOLLARDOLLAR DEFAULT= OVERRIDE=$${DOLLAR}
DOLLARPLUS DEFAULT=${REMOTEHOST}${REMOTEHOST}
ATSIGN DEFAULT="" OVERRIDE=@
SEE ALSO
pam_env(8), pam.d(5), pam(8)
AUTHOR
pam_env was written by Dave Kinchlea <kinch@kinch.ark.com>.
Linux-PAM Manual 04/01/2010 PAM_ENV.CONF(5)