Search Results

Search: Posts Made By: ravikirankethe
6,326
Posted By ravikirankethe
UNIX - command to count number of files in subdirectories
I have a folder named test/ and under that I have multiple directories and in each of the directory I have multiple log files. I want to know how many files exists under each sub directory.

...
12,040
Posted By ravikirankethe
Thanks Perderabo and Justsam. Justsam logic...
Thanks Perderabo and Justsam.
Justsam logic seems to be bit easy.

Perderabo logic is not working if we have no space in str
str="name1,name2,name3, "
12,040
Posted By ravikirankethe
String Array
I am having a string with the value:
str="name1, name2, name3, "

I want to traverse the list of elements. How do I loop them?
8,294
Posted By ravikirankethe
Since I know the depth where the files are...
Since I know the depth where the files are located, I used the
following command and I am able to get the required o/p

ls -l folder1/*/*/MyFile_11*

-rw-r--r-- 1 mybatch mydev 5564 Nov 13...
8,294
Posted By ravikirankethe
Can you please clearly give me the command that I...
Can you please clearly give me the command that I need to execute?
8,294
Posted By ravikirankethe
List of files in sub directory along with their properties
How to view the list of the files in the sub directory along with their properties?

I mean

<folder1>
........<folder11>
..............<folder111>
......................MyFile_1111.txt...
4,156
Posted By ravikirankethe
Thats cool Glenn. I am getting confused with...
Thats cool Glenn. I am getting confused with different shells.
4,156
Posted By ravikirankethe
Simple Array in Ksh Scripting
Ksh Scripting

Can some one give me a simple example of array operations using ksh.

For Ex:
week_array = {Sunday Monday Tuesday Wednesday Thursday Friday Saturday}

I want to assign and...
13,598
Posted By ravikirankethe
Slire, Can you post us the final script...
Slire,

Can you post us the final script which is working for you?

Thanks,
Ravi
25,868
Posted By ravikirankethe
Can some one help me the usage of the AutoSys?
Can some one help me the usage of the AutoSys?
49,248
Posted By ravikirankethe
Yeah thats right.. we can use "ls" also to get...
Yeah thats right.. we can use "ls" also to get the same results. Infact, I think "ls" is the best to use as we have more options in that.

Ex:
$ ls -l 2006*/ftp_server*
$ ls -l...
49,248
Posted By ravikirankethe
Thanks for all your help. I got an easy command: ...
Thanks for all your help. I got an easy command:
$ find 2006*/ -name ftp_server*
16,887
Posted By ravikirankethe
Might be.. but in anycase, the result shd come...
Might be.. but in anycase, the result shd come fast.
Try searching the file in the opt folder first and see how much time
it is taking .
Command: ls -l vijay

If you are able to get the...
49,248
Posted By ravikirankethe
I think the command need to be like this: find...
I think the command need to be like this:
find . -name 'ftp_server*' | grep 2006

This particular command is having the over head of pulling the
file information from all the folders and then...
49,248
Posted By ravikirankethe
Search for files in multiple directories
I want to search for a file pattern in more than one directory. How I need to do that?

Here is the scenario:

I am having a directory structure like the following:
/log
...../20051001...
14,362
Posted By ravikirankethe
This is one of the good site where you can all...
This is one of the good site where you can all the commands in vi.
I recommend you to go through once with all the commands. Later on
when you are working, you will realize the importance of...
24,652
Posted By ravikirankethe
Cron Jobs Usage ...
Cron Jobs Usage
=================================================

1. Create a Script that you want to run as a CronJob

2. Assign the Script for the CRONTAB
(CRONTAB would be differ from each...
3,102
Posted By ravikirankethe
Thanks Anbu !! BTW, Habuzahra, are you able to...
Thanks Anbu !!
BTW, Habuzahra, are you able to continue your work?
3,102
Posted By ravikirankethe
Can you please explain your statement. By looking...
Can you please explain your statement. By looking at that, it is complex to understand.
25,868
Posted By ravikirankethe
AUTOSYS Tutorial
Can any one help me out in finding the AutoSys tutorial?
I just know it is one of scheduling tool (like cron job).
Showing results 1 to 20 of 20

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