linux open file command

藏色散人
Release: 2019-06-06 09:52:00
Original
7146 people have browsed it

linux open file command

Linux command to open a file

Command to view file contents:

catDisplays content starting from the first line and outputs all contents

tacDisplays content from the last line in reverse order and outputs all contents

moreAccording to the window size, the actual file content page by page

less is similar to more, but its advantage is that you can turn pages forward, and You can search for characters

headOnly the first few lines are displayed

tailOnly the last few lines are displayed

nl Similar to cat -n, output line number when displayed

tailfSimilar to tail -f

Recommended related video tutorials: "Linux Tutorial"

The above is the detailed content of linux open file command. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!