Latest web development tutorials

Linux symlinks command

Linux command Daquan Linux command Daquan

Linux symlinks commands to manage the utility symbolic links.

symlinks can check symbolic links directory and display symbolic connection type. The following is a symbolic connection types symlinks can judge:

  • absolute: symbolic link using an absolute path.
  • dangling: the original file does not exist.
  • lengthy: symbolic link path contains extra "../."
  • messy: Path symbolic link contains the extra "/."
  • other_fs: the original file in a different file system.
  • relative: a symbolic link using a relative path.

grammar

symlinks [-cdrstv][目录]

Parameters:

  • -c will use the absolute path of a symbolic link is converted to a relative path.
  • -d remove dangling symbolic link type.
  • All subdirectories symbolic links under examination -r directory.
  • -s Check lengthy type of symbolic links.
  • -t -c When used in conjunction with, the symbol will show how to connect the absolute path into relative path, but not the actual conversion.
  • -v displays all types of symbolic links.

Linux command Daquan Linux command Daquan