Skip to content

Instantly share code, notes, and snippets.

@megpay
Created June 22, 2020 23:40
Show Gist options
  • Save megpay/825e42e491fdc8ea60bc3b975b2ab3bd to your computer and use it in GitHub Desktop.
Save megpay/825e42e491fdc8ea60bc3b975b2ab3bd to your computer and use it in GitHub Desktop.
sed reading file parts
#!/bin/sh
# Read from the file file.txt and output the tenth line to stdout.
sed -n 10p file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment