Search Results

Search: Posts Made By: primo102
1,687
Posted By MadeInGermany
Simply break the loop if ORACLE_SID got a value! ...
Simply break the loop if ORACLE_SID got a value!
(You do not need to check the boundaries. Imagine you have 10+ items...)
#!/bin/bash
R=$'\e[0;31m'
N=$'\e[0m'

OPTIONS=(
db_a db_b db_c db_g
...
1,687
Posted By Scrutinizer
To add your color options and answer checking and...
To add your color options and answer checking and menu finishing, try something like this:

#!/bin/bash
R=$'\e[0;31m'
N=$'\e[0m'

OPTIONS=( db_a db_b db_c db_g db_o db_e db_k db_t )...
1,360
Posted By RudiC
How about USER_LIST_DEL=$(IFS=,; for u in...
How about
USER_LIST_DEL=$(IFS=,; for u in $USER_LIST; do echo -n "/'$u/'",; done)
or
USER_LIST_DEL=/\'${USER_LIST//,//\',/\'}/\'
Forum: AIX 08-11-2015
6,610
Posted By agent.kgb
it is a known bug in some versions of AIX. Stop...
it is a known bug in some versions of AIX. Stop cas_agent service and upgrade your system.

---------- Post updated at 06:11 PM ---------- Previous update was at 06:09 PM ----------
...
Forum: AIX 08-11-2015
6,610
Posted By vbe
So yes you can remove but be aware how... maybe...
So yes you can remove but be aware how... maybe something likerm null*1
but in any case not rm null 2>&1
1,986
Posted By Scrutinizer
Try: ssh node8@192.168.1.8 'while read line; do...
Try:
ssh node8@192.168.1.8 'while read line; do ls -l "$line"; done <<< '"$cp_date" >> lsl.txt
1,557
Posted By RudiC
That's why I proposed to create the entire new...
That's why I proposed to create the entire new structure locally. If it's on the same file system, mving files will just modify the directory entries and is very fast. When that is done, copy the...
Showing results 1 to 7 of 7

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