San Addict

Friday, May 2, 2014

Linux - Print First row

server_mount server-2 | sed 's/\|/ /'|awk '{print $1}'

Remove spl characters < >

server_mount server_2 |sed 's/\|//'awk '{print $1}' | sed 's/[<>]//g'

Posted by Sanaddict at 6:08 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Sanaddict
All posts here are my personnel views, if you find it beneficial for you, use on your own risk. Please comment for any concerns.
View my complete profile

Blog Archive

  • ►  2024 (1)
    • ►  May (1)
  • ►  2018 (4)
    • ►  June (1)
    • ►  April (3)
  • ►  2017 (5)
    • ►  October (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (2)
  • ►  2016 (1)
    • ►  April (1)
  • ►  2015 (25)
    • ►  August (2)
    • ►  July (2)
    • ►  June (12)
    • ►  May (1)
    • ►  February (3)
    • ►  January (5)
  • ▼  2014 (38)
    • ►  October (6)
    • ►  September (4)
    • ►  July (4)
    • ►  June (2)
    • ▼  May (8)
      • Get List of VM's on server:  Get-VM VM detailed in...
      • PowerCLI - Initial connection script commands
      • VMAX - Powerpath, Unisphere, Solution Enabler Inst...
      • VMAX - Environment Status (drive, Hardware)
      • VMAX - VLUN Migration
      • Isilon - truss command - tracking status
      • Linux - Print First row
      • VG8 - nas_checkup automatic scheduler
    • ►  April (14)
Watermark theme. Powered by Blogger.