Search Results

Search: Posts Made By: za_7565
3,315
Posted By za_7565
Ahmed, thanks for your help.
Ahmed,
thanks for your help.
3,315
Posted By za_7565
grep required data from two columns
hello,

I have output from a command and I need to filter some info out of that. I tried awk command but I can not grep what I am looking for:

Following is the output and I need to capture...
1,995
Posted By za_7565
report negative value from file
Hello,

I need help to write a script to do the following:

1) read the following file vol_check.out
2) report any negative value with host and volume name

vol_check.out file contents:
...
5,539
Posted By za_7565
while running as following: ./script | awk...
while running as following:

./script | awk '{ORS=NR%2?" ";"\n"}1'

getting the following error:

awk: syntax error near line 1
awk: illegal statement near line 1
awk: syntax error near line...
5,539
Posted By za_7565
Thanks for the input, but how can I get this from...
Thanks for the input, but how can I get this from running the above mentioned script in this thread.

I did not hijack the thread, this question is related to the same thread and the script which...
5,539
Posted By za_7565
Hi guys, need a quick help on this ... how can I...
Hi guys, need a quick help on this ... how can I get the following output into different columns like:

16862 868K /home/home_1/abbama0z
16791 8.9M /home/home_1/ahmaha0d
.... and...
2,719
Posted By za_7565
bullz, provide some examples Or hints that what...
bullz, provide some examples Or hints that what exactly you need to achieve from the script.
53,357
Posted By za_7565
try the command "jobs" that should give you the...
try the command "jobs" that should give you the status !!!
5,539
Posted By za_7565
Hi Smiling Dragon, Thanks for your help .....
Hi Smiling Dragon,

Thanks for your help .. it works for me !!! Appreciate that.
5,539
Posted By za_7565
calculate the space
Hi everyone,

I need to write a script to calculate the space for sub-folders under /home:

Here is the scanrio:

cd /home
drwxr-xr-x 57 root root 8192 Jan 22 16:13 home_1...
4,742
Posted By za_7565
Thanks a lot Yogesh !! it works.:b:
Thanks a lot Yogesh !! it works.:b:
4,742
Posted By za_7565
Excellent !! you guys are the best helpers. ...
Excellent !! you guys are the best helpers.

A quick ?, how can I get rid of the duplicate entries: This is what I have now;
unixsrv1
unixsrv1
.
.
.
unixsrv1 (20 entries)
same for the other...
4,742
Posted By za_7565
separating entries by using cat command
Hi there,

Is there any option if I cat the following line from a file and than redirect to another as separate entries:
...
5,344
Posted By za_7565
ping hosts from config file
Hello,

I have config files for my storage where file systems are exported to lots of hosts as root.

I need to write a script in ksh to somehow filter these hosts from the file and ping those...
3,452
Posted By za_7565
Excellent help guys ... it works !! Thanks to all...
Excellent help guys ... it works !! Thanks to all who provided help.
3,452
Posted By za_7565
checking entries between files
I need to write a script for:
I have two files where I need to check entries and sort of compare:
file1:
data01
data02
data03
data04
data05
.
.
.
data81

file2:
/vol/vx/data01...
Showing results 1 to 16 of 16

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