rev Reverse reading , reverse
echo 123456 | rev # The result is 654321 rev Name.txt # The line number hasn't changed , The data in each row is flipped over
less have more Command all functions , More powerful
more and vi Will load all the files into memory , however less Reading data doesn't load all the files into memory
less Support directional keyboard ,pageup、pagedown,b Key to previous page , Space next page
-N Show file line number , All the contents of the file will be displayed
linux_ Common commands _2 More articles about
- Linux_ A brief introduction to common commands (netstat,awk,top,tail,head,less,more,cat,nl)
1.netstat netstat -tnl | grep 443 ( see 443 Whether the port is occupied ) root user , use netstat -pnl | grep 443 ( It can also show the occupation of the machine 443 Port process P ...
- Linux_ Common commands 1
come from :http://www.weixuehao.com/archives/25 Linux Introduction and Ubuntu install Linux, Free and open source , Multi user and multi task system . be based on Linux There are multiple versions of the derivative .RedHat. ...
- Linux_ Common commands _01
PS: Some operations that do not involve other software ,OS An order that was supported . 1. Compress / decompression : Compress : tar -zcvf /home/android1.6_cmdCompress.tar.gz /root/manifes ...
- Linux_ Common commands _04_ mount
1. mount [-t vfstype] [-o options] device dir ZC: -o Followed by a number of option Words , Separated by commas .( for example :"mount -o rw,remou ...
- Linux_ Common commands _02
1. Configure network parameters : (1).root Sign in --> setup command Enter into "text mode setup utiliy" (2). Run the command "/etc/rc.d/ ...
- linux_ Common commands _(ls, lsof,nslookup)_ View files in chronological order
Usually collect some used commands Easy to use 1: ls -lrt Sort by time Exhibition 2:nslookup see dns analysis 3:lsof -p Process number lsof `which httpd` // That process is using ...
- Linux_ Common commands _03_ disk / mount _ Information view
1. 1.1. mount Without parameters , It is shown that The current situation that has been mounted 1.2. df Without parameters , Hard disk partition status query 2. 2.1. cat /proc/partitions 2.2. fdisk ...
- Linux_ Common commands
File search -find -locate -grep String search -grep Filter -grep/find/xargs/ edit -sed To be continued ....
- Linux_ Directory basic operation _ Common commands 【 Detailed explanation 】
Linux_ Common commands Linux Directory tree structure of file system :[Linux Everything in the world is a document ]: To put it bluntly , Just files and folders ( Catalog ) Operation between . Ordinary users kkb All files and folders , In fact, they are all located in root User /home ...
Random recommendation
- java Loading of classes in
When a class has inheritance and is associated with other classes , The loading order of the modules in the class is as follows : 1. First find public class , Determine whether the class inherits from other classes , If you don't inherit other classes (Object Except for class ), Then load the class : Otherwise, load the superclass of the class , Superclass ...
- express Notes 01
Setting of system variables app.get(env) | process.env.NODE_ENV: Will automatically determine the current environment type ; app.get(port) | process.env.PORT: Must be set manually ; ...
- 《Prism 5.0 The source code walkthrough 》ModuleCatalog
Concept ModuleCatalog yes Prism It's one of the main concepts , It is mainly used to save the available modules( modular ), Every module It's all used ModuleInfo To define ( contain module The name of . Type and location ). ...
- Wireless network (WLAN) Introduction to common encryption methods
Using a wireless router configuration wifi Security settings often encounter a variety of encryption methods , I don't know the meaning or how to choose . This article will make a brief introduction to this . 1.WEP Wired Equivalent Protocol (Wired Equivalent Privacy, ...
- wemall app Source code of shopping mall Android The Alipay interface common function
wemall-mobile Is based on WeMall Of Android app Shopping Mall , Just upload the interface file in the original mall directory to complete the server configuration , The client can customize and modify . This article shares wemall app Source code of shopping mall Android And ...
- Reverse practical dry goods sharing ,Hook Technology first , And Hook Windows API
Reverse practical dry goods sharing ,Hook Technology first , And Hook Windows API author :IBinary Source :http://www.cnblogs.com/iBinary/ copyright , Please keep the original link for reprint :) ...
- About py Thinking
1. I hope py The course should be about how to improve programming efficiency , Because already c The basis of programming , Not particularly concerned about how to use py, It's about how to use it better 2. Basic skills , Master the usage of various basic functions 3. Intensive teaching of theory course , The experiment class operates independently , And put what appears ...
- Kubernetes System initialization configuration of cluster building
Kubernetes Several ways to deploy 1. minikube Minikube It's a tool , You can run a single point of Kubernetes, Try Kubernetes Or users of daily development . Cannot be used in production environment ...
- js Dynamic programming --- knapsack problem
// There is only one item of each kind , You can choose to put it or not // namely f[i][w] Before presentation i Items are just put into a capacity of w The maximum value that you can get from your backpack . // Then the equation of state transfer is :f[i][w]=max{f[i-1][w],f[i-1 ...
- Win10 Startup disk making tool
Rufus https://rufus.akeo.ie/ http://www.iplaysoft.com/windows-10-udisk-install.html