chmod chmod 421 xx.txt//4=r,2=w,1=x
DF View the total capacity of mounted disk, use capacity, remaining capacity, etc., can not add any parameters, by default, the DF is displayed in units of the common parameters –i-h-k–m, etc.-I use the inodes display results-h using the appropriate units display, such as G-k-M Display for units using K,M, respectively
Du is used to view the space size of a directory syntax: du [-ABCKMSH] [file or directory name] commonly used parameters are:-A: All files and directory size are listed. If you do not add any options and parameters, only the size of the table of contents (including subdirectories) is listed. -B: The listed values are output in bytes, the default is kbytes-C: Final plus-K: output in kilobytes-m: output-S in megabytes: Only sums are listed
1. First use MAVEN to make the project a war package, Eclipse: Select the project right--->run as-->maven package2. Copy the empty Tomcat project to the Linux server and change Port 3. Copy the packaged war package into Tomcat WebApps 4. Start startup.sh in the bin directory
File permissions and Disk Management in Linux, how Linux Server projects are deployed