HowTo Blog

Mar 10, 2016

bash head tail

get a header:

$ cat myfile | head -c 1024 > file.new

get a header with offset:

$ cat myfile | tail -c +4096 | head -c 1024 > test.new
at March 10, 2016 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Kubernetes

kubectl installation $ curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl...

Search This Blog

Pages

  • Home

Report Abuse

Archive

  • ►  2025 (5)
    • ►  June (2)
    • ►  February (2)
    • ►  January (1)
  • ►  2024 (6)
    • ►  July (1)
    • ►  April (2)
    • ►  February (3)
  • ►  2023 (3)
    • ►  December (1)
    • ►  August (1)
    • ►  June (1)
  • ►  2022 (3)
    • ►  December (3)
  • ►  2021 (11)
    • ►  October (1)
    • ►  September (1)
    • ►  August (1)
    • ►  July (4)
    • ►  June (1)
    • ►  February (1)
    • ►  January (2)
  • ►  2020 (6)
    • ►  December (1)
    • ►  October (1)
    • ►  September (3)
    • ►  May (1)
  • ►  2019 (3)
    • ►  July (2)
    • ►  June (1)
  • ►  2017 (2)
    • ►  February (1)
    • ►  January (1)
  • ▼  2016 (14)
    • ►  December (2)
    • ►  August (4)
    • ►  July (5)
    • ►  May (1)
    • ▼  March (1)
      • bash head tail
    • ►  February (1)
Simple theme. Theme images by luoman. Powered by Blogger.