Single quotation marks: can only display general characters, no special symbols, variables only display the name, do not display the value;Double quotation marks: The contents of the variable can be retained;Inverted single quotation marks (the
Installing MAVEN under Linux1. First download the installation file to MAVEN official website, the latest version is 3.0.3, download file is apache-maven-3.0.3-bin.tar.gz, download can use wget command;2. Go to the Download folder, locate the
Shutdown several commands:Shutdown-r now # Reboot the system immediatelyShutdown-r +3 # Three minutes after rebooting the systemShutdown-h now # Close the machine right awayShutdown-c # Undo Shutdown operationShutdown-k now # sends an ' immediate
Representative character
Permissions
Meaning to the file
Meaning to the directory
R
Read permissions
Allow viewing of file contents
Allow listing content in directory
W
Write
(i) hierarchical structure of the file system:In Linux, there are two kinds of files, one kind of ordinary file, the other is special file, ordinary files usually exist in various directories, and specialDirectories are generally stored in/dev.(ii)
1. Turn off the machineView online users who; View network online status netstat-a; view Background executor Ps-auxShutdown shutdown-h Now, Init 0Halt, Poweroff hardware shutdownRestart reboot, init 62. PermissionsCHGRP [-r] User group name file or
/bin binary executable commands the/dev device special File/etc System Management and configuration file/etc/rc.d startup profile and script the base point of the home directory of the/s user, such as the user's home directory is/home/user, can be
1, atomic operation, is the basis of other synchronization methods.2, Spin lock, the thread tries to acquire a spin lock that has been held by someone else, the current thread is busy waiting, consuming CPU resources.3, read and write spin lock,
2nd Chapter Linxu How to Learn1. Linux's current application roleThe current Linux common application can be divided into enterprise application and personal application two aspects.First, we discuss the use of enterprise environment .1) network
1, create a folder and copy all the RPM packages in the disc # mkdir/Rpms_yum2, copy all the RPM packages on the CD to Rpms_yum # CD/mnt/cdrom/packages/# CP*/rpms_yum/3, install Createrepo software to make a Yum index database using the software #
Applicable system: Linux (Redhat, Centos,debian,ubuntu)* The Linux cloud Server data disk is not partitioned and formatted, and can be partitioned and formatted according to the following steps.The following operation will divide the data disk into
How Linux modifies file permissionsBefore modifying the file permissions, you need to understand the permissions of the "rwx" and the corresponding relationship between the numbers, where r=4,w=2,x=1.For example: "Drwxr-xr-x", the first "D" is the
Get ready(1) Create the JDK folder in/usr/local/usr/local/jdk
(2) The JDK package MV to the/USR/LOCAL/JDK directory
(3) Performing TAR-XZF jdk1.8.0_51.tar.gz
2. Execute the command:(1) If non-root user: sudo vi ~/.bashrc(2) Add at least:
SOURCE Command usage:SOURCE FileNameFunction: Reads and executes the commands in the filename under the current bash environment.Note: This command usually uses the command "." To replace.such as: source. BASH_RC and. The. BASH_RC is equivalent (it
Linux Boot Sequence1. CPU InitializationThe CPU itself initializes, takes instructions from a fixed location (0XFFFFFFF0) and executes, which is a jump instruction and jumps to the header of the BIOS code.2. Load the BIOSThe BIOS is cured in a ROM
The multithreading under Linux is implemented by Pthread, here is a simple example.#include #include#includevoid*Thr_fn () {printf ("This is a thread, Tid =%d\n", Pthread_self ()); printf ("Thread return\n"); return(void*)0;}intMain () {printf
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service