linux - command about file system

Commands about file system in linux

pwd

View the current working directory

cd

Change the current working directory

cd -

Change the working directory to the previous working directory

ls

List the current directory contents

file

Print out a short description of the contents of the file

less

View files, you can turn pages back and forth

  • All files starting with a dot are hidden files
  • files in linux are case sensitive
  • There is no concept of file extension in linux
  • linux supports long filenames, remember not to use spaces in filenames

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325523751&siteId=291194637