The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: cut command
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-14-2008
nileshjori nileshjori is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 3
cut command

HI,

Bieng new to this forum not know how to start new thread.
hence updating this thread on cut command.

Please suggest delimter character for below scenario.

Here is output of my df -kP command
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/mapper/VolGroup00-LogVol00 7095808 3404132 3331228 51% /
/dev/sda2 101105 14095 81789 15% /boot
none 248540 0 248540 0% /dev/shm
/dev/mapper/db_dv_hig_01-db_dv_hig_01 24541052 18302040 4992396 79% /db_dv_hig_01
192.100.192.214:/soft/oradb/10202 16356288 10412192 5113216 68% /soft/oracledb

I want output of 5 files
1.txt
Filesystem
/dev/mapper/VolGroup00-LogVol00
/dev/sda2
none
/dev/mapper/db_dv_hig_01-db_dv_hig_01
192.100.192.214:/soft/oradb/10202

2.txt
1024-blocks
7095808
101105
248540
24541052
16356288

3.txt
Used
3403696
14095
0
18302016
10412192

4.txt
Available
3331664
81789
248540
4992420
5113216

5.txt
Capacity
51%
15%
0%
79%
68%

6.txt
Mounted
/
/boot
/dev/shm
/db_dv_hig_01
/soft/oracledb