Finally, I know the basic commands of linux-general Linux technology-Linux technology and application information. The following is a detailed description. Ls is the meaning of viewing
Pwd indicates the current position.
Du is the amount of extra disk space.
Clear is used to clear terminal commands when there are many input and output on the screen.
Cal is to
%} #View CodeIv. Pycharm Creating a Django Project1. Menu bar file-->new Project ...Fill in the Project save location, application name.2. Change setting.pyComment The ' django.middleware.csrf.CsrfViewMiddleware ' out, otherwise the following situation will occur.3, settings.py in the templates in the dirs need to check whether it is empty, if empty, add on Os.path.join (Base_dir, ' templates ').This is not set in the template, set template to find such as path, open Settings.py-tpl, add o
Routine basic maintenance commands for Oracle RAC
Status of all instances and services
$ Srvctl status database-d orclInstance orcl1 is running on node linux1Instance orcl2 is running on node linux2
Status of a single instance
$ Srvctl status instance-d orcl-I orcl2Instance orcl2 is running on node linux2
The status of the global Naming Service in the database
$ Srvctl status service-d orcl-s orcltestServi
Basic linux commands mkdirWhat is mkdir? mkdir is short for makedirectories and is a command used to create a directory in linux. 1. Command Format: mkdir [Option] Directory... 2. Command function: When mkdir is followed by the directory name, the new directory is created under the current directory. When mkdir is followed by an absolute path, the new directory is created under the given path directory. Whe
Notes on basic linux commands0. ls-lhDisplay Properties of files in the current directory in a user-friendly manner1. Link:Hard Link (itself is the file pointer, equivalent to the original file pointer)Ln filename1 filename2Soft link (itself a pointer, creating a pointer to the original file)Ln-s absolute path filename22. Search:File SearchLocate (fast, but only search by file name)Search/var/lib/mlocate in the database and update it once a day.Force
Ifconfig: Configuring network devicesifconfig eth0 192.168.1.1Echo: Display a piece of textEcho $PATHEcho-e "A/TB/TC/ND/TE/TF"TTY: Display the file name of the terminal link standard input deviceTtyTty--versionSTARTX: Start x WindowsStartx-w (Force start x session)Export: Output shell variable or shell function as environment variable EXPORTPWD: Displays the current user's directory Pwdhistory:[craw] Displays the specified number of history commands,
First, Linux basic commands and how to get helpFormat of the 1.Linux commandCommand + options = parameterA) command: Tell the Linux (UNIX) operating system what to do (execute).b) Option: Describes how the command runs (you can change the function of the command). The options section starts with a "-" character.c) Parameters: Describes what the command affects (action) (such as a file, a directory, or a par
(255,255,255); "alt=" Qq20170715092017.png "src=" Http://upload-images.jianshu.io/upload_ images/6886239-2a9ea25afaa2eb32.png?imagemogr2/auto-orient/strip%7cimageview2/2/w/1240 "/> on the relationship between partition and mount point, there is a word that can help us understand: When a directory is not mounted separately, the contents of that directory are stored on a partition that is mounted on its parent directory similar to the view disk partition command: cat/proc/partitions, DF Where
/dev/cdrom/mnt/Device mount point directory entry37.DF command to view disk space usage-H human-readable Human readable#linux下面查询帮助的方法1.man command2. Command--help###mv/data/root/1. Generally indicates the contents of the directory itself and below the directorymv/data//root/2. Generally indicates the contents below the directory# # #特殊符号1.. (dot) indicates the current directory/path2 ... Represents the parent directory of the current directory3. # indicates comments (Linux ignores, skips)4. "(a
The free command shows how much memory is being used in the current system in the following format: Free[-m/-g]Displays the current memory usage in units of M[Email protected]/]# free-m Total amount of memory consumed the amount of memory that the process shares in the memory volume of the disk cache CacheWho commands to view the number of users currently logged into the systemLast command to view all system log-in record formats: la
back to the top level directory, CD. /.. /.. Go back to Level three, CD-go back to the last operating directory and know that these commands are much more convenient when you switch directories back and forth.The 8.SCP command is a copy of the transfer file between two machines, which refers to a Danale blog to introduce, http://www.cnblogs.com/peida/archive/2013/03/15/2960802.html personal feeling written very good!9. File permission Description: Dr
Linux provides a number of commands that can be used to simplify our work, perhaps in the graphical interface to click on the mouse more than 10, and in the Linux system, a command can be easily resolved. Therefore, it is necessary to work on a Linux system using the commands provided by the system. To really understand Linux systems, you have to learn from Linux commands.The command format in a Linux syste
files: TouchUsers can create an empty file via touch, with the following demo:Touch Hello.txtDescriptionAn empty file named Hello.txt is created under the current pathThere is no strict suffix (format) in the Linux system, so you can name any file name when you create it==================================================================Note: The above course notes for the study of the teachers in the classroom study notes, if necessary to reprint, if you need full notes, please contact me privat
Number of blocks allocated to slab
Used_chunks
Number of blocks already assigned to item
Free_chunks
Number of blocks not assigned to item
Free_chunks_end
Number of blocks currently available
mem_requested
The number of bytes requested to be stored in the slab
Active_slabs
Number of slab already allocated
total_malloced
Number of bytes already allocated to slab
Item is
. Moving and renaming files: MVCommon options:-I: Interactive-F: MandatoryExample: [[email protected]/]# MV/HOME/PASSWD/HOME/PW[Email protected]/]# Ls/homePW python test User6 Zhang26. Delete: RMCommon options:-I: Interactive-F: Force delete-R: RecursiveExample: [[email protected]/]# RM/HOME/PWRm:remove regular file '/HOME/PW '? Y27. Show Directory tree: Tree-D: Show only directories-L level Specifies the number of levels to display-P Pattern: Displays only paths that are matched by the specifie
owner or group of a file or directoryChown/user name/file name8, ChattrChange file properties9, LsattrList the file attributes on ext210, pswhoViii. Other Orders1. BCCalculator2, XmmsPlayer3, XinePlayer4.VI Open or create a new name file. (Touch)Vi file name If the new is the case, if it is open, you can see the contents.In short, whether it is a new or open existing, enter the VI interface, press I to enter the editing mode. What you said for a long time didn't respond because you didn't press
I. The concept of command. Terminal (Terminal)?? command is a Linux system management, Linux system users through the terminal login shell process, terminal is the shell Process Control terminal.?
?? TTY displays the terminal name of the current terminal?? Terminals can be run independently at the same time??
. Command execution procedure?? Alias alias--builtin internal Command--hash cache table-$PATH program, script?? The system first looks for the command from the Ptah path and joins it to
name to enter the nth line of files for editing: 1,.s/redhat/fedora. Indicates the current line, which is the row of the cursor, and line 1th to the current line (.) The first occurrence of the redhat character instead of the Fedora: 1,.s/redhat/fedora/g the 1th line to the current line (.) All occurrences of redhat characters instead of Fedora,g: 1, $s/redhat/fedora/g $ represents the last line, substituting the 1th line to the last line for all occurrences of redhat characters as Fedora or (:
-o/--output writes the output to the file-o/--remote-name writes the output to the file, preserving the file name of the remote-p/--proxytunnel using an HTTP proxy--proxy-anyauth Select either proxy authentication method--proxy-basic using Basic authentication on the agent--proxy-digest using digital authentication on the proxy--PROXY-NTLM using NTLM authentication on the agent-p/--ftp-port instead of PASV
to Sgid, The group to which the user who has write permission to this directory belongs to a file that is created in this directory the genus group for this directory ; Permission settings: chmod g+s DIR ... chmod g-s DIR ... Sticky For a multi-person writable directory, if Sticky is set, each user can only delete their own files; #/tmp has sticky permissions by default to prevent users from deleting non-self files permission settings: chmod o+t DIR ...
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.