Search Results

Search: Posts Made By: bp_vardhaman
1,983
Posted By bp_vardhaman
ls -ltr |tail -1 also should work
ls -ltr |tail -1

also should work
8,954
Posted By bp_vardhaman
so this cant be resolved?
so this cant be resolved?
8,954
Posted By bp_vardhaman
doing grep inside perl file
Hi have one Perl file inside that i am defining
at an array file.

@temp_vmdk_files = `grep vmdk '$guest_vmx'`

where my $guest_vmx=/vmfs/volumes/47e40fec-9c8bb7f7-d076-001422159f8a/BES...
3,713
Posted By bp_vardhaman
vmware-vim-cmd vmsvc/getallvms| grep -v Vmid |...
vmware-vim-cmd vmsvc/getallvms| grep -v Vmid | awk -F"[" '{print $1}' | sed -e 's/[ !0-9]*//'

Got the right one after doing this

Thanks everybody who helped
3,713
Posted By bp_vardhaman
But i even want tab also but here its coming as...
But i even want tab also but here its coming as without tab :)

BES AD
3,713
Posted By bp_vardhaman
when i do this it gives me output as 128...
when i do this it gives me output as


128 BES-Exchange

144 BES-SVR
176 BES AD

i want only BES and things
3,713
Posted By bp_vardhaman
extracting parameter from file
Hi
I have file

128 BES-Exchange [perf08:storage1] BES-Exchange/BES-Exchange.vmx winNetEnterpriseGuest vmx-04
144 BES-SVR [perf08:storage1]...
2,885
Posted By bp_vardhaman
i want now include in script rather just want to...
i want now include in script rather just want to try from Command line like this

cat dev.txt | awk '/^uuid/ { uuid=$3 } /^device-config/ && $NF == '/dev/sdc' { print uuid }'

But nothing it...
2,885
Posted By bp_vardhaman
Really not following here can i know what does...
Really not following here can i know what does mean of $3 here? can you give another trick if u know?
Thanks
2,885
Posted By bp_vardhaman
i want to extract details for particular file
Hi i have following file

uuid ( RO) : 62701790-60da-dd9a-669d-a563aac1c435
host-uuid ( RO): 5f3f668d-a7c7-4e5f-a4a6-6e90fafb50ed
sr-uuid ( RO):...
7,436
Posted By bp_vardhaman
Finding recent files
find / -atime 2 -print

This command finds files accessed two day ago (the day before yesterday). An additional + and - (minus) can also be used here for greater than and less than.

find /...
7,436
Posted By bp_vardhaman
Finding recnt files
find / -atime 2 -print

This command finds files accessed two day ago (the day before yesterday). An additional + and - (minus) can also be used here for greater than and less than.

find /...
Showing results 1 to 12 of 12

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