How to insert lines before or after pattern? In this article, I will show you how to use sed command to insert lines before or after the pattern. Use sed…
Linux
- This entry is part 2 of 3 in the series Linux commands: Part 7 - Seeing the world as the Shell sees it
Working mechanism of wildcard characters, we call it pathname expansion. So how does the this expansion in Linux work? Example of pathname expansion Let’s try a simple example with the…
- This entry is part 1 of 3 in the series Linux commands: Part 7 - Seeing the world as the Shell sees it
In this article, what will we learn about expansion in Linux? What does it do when we type the command on the terminal? Throughout this series, we only use a…
- Linux Commands
Use tee to read from stdin and output to stdout and files
by Daniel Phamby Daniel PhamThis entry is part 10 of 10 in the series Linux commands: Part 6 - RedirectionHow to use tee to read from stdin and output to stdout and files? This article, I will introduce you to the tee command. If you forget what stdin and…
In this article, I will show you how to use wget download a file and save as a filename different? Wget is a tool that supports downloading files in Linux,…
- This entry is part 9 of 10 in the series Linux commands: Part 6 - Redirection
In this article, we will learn about tail commands. We use tail command to print last part of files. In the previous article, you read about the head command. That…
- This entry is part 8 of 10 in the series Linux commands: Part 6 - Redirection
In this article, I will introduce you to the head command. We use head command to print first part of files. Sometimes, you don’t want to display the entire contents…
- This entry is part 7 of 10 in the series Linux commands: Part 6 - Redirection
This article will guide you to the grep command. How to use grep to print lines match a pattern. The grep command is an extremely powerful command in Linux, especially…
- This entry is part 6 of 10 in the series Linux commands: Part 6 - Redirection
This article will introduce wc command. You can use wc command to count the number of lines, words and bytes in the file. Wc command syntax There are 2 ways…
- This entry is part 5 of 10 in the series Linux commands: Part 6 - Redirection
In this article, we will talk about using the uniq command to delete duplicate lines. This is one of the commands that is also used quite a lot while working…