yuzhenning / ROS_turtlebot2

This is a file record Ubuntu based ROS and Turtlebot2 control system
0 stars 0 forks source link

00 Ubuntu basic #26

Open yuzhenning opened 4 years ago

yuzhenning commented 4 years ago

ubuntu basic commands

yuzhenning commented 4 years ago

Linux tree Command

Tree is a recursive directory listing program that produces a depth indented listing of files, which is colorized ala dircolors if the LS_COLORS environment variable is set and output is to tty. With no arguments, tree lists the files in the current directory. When directory arguments are given, tree lists all the files and/or directories found in the given directories each in turn. Upon completion of listing all files/directories found, tree returns the total number of files and/or directories listed.

  1. Install $ sudo apt-get install tree
  2. tree display hidden files tree -a
  3. tree only display directories in output $ tree -d
  4. tree print complete path prefix for files $ tree -f
  5. control the depth of directory tree in output $ tree -d -L 1
  6. selectively leave some names in output $ tree -d -I *Ubuntu