【发布时间】:2015-04-18 16:35:32
【问题描述】:
我们以前使用 FTP 客户端从 HP-UX 系统中获取列出所有者名称的目录内容,最近将系统迁移到 Suse-Linux。现在当我们 FTP 到这台机器时,目录列表不显示文件的所有者名称。
如何在 Linux 中启用以所有者名称列出目录?
【问题讨论】:
标签: linux ftp-client suse
我们以前使用 FTP 客户端从 HP-UX 系统中获取列出所有者名称的目录内容,最近将系统迁移到 Suse-Linux。现在当我们 FTP 到这台机器时,目录列表不显示文件的所有者名称。
如何在 Linux 中启用以所有者名称列出目录?
【问题讨论】:
标签: linux ftp-client suse
在ftp(以及大多数shell)中,你有ls 命令。这将打印文件列表。
**Example session** (cutted out some messages):
$ ftp ftp.ed.ac.uk
Connected to luther.is.ed.ac.uk.
220-
Login using the username 'anonymous' and use your email address as password.
ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
lrwxrwxrwx 1 root root 8 Feb 26 2014 INSTRUCTIONS-FOR-USING-THIS-SERVICE -> .message
drwx-wx-wx 3 root root 4096 Feb 17 14:57 edupload
drwx-wx-wx 3 root root 131072 Feb 17 20:20 incoming
drwxr-xr-x 45 root root 4096 Feb 19 2014 pub
226 Transfer complete
ftp>
表格显示:
drwxdrwxdrwx:d 代表目录,然后rwx 代表读写执行(按顺序),所有者,组和所有具有登录权限的人;root);root);【讨论】:
ls 你叫ls 命令的 ftp.