1.ls, command, displays the file under the current directoryThe command path feature describes the Execute Permissions optionLs/bin/ls Display directory files All users can display all files, including hidden files-L display details shorthand: LL -D
I. File name naming rules1. All characters are legal except/(indicated with directory)2, some characters do not use, such as Space, tab, BACKSPACE, and character @#¥& ()-3, avoid the use. The first character of the most common file, the file that
Copy directory to another directory in Linux system, error when using CP command
1, in the/home/directory, create a new directory, such as: 123
2, copy directory 123 to the/tmp/directory, using the CP command
3, the system
File naming rules1) All characters are legal except/2) space, tabulation, backspace @#¥& ()-preferably not used.The separator between commands and options on the command line is a space, so try not to use it to prevent confusion.The Linux file name
Use of SCP
Replicate from local to remoteCommand basic format:SCP [Optional parameters] Local filename remote user name @ Remote address: Remote file or directory
Copy file Example:
Scp/home/backup.zip
Operation of basic files
The basic operation of the file is: file Judgment, catalogue judgment, file size, reading and writing judgment, existence judgment and file time, etc.
';
Return
}/* is a normal file/if (Is_file ($fileName))
Original blog, reprint please indicate the source
Attach a few Linux blogs with a higher number of previous visits
My 8 tips for using the shell
Nine classic usage scenarios for grep
SED command detailed
awk Command Detailed
Everything in Linux is a
SCP TransferYou can use the SCP command when you want to transfer files between two Linux hosts.SCP transfer is slow, but the security of the transmission is ensured by using SSH ChannelCopying files
Copy a local file to a remote
File typellYou can see the file details later:-: General file (internal type is what, with file command)d: Directory, catalog fileb: BLOBK device, block devices file, support random access in "block" units
Major number: The main device ID,
Linux InstallationAs a result of a slight focus on virtual machine-related knowledge, the knowledge about virtual machine software is generally known. Currently I know that the ubiquitous virtual machine software is VMware Workstation (hereinafter
You can use the SCP command when you want to transfer files between two Linux hosts, and you cannot enter a password after you establish a trust relationship. Copy your local host user's SSH public key file to the remote host user's
Basics of getting Started with Linux
Linux birth
Linux Release Notes
Linux official website
Linux Kernel official website
A more famous Linux distribution
Virtual machine (VM), a virtual system, system installed in the
first, the Linux operating environment~ location is under the/root/directory
Root: User name currently logged in
@ delimiter
Chengliang: Host Name
~: Current path location
Linux directory structure:To switch directories:New
propos Word displays commands related to WordWhich command displays the full path name of the commandsTime command to calculate when commands runTime Cat starts timing. ctrl-d stop.Nice info runs a low-priority command (here is info)Renice 19-p $$
Common Linux CommandsFormat: Command name option parameterLS-ALH Files/Directories--all#ls Show current directory contents#ls-L Display file details#ls-hl H Common units display file size K M G#ls-a show all files (including hidden
command Commands
DESCRIPTION annotations
System Information
System Information
Arch
Show architecture of Machine
Display the architecture of the host
Uname-r
Show
1, Command Help Manual (3)--help is a tool option and most GNU tools have this option, and the "--help" option can be used to display information about some tools# command--helpMan can display the contents of the System man page, most of which is an
Because all of the new company's applications are deployed to the Linux server, and then the boss asked us every yard must understand a bit of Linux system knowledge, and has never been exposed to the Linux system, but do not want to lag behind
Get out of the mouse and start with a deep mastery of Linux (i)Order: As a program ape, often with the mouse operation, it is too embarrassing; play a graphical interface, too layman. Therefore intends to deepen the study of Linux, and will learn
As a contemporary front end, the boundaries of the front and back are getting smaller, to be more stable, learning Linux operating system knowledge is essential.Why are Linux operating systems used on the server side?1.linux performance is more
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.