In this previous Linux Bash tutorials we have used the cat command to print out the contents of our text files. The cat command can do so much more than print out a single file. The Linux command can concatenate multiple files together and print their contents to the terminal. The cat command can also add line numbers to the output and this is very useful for programmers.

In this tutorial I will demonstrate all of these features of the Linux cat command and much more

Other Linux tutorials in this course:

Linux tutorial 1 The basics of Bash
Linux tutorial 2 Creating nested directories
Linux tutorial 3 How to remove directories and files
Linux tutorial 4 How to move and rename files
Linux tutorial 5 Working with directories
Linux tutorial 6 How to redirect standard output
Linux tutorial 7 How to redirect standard input
Linux tutorial 8 How to pipe output between commands
Linux tutorial 9 How to use the cat command
Linux tutorial 10 How to display hidden files
Linux tutorial 11 Basics of file permissions
Linux tutorial 12 How to copy files and folders
Linux tutorial 13 How to change file dates
Linux tutorial 14 How to sort a file

Linux tutorial 15 How to display disk usage

If you want to learn more about the Linux bash shell then checkout this book:
Linux in a month of lunches:

Future tutorials will be posted to Patron first

==== GET EARLY ACCESS TO FUTURE VIDEOS & TUTORIALS ====

Patron:

======== RECOMMENDED PROGRAMMING RESOURCES ========

Manning programming books and courses:

Python Crash Course:
PHP Web Services: APIs for the Modern Web:
Responsive Web Design with HTML5 and CSS3:

======== MY PROGRAMMING COURSES ========

Docker in Motion:
Skillshare courses:
Udemy courses:

======== WEB HOSTING DEALS ========

Cloudways: = 20% off first 6 months
Digital Ocean: = $10 off
Linode:

======== SUBSCRIBE TO THE NEWSLETTER ========

Join the Newsletter:

======== FOLLOW ME ========

Blog:
Facebook:
Instagram:
Twitter:
Pintrest:
Twitch:

======== MY TALKS ========

How to put your Docker image on a diet:

======== SUPPORT THE CHANNEL ========

Become a Patron:
Donate:
Help translate the videos:

======== VIDEO SETUP ========

Nikon D5300 Camera:
Logitech HD Pro Webcam C920
CRAPHY Photography Studio Lights:
Rode Procaster Microphone:
Rode VideoMic Pro:
Zoom H4NPro:

Nguồn: https://codeigniterbrasil.com

Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-linux/

2 Comments

Abdul Khan

April 12, 2020

can i add more words into the line number 3 or 4, if yes how?

Reply

arri kd

April 12, 2020

Hopefully you will read this. I don't understand the first line of the man cat. What happens when the file is empty or – (dash)…?

Reply

Leave a Reply