10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am familiar with using "lsof <filename>" or "fuser <filename>" to determine what process has a given file (usually a .nfs) open. However, I recently used this command and it returned a blank list. I suspect the process that has the .nfs file open might be on another system. Is there a way... (2 Replies)
Discussion started by: Special_K
2. Shell Programming and Scripting
I have logs files which are generated each day depending on how many processes are running. Some days it could spin up 30 processes. Other days it could spin up 50. The log files all have the same pattern with the number being the different factor. e.g.
LOG_FILE_2.log etc etc
... (2 Replies)
Discussion started by: atelford
3. Shell Programming and Scripting
I just want to count number of files in a directory, and write to new text file, with number of files and their name
output should look like this,,
assume that below one is a new file created by script
Number of files in directory = 25
3. asd.dat... (20 Replies)
Discussion started by: Akshay Hegde
4. UNIX for Dummies Questions & Answers
Here is my question. I have a file which contains the html values. I have to find the decimal number from it. It is tagged around >68.74<. Please help me on it..
alt='' ><\/td>\n\t\t<td align=\"right\" class='data_table_text data_table_conv_averages_text' \
style='padding-right:... (1 Reply)
Discussion started by: sathyaonnuix
5. Shell Programming and Scripting
I am trying to find out the number of dtsessions.
using the command
wc -l $FILE_NAME
it works fine
But when I try to assign this value to some variable using the command
set NUM_DT_SESSION=$(wc -l $FILE_NAME)
it shows error Variable syntax
find below the complete command... (1 Reply)
Discussion started by: hiten.r.chauhan
6. UNIX for Advanced & Expert Users
I am having a client/server application which will download files from server. If server has directories, it will create directories/sub directories and then download files. In this process, I observed that number of open files are more than 400 (which is approxmately same as number of dir/subdir... (1 Reply)
Discussion started by: satyam90
7. Shell Programming and Scripting
I am trying to find all files in a directory whose name has a real number larger then the number I am looking for.
I know my database is at 2.2 so I want an... (2 Replies)
Discussion started by: harmonwood
8. Shell Programming and Scripting
I think my script is working but i am trying to understand while I am tracing to see if it's realli working..
can somebody please comment.. also. is there different way to write this in shell?
sh -x findbiggestnum 1 2 3
+ echo 3
... (3 Replies)
Discussion started by: hankooknara
Anyone know the command as how many files are open in Solaris 10 and Linux - i.e. currently open - real time
Thanks (1 Reply)
Discussion started by: civic2005
10. Shell Programming and Scripting
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar