Learn how to delete lines from a given line number until the end of the file using head, sed, and awk
Kai Yuan has been a software developer for over 15 years. He builds enterprise Java applications in work. He has 20 years experience of Linux and is a big fan of the Vim editor. He is happy to help people at stackoverflow.com. He lives currently in Hamburg.
Here's what I've written (so far):
Learn different approaches to read a specific line from a file
Learn how to extract the last component from a given path string
Learn two different ways to get the current login user in the shell script and a few common pitfalls
Learn various ways to extract substrings using the Linux command line
Learn how to recursively copy a directory to an existing directory with or without overwriting
Learn how to overcome the “Permission denied” error when redirecting output to a file.
Learn how to remove the last character from all lines in a file through examples
Learn how to remove a symbolic link using the rm and unlink commands
See why linebreaks in a shell variable can disappear in echo’s output and learn the right way to use shell variables in commands