---
title: "ln命令"
author: "microjava"
date: "2010-05-24T10:33:18Z"
tags: []
categories: ["操作系统"]
slug: "ln"
draft: false
lastmod: "2010-05-24T10:33:18Z"
id: 673691
url: "https://microjava.iteye.com/blog/673691"
---

ln -s /tmp/test test
这会在当前的目录中创建符号链接 test。 test 文件指向 /tmp/test 文件。如果 /tmp/test 文件已经存在了，那么 cat test 命令可以列出其内容。