10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm trying to achieve the follwoinig with no luck.
Find the directories that are greater than 50GB in size and pick the owner of the directory as I would like to send an alert notification.
du -sh * | sort -rh
ls -l Dir_1
drwx------ 2... (3 Replies)
Discussion started by: 308002184
2. Shell Programming and Scripting
I can not figure out how to capture the $filename variable store by the bash.
# oldest folder stored as variable for analysis, version log created, and quality indicators matched to run
find "$dir" -maxdepth 1 -mindepth 1 -type d -printf... (5 Replies)
Discussion started by: cmccabe
3. Shell Programming and Scripting
I want to create an array which can store the strings from the user input in shell script .
I want to store the 5 fruits name in a single array which the user provides . (1 Reply)
Discussion started by: Pkast
4. Shell Programming and Scripting
I have been trying to do a simple task of extracting 2 fields from the file (3 rows) and store it in an array variable. I tried with:
ch=`cut -f10 tmp.txt`
for p in $pid
echo "$c ..$counter"
counter=$((counter+1))... (2 Replies)
Discussion started by: ezhil01
5. Shell Programming and Scripting
I want to write a script which store all the parameters passed to the script into an array.
Once it is stored I want scan through the array and and delete those files for last month present inside the directory. The files in directory is appneded with YYYY_MM_DD.
I want to know how can I... (3 Replies)
Discussion started by: dgmm
6. Shell Programming and Scripting
I am working on a backup based script, in which it enters to a directory and check the sub-directories and copy the names into an array.
for i in *
... (19 Replies)
Discussion started by: canishk
7. Shell Programming and Scripting
I want to store contents of command
dir in array of variables
For eg: dir contents are
command d2 demovi~ file inven java new untitled folder
d1 demovi er1 filename inven~ myfiles ubuntu desktop xmms
I... (3 Replies)
Discussion started by: netresearch
8. Shell Programming and Scripting
Suppose,I have one table A. Table A have one column. Table A have 10 rows. I want this 10 rows store into shell script variable.
here in call oracle , through loop How can I store table A's 10 rows into v_shell_var (Shell Script Array).
Div (4 Replies)
Discussion started by: div_Neev
9. Shell Programming and Scripting
In a shell script, I am storing some values into variables. In between the code I am calling an PL/SQL precedure by connecting to ORACLE which generates a file. All this happens fine.
The problem is, the values are not getting stored in variables after this PL/SQL code while perfectly before... (1 Reply)
Discussion started by: mitte_dino
10. Shell Programming and Scripting
I have to do the following things :
1) there should be a shell script returning the returning the return code of the script. and i have to add some more details like on which machine is has run , at what time and other details and then using plsql i have to add a row to Oracle... (3 Replies)
Discussion started by: sveera