10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Can anyone help me here:
I have to access server logs via putty and these logs file is a trailing file (continously updating) with ERROR and WARNINGS... I need to know if I can pull this trailing file to a local drive so that I can do some higlighting on some keywords through Notepad... (13 Replies)
Discussion started by: jitensetia
2. Shell Programming and Scripting
I have a file which is updated very frequently.
Where in i wanted to use tail -f command in the script and wanted to grep for a particular word.
But the issue is when i use tail -f filename|grep "word" ...
it will show me blank until the word is found in the real time. if it shows... (13 Replies)
Discussion started by: nikhil jain
3. Shell Programming and Scripting
I have created function which is as follow:
tail -f filename |grep "Key word"
output from this command
19-11-2011 21:09:15,234 - INFO Numbement - error number:result = :11
19-11-2011 21:09:15,286 - INFO Numbement - error number:result = :11
19-11-2011 21:09:15,523 - INFO... (5 Replies)
Discussion started by: ooilinlove
4. Shell Programming and Scripting
Hi, I only have a very limited understanding and experience with writing code and I was hoping I could get some help.
I have a dataset of two columns (txt format, numbers in each row separated by a tab)
7 ... (5 Replies)
Discussion started by: Emred_Skye
5. Shell Programming and Scripting
My query seems to be silly but Iam unable to find where the exact problem lies.
I have a script to unzip set of files
here is the script
Count=`cat /home/gaddamja/Tempfile | wc -l`
Filename=`cat /home/gaddamja/Tempfile |tail -$Count | head -1`
cd... (7 Replies)
Discussion started by: jagadish_gaddam
6. UNIX for Advanced & Expert Users
Dear Sun gurus,
I have Sun Fire V240 server with its StorEdge 3300 disk-array. Following are its disks appeared in format command. I have prepared its partitions thru format and metainit & metattach (may be i have made wrong steps, causing the errors below because I have done thru some document... (1 Reply)
Discussion started by: shafeeq
I got stuckup with the issue of sending mail with attachment from HP-UX.
Can any one please help me in resolving the issue.
I am giving the criteria which i want below,
1. To address.
2. Cc address.
4. File attachment(the file i am using is :-- filename_`date... (1 Reply)
Discussion started by: medisetti
8. Shell Programming and Scripting
I was wondering how can I do this
I have file myfile.txt
wc -l is: 5 000 000
I have to remove first 1 000 000 lines from header..
I tryed with tail -4000000 myfile.txt>newfile.txt
but it does not work...
any help?? (2 Replies)
Discussion started by: amon
9. UNIX for Dummies Questions & Answers
I've a major file which includes other files and now I wanna 'cut' the file in several minor parts....like
find / -name "*.tmp" >filea
wc -l filea >fileb
sed -e '1s/ filea//' fileb >filec
if ; then
cat file a |head -100l (ell) |tail -100l >filec
cat file a |head... (6 Replies)
Discussion started by: svennie
10. Shell Programming and Scripting
in my shell script i want to replace the following commands
i want to try all type of possible options avaliabul in the above commands
please help in implementing those commands (9 Replies)
Discussion started by: g_s_r_c