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 (:
Linux basic commands on file operations (in case) in the root directory (/) to create a new directory tew.kdir/test to change the current directory to/test, under this directory, create an empty file with the abbreviation of your own name, and then create two subdirectories (-xh) and (ah );... linux basic commands on f
Basic Linux commands-general Linux technology-Linux technology and application information. For more information, see the following section. Basic Linux commands:
Who to view the current user
Ps aux (I often have one more '-' with a row of error messages)
Netstat (man or info to CC)
Shutdown reboot command
Shutdown Syn
The following articles mainly describe MySQL database commands in detail. We first begin by displaying the basic information of the MySQL database to parse the MySQL database commands in detail, the following describes the specific content of the article.
Display basic MySQL information:
MySQL>status;
View varia
To view the database, you must first find the db file, if copied to the computer, view more methods, on the phone, with commands to view the comparison is direct and convenient.First to find the location of the database, the general database is stored in the program's private directory, so to get root permissions.Make sure the development tool is connected to the phone, open the command line, enter the ADB shellAt this point do not get root permission
Summary of basic network port operation commands in CentOSThis article mainly introduces the basic network port operation commands of Linux system, including solutions for port conflict. For more information, see
Close the portIptables-a input-p tcp-dport 111-j DROP
Open PortIptables-a input-p tcp-dport 111-j ACCEP
Displays line number: Set Nonumber hidden line number: 5 cursor quickly navigates to line 5th: 1, $s/nologin/888888/gReplace the nologin of the entire file with 888888VI command: command-line mode below: Find:/stringSearch Down by letter NSearch By letter N--------------------------------------------------------------Pipe Symbols |--Pass the output of the previous command to the latter command processing--which commands are supported to be placed in
, different attributes, smaller files♣ Removal 2.sh has no change, but 3.sh points to an invalid file that is no longer a link.♣ Delete * * The hard-link file takes the same index node number as the source file; the hard link maintains the index node number to preserve the data, knowing that you deleted the last hard-linked file. 10. Commands to view the contents of a file Stat: Provides all state information for a file on a file systemFile: Types of
I've written several articles about how to use the command line interface to manage files on your system, and here are a few basic commands that are common to all distributions.To copy a file or directory to a new location:
CP Path_of_file_1 path_of_the_directory_where_you_want_to_copy/
Copy all files from a directory to a new location (note the slash and asterisk, which indicates all files in
Tag: Pos Post search detects down art ble MRC consistencyVIM basic Commands
Cursor movement
G last lineNG moves to nth row n return cursor moves down n rowsGG First Line
Find and replace
/wordn Repeat previous Find operation N search up: n1,n2s/word1/word2/g from line N1 to section N2 find N1 replace with N2 last behavior $
Delete, copy and paste
X,x backward Delete
Linux CentOS Common Command **************************///Install centos6.6 with GNOME desktopCTRL + C terminates the current commandCTRL + Z PauseExit returnsStart Firefox: Firefox (The role of is placed in the background to do)Get root: Su root or Su-switch to new environmentsudo: Executing commands with Administrator statusID: Get user informationModify User password: passwdShutdown-h now immediately shuts down the machineShutdown-r now restartVie
Tags: first shel bit operation otherwise IDT operation for work ACKLinux Learning Chat (i)--Shell Basic operations and commands(Reproduced please attach this article link--linhxx)1, #!/bin/shPlaced at the beginning of the program, expressed in/bin/sh way to parse.2. Variables1) variable assignment varname= ' xxx ', in addition to variable assignment and in the For Loop statement header, in other cases the v
Basic Oracle Tutorial: SQLPLUS Environment command. Commonly Used commands of sqlplus when an SQL statement is entered, SQL is cached in SQLPLUS. This cache is small and only one SQL statement can be allowed.
Basic Oracle Tutorial: SQLPLUS Environment command. Commonly Used commands of sqlplus when an SQL statement is
[-amnrsvpio][--help][--version]Supplemental Note: uname can display basic information such as the version of the operating system used by the Linux host, the name of the hardware.Parameters-A or –all verbose output all information, followed by kernel name, hostname, kernel version number, kernel version, hardware name, processor type, hardware platform type, operating system name-M or –machine displays the hardware (CPU) name of the host-N or-nodenam
The following describes the basic MySQL commands.
1. start the MySQL serverIn fact, the previous article describes how to start MySQL. Two methods: one is to use winmysqladmin. if the machine runs automatically at startup, you can directly go to the next step. Second, run c: mysqlinmysqld in DOS mode2. enter the mysql interactive operation interfaceRun: d: mysqlbinmysql in DOS modeThe prompt "mysql" appear
Linux Cainiao must also know several basic ubuntu commands 1: sudo should be one of the most common commands in linux, because you can temporarily obtain root permissions even if you are not a root user, for example, install and uninstall, modify the configuration of various services, and so on, so remember this 2: ap... linux Cainiao must also know several
Some basic common simple Linux commands, want more complex and more comprehensive commands can refer to the following documents!Friendship Share Linux Common commands Daquan: Link: http://pan.baidu.com/s/1jI3yVCa Password: IMCVPWD View current path clear clear screenCD Toggle Command(CD Path (relative path and Absolute
Linux Basic commands-----------------Catalog Section-------------------"PWD" Displays the absolute directory where you are currently located"CD" Switch directoryCD-Show previous working directoryCD ~ Show current user's home directoryCd. Show current directoryCd.. Displays the top level directory of the current directory[[email protected] ~]# cd/usr/[[email protected] usr]# lsbin etc Games include Lib
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.