Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the basic commands of linux

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Most people don't understand the knowledge points of this article "how to use the basic commands of linux", so Xiaobian summarizes the following contents for everyone. The contents are detailed, the steps are clear, and they have certain reference value. I hope everyone can gain something after reading this article. Let's take a look at this article "how to use the basic commands of linux".

Common Linux commands

1: Create files and files

mkdir+smyang#means to create a folder of yangsm vim+ yangsm.txt #means to create a file of yangsm #and above there is a difference oh

2: How to exit in vim file

a, Escb, ctrl+;#can be added such as: wqc, q #where q means exit, q!# indicates forced withdrawal

2: Download software

wget + link

3: The cat command

Display the contents of an entire file at once

cat+file.name+|+tac#means to flip up and down in file.name in advance cat+ file.name +|+rev#Reverse left and right, each line of characters are mirrored

4: View files

head and tail #head means to view the file from front to back #tail means to view the file from back to front such as: head+-n+ lines + file.name #means to view the first nth line of file.name such as: tail+-n+ lines +file.name#means to view the number of lines following the file.name file tail -n 5 fille.nametail -n +5 file.name#means to view the file.name file starting from the fifth line, Common words remove the title #password change passwd above is about "linux basic command how to use" the content of this article, I believe everyone has a certain understanding, I hope the content shared by Xiaobian is helpful to everyone, if you want to know more related knowledge content, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report