1. Sort the contents of the file first: cat 1.txt |
Sort > 2.txt Save to 2.txt
2. Use vim to open 2.txt to execute the replacement command:
Replace spaces: %s///g
Replace tab: %s/^I//g (Note: ^I is the tab key that directly presses the keyboard)
Replace $: %s/^M//g (Note: ^M is pressed Ctrl+v then press Enter)
3.cat 2.txt |
Uniq > 3.txt
Ubuntus notebook came to a LAN, plugged in the Internet cable, the network cable indicator l
If you want to try a desktop system other than Mac and Windows, Linux should definitely be y
ls is simply a list of file names in the directory, ll more detailed list of file types, file owner
As the website runs, the MySQL database is getting bigger and bigger, and the backup proble
Graphical explanation of the installation of Linux
Linux file name look which, whereis, locate
Explain the find and locate commands for finding directories and files in Linux
Linux study notes - SSH password-free login
Linux compiles the kernel and adds system calls
Linux ApachePHPMysql default installation path
View and modify the linux file time touch
Compression and decompression commands commonly used under Linux
How to play slideshows in full screen using Windows 7 system
How does win10 modify the system date and time?
Tablets you can't help Windows 8 Metro operation
How to crack the login password To solve the problem of forgetting the password
Win7/Win8.1 upgrade Win10 card in 32% failure solution
Teach you how to query Windows XP/Windows 7 comes with system game path
Configuration Notes on Strengthening Linux Operating System Security
Web.config security related configuration
How does Win10 notebook turn off sleep mode? Win10 method to turn off sleep mode