Linux_002 _ basic operations on files and folders 1. the root of viewing and opening the folder file system is "/". The file system is strictly case sensitive and the name can contain a maximum of 255 characters. Except for the forward slash, all valid characters are ". "Start with the file is the hidden file pwd (print work directory) print the current working directory file View file Type touch create a blank file mkdir new folder ls-a show all files (including hidden files) ls-l display details ls-R recursive display subdirectory information ls-ld display current directory information cd .. the upper-level directory cd. current directory user's home directory "~" Cd-previous working directory 2. copy, move, delete copy cp example: cp artistninth_test art_testcp-r copy folder cp-v shows the process of moving music videos. If you specify a file name, you can rename the file to delete rmrm-I interactive, delete the rm-r folder one by one and delete the files in the folder rm-f forcibly. No warning 3. quick Search: The most common search for locate keywordupdatedb in the database is find. -name * linuxcast * find/-name * of the file containing linuxcast in the current folder *. conf in all folders. find/-perm 777 file ending with conf find/-type d file with 777 permission in all folders find file with folder type in all folders. -name a *-exec ls-l {} \; search and use the query result as a parameter to execute the command "find". Many search conditions are supported, which are commonly used as follows: -name-perm-user-group-ctime-type-size