10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
2. Shell Programming and Scripting
Dear Folks,
I am a newbee to UNIX. I want to extract the SQLSTATE from a log file. For example the log file content is
SQL0010N The string constant beginning with "' from table1 a, table 2" does not have
an ending string delimiter. SQLSTATE=42603
when I give the the command as ... (4 Replies)
Discussion started by: dinesh1985
4 Replies
3. Homework & Coursework Questions
Use and complete the template provided. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I have to find all the files where the function sequentialInsert is called and the directory is ~cs252/Assignments/commandsAsst/project
2.... (2 Replies)
Discussion started by: jennkat
2 Replies
4. UNIX for Advanced & Expert Users
my file contains
xxabced.p dlksfad;
dflsdkjflkds flksdjflkdioewf
erfsdlkfjsdla;
dlkfjsd;lfkj msgdadf.p dslk kdjflksdjfl;asdfasdfjkljl
fdsf;jd ppuskldf.p
i want the output is
xxabced.p
msgdadf.p
ppuskldf.p
Can any one give the command? (1 Reply)
Discussion started by: kingganesh04
1 Replies
5. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I am trying to use grep to locate multiple uses of the same word in the same line. The word has to be 3+ char, upper or lower or both.
I tried this code
<code>
grep \({3,}\)*\1 i*
</code>
and i turned out zero results. Any ideas?
____________________________________________... (5 Replies)
Discussion started by: Omega1589
5 Replies
7. Shell Programming and Scripting
hi,
I am facing a problem when i use grep command in shell script.
problem is as follows...
1)i has declared an variable (say a)
2)Now i am searching for an pattern in a file and i used the followig command
cat /wls_../../scripts/log.txt | grep $a-JUL-08
i am not getting any... (6 Replies)
Discussion started by: hemanth_t
6 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I have a list in .txt format of email addresses and I need to extract just a specific domain ...
The list format is like:
"123456";"user@domain.com";"email";"john";"name"
"123457";"user2@domain.com";"email";"john";"name"
"123458";"user3@domain.com";"email";"john";"name"... (7 Replies)
Discussion started by: holyearth
7 Replies
9. Shell Programming and Scripting
hi
Can anyone explain me how these two commands awk and grep works in a ksh shell
Thanks
Babu (1 Reply)
Discussion started by: ksmbabu
1 Replies
10. UNIX for Advanced & Expert Users
grep can filter the text which want to display, but if I want it do not show the text specific in grep, how to do? thk a lot! (2 Replies)
Discussion started by: zp523444
2 Replies