4. Basic Redis commands-list, basic redis-list1. The list type is implemented using a double linked list. Therefore, if you want to add elements to both ends, the time complexity is O (1 ), the faster the element gets closer to the two ends. However, the cost is that accessing elements through indexes is slow.2. the maximum number of fields that each key can hold
Linux basic commands and linux basic exercises
To enable the Linux operating system, you must log on to the gnome gui as the root user. Select Chinese as the language support.
Use the shortcut key to switch to virtual terminal 2, log on as a common user, and view the system prompt
Use the command to log out of the user logged on to virtual Terminal 2.
Use the
192.168.1.x to connect to the database salesTYPE DATABASE USER ip-address ip-mask METHODHost sales all 192.168.1.0 255.255.255.0 ident Sameuser (indicates that any operating system user can connect with a database user of the same name)8. See so much, come up with a complete example of creating a PostgreSQL database user(1) Access to PostgreSQL advanced users(2) Enable the client program and enter the TEMPLATE1 databasePsql template1(3) Create a usertemplate1=# CREATE USER Hellen with encryped
+
Add permissions
G
The group where the owner resides
W
Write right
-
Delete permissions
O
The others
X
Executive power
=
is what it calls unique permissions
A
All (U,g and O)
To delete all permissions for a file, enter a command:chmod a-rwx Test.txtTo add permissions to the file owner, enter the command:chmod u+rwx TestYou can also use numbers to indicate
use bzip2 to compress tar files
To create a tar file, enter the command:TAR–CVF Filename.tar Directory/file/home/mineThe above command puts Directory/file,/home/mine into the archive.To list the contents of a tar file, enter the command:TAR–TVF Filename.tarTo extract the tar file command, enter the command:TAR–XVF Filename.tarThis command does not delete the tar file, but it copies the contents of the archive to the current working directory and preserves any directory struct
option, because you are worried that if you typo, the directory name will become messy.16. Delete "Empty" directory: RmDir17. Display of files and directories: LS18. Copying Files or directories: CP19. Removal of files or directories: RM20. Moving files and directories, or renaming: MV21, get the path of the file name and directory name: Basename,dirname22, starting from the first line to display the contents of the archive: Cat23. Starting from the last line: TAC (can see that the TAC is backw
10 basic Linux commands that should be remembered by new Linux beginners
Linux has a huge impact on our lives. At least, your Android phone has a Linux kernel. However, starting Linux for the first time will only make you feel uncomfortable. In Linux, you should usually use terminal commands instead of just clicking the starter image (as you do on Windows ). But
Section II Basic commands
Uname–r Query the Linux core version.
The file name of the device and device within Linux
IDE HDD/dev/hd[a-d]SCSI/SATA/USB HDD/dev/sd[a-p]USB Flash Disc/dev/sd[a-p]Floppy disk drive/dev/fd[0-1]Printer 25-pin:/dev/lp[0-2]USB:/DEV/USB/LP[0-15]Mouse Usb:/dev/usb/mouse[0-15]Ps2:/dev/psauxCurrent Cdrom/dvdrom/dev/cdromThe current mouse/dev/mouseTape drive Ide
2017-10-10linux Basics (6) Basic commandsIn the previous chapter, we mainly introduced some basic Linux command and command line interface format, in Linux, the command is necessary to master some basic commands, in the future shell script, we also use these commands to hand
of the path and the end of the path):Command DirName (remove the directory name from the path)Note: If you are using a relative path, use the absolute path if you are not on the way.Naming format for files:In the file system, based on the file name reference files, according to the name to access, in the file system, the filename has a series of provisions1. The file name cannot contain a "/" Slash, "/" can represent the root file system, or "/" can also represent the path delimiter.2. The file
Linux has a big impact on our lives. At the very least, your Android phone has a Linux kernel on it. However, starting Linux for the first time will only make you feel uncomfortable. Because on Linux, you should usually use terminal commands instead of just clicking on the launcher image (just like you do on Windows). But don't worry, the 10 basic Linux commands
Linux basic commands1. What is the symbolic representation of the absolute path? What is the current directory and top level directory used for? What does the home directory say? What are the commands for switching directories?2. How do I view the current process? How do I exit? How do I view the current path?3. How to clear the screen? How do I exit the current command? How do I sleep? How do I view the cu
"style=" Float:none; "title=" 20.png "alt=" Wkiom1eu1dobqkgxaabdd7otcqa206.png-wh_50 "/>12. Select the system form you want to install. In order: Desktop system, minimized desktop system, minimal installation, basic service installation, database server, Web server, virtual host ... Choose a desktop installation here. After clicking Finish, the system will start to install, after the installation is completed, click on the reboot reboot to use.650) t
emp where job= ' job ';2.editDescription: The command can edit the specified SQL scriptCase: Sql>edit D:\a.sql3.spoolNote: This command can output the contents of the Sql*plus screen to the specified file.Spool D:\b.sql and enter spool offDisplaying and setting environment variablesOverview: Can be used to control the output of various formats, set show if you want to permanently save the relevant settings, you can go to modify the Glogin.sql script1.linesizeDescription: Sets the width of the d
command sets the system time to coincide with the school time server: [[emailprotected] root]# ntpdate stdtime.microsoft.com← and Microsoft School. Then execute the date command again to find that the system time has changed. But it's not over yet. It is also necessary to execute the clock–w command to write the changed time to the computer's CMOS so that the changed time is not used at the next boot. The example is as follows: [[emailprotected] root]# clock–w Common
Article Title: Basic Concepts and Common commands of Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I accidentally searched for LINUX and found many LINUX concepts and Common comma
For more information about linux basic help documentation, see-2014.2.11 --- the first man in common commands: whatis1, man manual search format-input? Key, forward search, such? -H: Searches for rows containing "-h", such as/-k, the "-k" rows will be searched backward, and the corresponding matching items of the previous one will be viewed by N or n (next. 2,
View basi
to be corrected after R.
R: Enter the retrieval and replacement status. The new text will overwrite the original text until you press [ESC] to return to the command mode.
S: Delete the cursor character and enter the input mode.
S: Delete the column where the cursor is located and enter the input mode.
Actually, there is no such trouble on PC! Both input and edit operations can be completed in input mode. For example, to delete a character, directly Press
[Delete. However, the insert and replace
Beginners may feel inconvenience when they touch Linux, but there is no connection, there is a process of contact with new things, after you have used Linux for some time, you will gradually understand that Linux is as easy to master as Windows.Due to the unfamiliar operation and use of the environment, if you want to fully familiar with the application of Linux we first need to solve the problem is the Linux Common Command proficiency. In this chapter we will introduce the common
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.