What exactly does the prompt character mean when we log on to Linux? Can you set it up again.First look at the default display:~~]#As you can see, the display of the normal user and the root user is different. What does each symbol mean?Fuwh/root: currently logged in user.@localhost: The host name of the connection, I am connected locally, so it's localhost.~: That is the current directory, I am now in their home directory, so it shows the ~$/#: This is the prompt character, if it is root, it is
, the disk appliance filenames for these interfaces are in the format/dev/sd[a-p]. The device file name is determined by the order in which the Linux core detects the disk. That is, who was detected first, who is SDA.2. Composition of the disk1) Composition: disk drive (sector, magnetic column), robotic arm, disk reading head, spindle motor2) The first sector of the disk records 2 messages:Main boot Record area (Master boot recond,mbr): Where to install boot managementPartitioned tables (partiti
# # #####################1, Process priority range: -20~192, Priority view: PS Ax-o Pid,nice,comm[[Email protected] desktop]$ PS a-o pid,nice,comm pid NI COMMAND 2557 0 Xorg 3663 0 Bash 4505 0 vim 4511 0 bash 4731 0 vim 5084 0 bash 6358 0 ps*) View only the priority of all processes in the current environment, nice represents the process priority3, specify a priority to open the process: Nice-n priority number Process name[[emailprotected]desktop]$nice-n5vim[1]6394[[email Protected]desktop]$psa
Lang
Default name of the current locale
Lc_all
The name of the current locale
Lc_collate
The current locale name used to sort the characters
Lc_messages
The name of the current language for the output information
Lineno
The line number of the row that was just executed in the script or function
Nlspath
The directory location for the current language of the output information
separators, typically space characters, tab characters, and line breaks, are used to divide the fields of words generated by the command substitution, the table in the looping structure, and the read input
LANG is used to determine the locale class for a type that is not explicitly selected with a variable starting with LC_
Oldpwd Previous working directory
Path command to search for paths. A list of directories separated by colons, which the shell uses to search for commands, a common value of
1.Linux view number of digits:Uname-px86_64Uname-a64-bit display of Linux PS4 2.6.16.46-0.12-SMP #1 SMP Thu may 14:00:09 UTC, x86_64 x86_64 x86_64 gnu/linux back shows x86_6432-bit display: Linux fc6 2.6.18-1.2798.fc6 #1 SMP Mon Oct 14:54:20 EDT 2006 i686 i686 i386 gnu/linux2. Download the SoftwareJdk:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlThere are two types of Linux downloads:. RPM: While RPM packages are
variables, from the value of the variable, the main problem is to solve some of the different CPU environment of the # dependent libraries, the later content is to deal with this matter FILEVG=/usr/lib/libopenvg.so filevg3d=/usr/lib/libopenvg_3d.so FILEVG355=/usr/lib/libopenvg_355.so Echo4>/sys/module/galcore/parameters/Gpu3dminclockif[-e $FILEVG 3D] [-e $FILEVG 355] Thenif[$CPUREV = =" A"] || [$CPUREV = =" the"] || [$CPUREV = =" -"] [-e $FILEVG] then RM-F $FILEVG fiif[$CPUREV = =" A"] Then l
After loading too many plugin in Photoshop, the filter in PS may exceed the height of the window, and there is a way to do it, though it's a bit tricky. PS4 has a new feature that can search subdirectories and even shortcuts in plugins directories and automatically mount them. With this feature, you can divide your own plugin into groups of directories, and to invoke a group of plugin, simply create a shortcut to that group plugin directory in the plu
">"PS4 the prompt string that executes the trace with the Set-x setting. The default is "+".PWD the current working directory.
The shell's arithmetic operators are basically the same as the C language, and you want to test the arithmetic operator directly on the command line with the double brackets: echo $ ((34)).
There's a place to know, every command, whether built-in, shell, or external, when it exits, returns a small integer value to the progr
The last one said to install the Docker and Docker-compose, now start downloading the source code and joining the channel
Download and install the Curl tool
1, create Fabric Engineering and project directory.
Mkdir-p workCD work Then, execute the following code:
Curl-l https://raw.githubusercontent.com/voodoo12345/polaris/master/fabpre.tar.gz-o fabpre.tar.gz 2>/dev/null; TAR-XVF fabpre.tar.gz
After this command is executed, the related components of the deployment fabric network are downloade
Official Document URL: https://docs.unity3d.com/Manual/PlatformDependentCompilation.html
This article is translated from the official documentation
Property
:
Function:
Unity_editor
Unity Editor
Unity_editor_win
Windows operating system.
Unity_editor_osx
MacOS Operating System
Unity_standalone_osx
Defined specifically for MacOS (including Universal, Ppc,intel architectures) platform
Unity_standa
DriverManager.PS1: Class.forName (string) differs from Classloader.loadclass (string)Class.forName (String): Loads the class and performs class initialization; the second parameter can be Class.forName (string, Boolean, ClassLoader) to simply load a class without initializing; Classloader.loadclass (String): Loads the class only, does not perform class initialization;PS2: Sometimes you see this usage: Class.forName ("Com.mysql.jdbc.Driver"). newinstance ();This is not necessary, as described ab
1. Introduction to NFS(1) What is NFS?1) NFS is a shorthand for the net file system, which is the network filesystem. NFS was developed by Sun and launched in 1984 as an RPC (remote procedure Call) service system that enables us to share files and use them across different systems, so it has nothing to do with communication protocols, hosts, and operating systems. When a user wants to use a remote file, the remote file system can be hooked up to their file system using the "mount" command, so th
---restore content starts---Zai Root Huanjingxiachaozhuo$ suFirst, build NFS1. Execute command:sudo apt-get installnfs-kernel-server2. Execute command:mkdir-p/opt/friendlyarm/mini210/linux/rootfs_mini210 Create a dedicated folder for NFS services# chmod 777/opt/friendlyarm/mini210/linux/rootfs_mini2103. After setting up the folder, execute the command:sudo vim/etc/exports Configure NFS4. Add in the last line:/opt/friendlyarm/mini210/linux/rootfs_mini210 * (Sync,rw,no_root_squash)The meaning of t
technologies in Apache and Nginx, such as system tuning and service optimization, and program optimization, which is difficult to learn before working in contact with the work, so let's take this 10 to learn. It's hard to know that you have to learn to do it for at least 3 months, and that part of the script is exhausting. I suggest that it would be better to learn the shell first, and then learn another scripting language after work.The above is to step into the Linux operations engineers need
follows:Chkconfig httpd offOrSystemctl Disable httpdSummaryThe purpose of this article is to cover some common security steps to help you protect your server. You can take more steps to enhance the protection of the server. Keep in mind that it is your responsibility to keep your servers secure and make the best choice when maintaining your servers, although there is no easy way to do this, and building "perfect" security takes a lot of time and testing until you get the results you want.Free p
smaller than the shared memory that is being created by another process, the shared memory is created by a process that creates shared memory, and the shared memory is created after a small process of shared memory. The small shared memory process gets the shared memory of the large shared memory process and modifies the size and content of its shared memory (note the following comment supplement), which can cause the large shared memory process to crash.Workaround:Method One:When all of the sh
NFS service client, this path must match the path of the file you set up earlier! *: Allow all network segments to be accessed or use specific IPRW: Clients hooking up this directory have read and write access to the shared directorySync : Data is written to memory and hard disk synchronouslyNo_root_squash:root User has full administrative access to the root directoryNo_subtree_check: Do not check the permissions of the parent directory;Figure 14. Af
time, and the value of the-c parameter is greater than-C, the self-test will be enforced on the next startup-I:INTERVAL-BETWEEN-CHECKS[D|M|W] Set the time interval for force self-test [D days M W Week]-m:reserved-blocks-percentage percent of reserved blocks-J: Convert ext2 file system to ext3 type file system, Ext2 can go ext3 but can not turn back, data loss is reversed-l:volume-label similar to the E2label function, can modify the file system label-r:reserved-blocks-count Adjusting System Res
remember this path.3. After setting up the folder, execute the command: sudo vim/etc/exports configure NFS4. Add:/home/song/nfs * (Rw,sync,no_root_squash,no_subtree_check) in the last line of the article/home/song/nfs * (Rw,sync,no_root_squash,no_subtree_check) The meaning of this line is:/HOME/SONG/NFS: Directory shared with the NFS service client, this path must match the path of the file you set up earlier!*: Allow all network segments to be accessed or use specific IPRW: Clients
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.