There are many common commands in Linux that must be mastered, and here I will learn some common basic commands that I learned from Linux to share with you and hope to help you.This is the bird in the book I have done a bit, I hope not to deal with copyright issues.1. Instructions for displaying dates: date2. Instructions for displaying the calendar: Cal3. Simple
.ShutdownShutdown [OPTIONS ...] [TIME] [WALL ...]Options:-H: Shutdown-R: Restart-C: Cancel the shutdown or restart operation that has not been performedTime:(1) hh:mm(2) +m15.Which:which [OPTIONS] [PROGRAMS]-A: Displays all matching program files, not the first;[Email protected]/]# which-a/etc/host*/usr/bin/which:no host.conf in (/etc)/usr/bin/which:no hostname in (/etc)/usr/bin/which:no hosts in (/etc)/usr/bin/which:no Hosts.allow in (/etc)/usr/bin/which:no Hosts.deny in (/etc16.whereis:Whereis
Linux is a lot of frequently used commands are necessary, here will I learn Linux in the introduction of some of the frequently used basic commands to share with you, hoping to help you.This is the bird in the book I have done a bit, I hope not to deal with copyright issues.1. Instructions for displaying dates: date2. Instructions for displaying the calendar: Cal
Label:The project used to MongoDB, the basic is to use Robomongo to connect the server, do some of the lower permissions to delete and change the operation. Commands often forget to record some of the most frequently used commands for collections for easy querying: 1 , create a clustered collection (table)
- 5 - });
2 a Clustered collection (table) with th
characters in the sample table
[: Digit;] Any number, which is equivalent to 0-9
[: Lower:] any lowercase characters
[: Upper:] Any uppercase letter
[: Alpha:] any case letter
[: Alnum:] any number or letter
[: Blank:] Horizontal white space character
[; Space:] Horizontal or vertical whitespace characters
[: punct:] Punctuation
Absolute path: Starting with a forward slash, the full file location path can be used for any time you want to specify a file name
Relative path: Sp
Basic usage of vim commands using vi/vim 1. basic concepts of vi there are basically three states: command mode and Insertmode) compared with lastlinemode, Each mode has the following functions: 1) Command Line... basic usage of vim commands using vi/vim 1.
Linux Common commands:Practice more than 3 timesFirst, the command basic format1. Command format:[Root (Administrator) @localhost (hostname) ~]# (super User prompt, normal user prompt is $) adminis/root First level directory with PWD print working directory (print working directory) view/home/user1/Level Two Directory[[email protected] ~]# cd/usr/local/src/switch current directory[Email protected] src]#command [options] [parameters] brackets indicate
Basic commands for viewing logs in linux and linux1. cat command:
Function:1) display the entire file.
Example: $ cat fileName
2) connect the file string to the Basic output, for example, merge several files into one file or output them to the screen.
Example: $ cat file1 file2> file
Note: connect the archive string and upload it to the
all users.
Windows VIMRC is located under the C:\Program files (x86) \vim folder. The name is _VIMRC, assuming that the everything is installed, the direct search VIMRC a step can be located.
Vim configuration file VIMRC"-----------------------------------------------------------------------------------: IMAP II Vim's frequently used commands Efficiency. # repeated recent text operations # file: Q # Exit Q->quit:w # Save w->write:q! # F
level)1: Single-user mode2: Multi-user, no NFS (this level is the same as 3 if you do not configure the network)3: Full multi-user mode4: Do not use5: Graphics mode6: Restart (do not set to start the default level)5. The system's login processBIOS boot boot phase: Mount the boot manager from the MBR and run the boot-boot management.Grub as an example starts the boot phase: reads the/boot/grub.conf file and displays the boot menuKernel Stage: Mount the root file systemSys V init initialization p
Basic commands for memcached (installation, uninstall, startup, configuration-related)
-P Listening PortThe IP address of the-l connection, the default is native-D Start memcached service-D Restart Restart memcached service-D Stop|shutdown shut down the running memcached service-D Install installation memcached service-d Uninstall Uninstall memcached service-U Run as (only valid when run as root)-m maxim
Tags: int names error logging related SQL RDA input new is yourAfter the successful start of MongoDB, and then open a command line window input MONGO, you can do some of the database operations.Enter help to see the basic Operations Command:Show DBS: Display Database listShow Collections: Displays a collection in the current database (similar to a table in a relational database)Show Users: Show userUse Db.help (): Show database Operations Command with
Tags: des style http color io using AR strong forAfter the successful start of MongoDB, and then open a command line window input MONGO, you can do some of the database operations.Enter help to see the basic Operations Command:Show DBS: Display Database listShow Collections: Displays a collection in the current database (similar to a table in a relational database)Show Users: Show userUse Db.help (): Show database Operations Command with a lot of comm
users:root switch to normal user1. Exit 2. Su-user name Note There are spaces on both sides!!! 2-2. Basic Operation command
LS dir
List all files (directories and files) in the directory
Pwd
Show Current working directory
Cd
switch to a directoryNothing is added to the CD.users will automatically jump to the user's home directory/home/xxxroot user will automatically jump to/root
More
View the co
If you are a newcomer to the DB2 database, you will be very concerned with basic DB2 commands and some commands and related knowledge involved in use. In the DB2 database getting started class, some friends have also mentioned this question. Experts have answered the question and compiled some articles to help other friends learn and master the question.
Common D
is no difference between basic editing commands and Windows. Isn't it easy? When you have entered the required content, we will save it,At this point, click the ESC key to return to command mode from edit mode, first enter a colon ":", that is, hold down the SHIFT key and then press the semicolon ";" So first enter a ":", then, enter W, return,You can save the contents of our edits to the Loveletter file.
Basic linux commands-general Linux technology-Linux technology and application information. For more information, see the following section. 1. view the current working directory
# Pwd (print working directory), you can see your current full directory path
2. Change the Directory
# Cd where
Cd is returned to the initial directory when the user logs on.
Cd-is used to return to the initial directory at login.
Vro basic commands:
Router> enable: Enter privileged Mode
Router # disable returns from privileged mode to user mode
Router # configure terminal enters global configuration mode
Router (config) # interface ethernet 1 enters the ethernet port number 1 of the Router
Exit: returns the upper-layer mode.The end is directly returned to the privileged mode.
========================================================
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.