Early in the morning, the anti-virus software prompts a reminder to delete privacy records and clean up a pile of space. I usually ignore it. Today, by the way, I cleaned up and went wrong.
The Code submitted after work last night has a good
${} for reading, extracting and replacing strings, you can use ${} to extract the string 1, extract the file name [[email protected] log]# Var=/dir1/dir2/file.txt[[email protected] log]# Echo ${VAR##*/}FILE.TXT2, extract suffix [[email protected]
1. Create a new user User2sudo adduser temporarysudo adduser temporary sudo2. From User1 logout. Enter new user User2, modify User1 's name and home directory namesudo usermod-l new_username-d/home/new_username-m user13. Logout from User2, enter
/root, also the root of the entire file system hierarchy/bin the necessary command binaries that are available in single-user mode, available to all users, such as cat, LS, CP, etc./boot loader files, such as kernels, INITRD, etc./dev Store the
The main directory and directory content in the Linux operating system is defined by the FileSystem hierarchy standard (Filesystem Hierarchy STANDARD,FHS), which in most cases is a traditional BSD file system hierarchy.1,/: Root at the top of the
Cause Analysis:This situation is caused by version inconsistency, this invalid directory is not the current compile time generated, it is possible to debug the case, generated.Since the 1.6 version was previously only drawable a picture resource
Configure the Mycat, with the Navicat connection 8066 port, click "Query" when found error:Began to think is MYCAT configuration has a problem, looked for a long time did not find errors. Follow the prompts to enter the appropriate directory to find
This article mainly describes how to traverse the folder through PHP to get the image directory name and file name, has a certain reference value, now share to everyone, the need for friends can refer to
The code is as follows:
Public Function
The res directory of Android is fixed and can only be the following. If another directory is added, it will report the error of 'invalid Resource Directory name, in fact, the system cannot provide corresponding resources even if directories are not
My project is cocos2d-x-3.7.1 project, with the command line (Cocos run-p Android) when packaging the error:Running: ' D:\develop\adt-bundle-windows-x86-20140321\apache-ant-1.9.3\bin\ant 'Clean debug-f d:\deveop\test\proj.android\build.xml-dsdk.dir=
Excerpt from: http://www.linuxidc.com/Linux/2013-05/83765.htmModifying the system language environment1. Modify the current locale of the systemExport Lang=en_us2. Updating the file name of the home directoryXdg-user-dirs-gtk-updateJump out of the
This article is mainly to share if you use VBS to modify the directory name and shortcut name code, need friends can refer to the following
copy code code as follows:
Set Fso=wscript.createobject ("Scripting.FileSystemObject")
oldfoldername1= "2
It's OK to change the name directly, and then go back with a reboot.
Method One:Change the Chinese folder to the appropriate English folder, and then modify the configuration file
Sometimes, the RZ upload file failed or accidentally input command will produce garbled file name. Since the deletion of special characters with RM is basically invalid, the following two easy-to-use methods have been found:Example:[Email protected]:
Sometimes it is necessary to change mount Mount directory name to keep multiple machines unified, convenient for our distributed operation, the following is the detailed operation details.Before modification:[Email protected] ~]# df-hFile system
UNIX has been a 35-year history. Many people think it began in the Middle Ages, the Middle Ages is relative to the generation and development of computer technology. Over the past time, UNIX and its sub-branches of Linux have collected many
Today, there is a problem, the Chinese file and the Chinese-language directory through SVN to the Windows system, and then through the SCP to the Linux server, the file name and directory name coding set to change the problem. (all turned into GBK)
When writing a script (Shell), you will often encounter the path name, file name, and so on in the filename including the full path.
This includes a full path file named
/usr/local/apach2/etc/httpd.conf
Defined as
File=
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.