Search Results

Search: Posts Made By: omerzzz
4,640
Posted By omerzzz
example: #!/bin/ksh echo "Hello" echo...
example:

#!/bin/ksh

echo "Hello"
echo "Please select a chioce:"

PS3="Choose a number: "
CHOISE='one two three quit'
select i in $CHOISE
do
case $i in
one) echo "selected...
5,798
Posted By omerzzz
lose the double quotation worked for me in...
lose the double quotation
worked for me in Ubuntu and red-hat.
uid=0(root) gid=0(root) groups=0(root)
root@omer-desktop:/# find -P . -name *.log
./tmp/vmware-root/appLoader-9051.log...
5,798
Posted By omerzzz
on / find -P . -name *.log -mtime +1
on /
find -P . -name *.log -mtime +1
9,260
Posted By omerzzz
no change under HP-UX.:mad: ygemici -> I...
no change under HP-UX.:mad:

ygemici -> I prefer to use select only cause of that i am making alot of cahnges in the menues and sub menus, it is a lot to change with out select only
9,260
Posted By omerzzz
in the man the reply is not mentioned ,but now i...
in the man the reply is not mentioned ,but now i am on redhat and it is working!!!
i tested it first on itanium (hp-ux) there it didnt worked.
any ideas why it works in linux and not in unix?
...
9,260
Posted By omerzzz
thanks, But it dosent work
thanks,
But it dosent work
9,260
Posted By omerzzz
reprint the select menu after a selection
Hi,
I am using a select in ksh for a script
#!/bin/ksh
FIRSTLIST='one two three four quit'
PS3='Please select a number: '

select i in $FIRSTLIST ;
do
case $i in
one) print 'this...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 11:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy