diff --git a/sources/tech/20181029 DF-SHOW - A Terminal File Manager Based On An Old DOS Application.md b/sources/tech/20181029 DF-SHOW - A Terminal File Manager Based On An Old DOS Application.md deleted file mode 100644 index 63e19fdc0c..0000000000 --- a/sources/tech/20181029 DF-SHOW - A Terminal File Manager Based On An Old DOS Application.md +++ /dev/null @@ -1,164 +0,0 @@ -wxy applied - -DF-SHOW – A Terminal File Manager Based On An Old DOS Application -====== -![](https://www.ostechnix.com/wp-content/uploads/2018/10/dfshow-720x340.png) - -If you have worked on good-old MS-DOS, you might have used or heard about **DF-EDIT**. The DF-EDIT, stands for **D** irectory **F** ile **Edit** or, is an obscure DOS file manager, originally written by **Larry Kroeker** for MS-DOS and PC-DOS systems. It is used to display the contents of a given directory or file in MS-DOS and PC-DOS systems. Today, I stumbled upon a similar utility named **DF-SHOW** ( **D** irectory **F** ile **S** how), a terminal file manager for Unix-like operating systems. It is an Unix rewrite of obscure DF-EDIT file manager and is based on DF-EDIT 2.3d release from 1986. DF-SHOW is completely free, open source and released under GPLv3. - -DF-SHOW can be able to, - - * List contents of a directory, - * View files, - * Edit files using your default file editor, - * Copy files to/from different locations, - * Rename files, - * Delete files, - * Create new directories from within the DF-SHOW interface, - * Update file permissions, owners and groups, - * Search files matching a search term, - * Launch executable files. - - - -### DF-SHOW Usage - -DF-SHOW consists of two programs, namely **“show”** and **“sf”**. - -**Show command** - -The “show” program (similar to the `ls` command) is used to display the contents of a directory, create new directories, rename, delete files/folders, update permissions, search files and so on. - -To view the list of contents in a directory, use the following command: - -``` -$ show -``` - -Example: - -``` -$ show dfshow -``` - -Here, dfshow is a directory. If you invoke the “show” command without specifying a directory path, it will display the contents of current directory. - -Here is how DF-SHOW default interface looks like. - -![](https://www.ostechnix.com/wp-content/uploads/2018/10/dfshow-1.png) - -As you can see, DF-SHOW interface is self-explanatory. - -On the top bar, you see the list of available options such as Copy, Delete, Edit, Modify etc. - -Complete list of available options are given below: - - * **C** opy, - * **D** elete, - * **E** dit, - * **H** idden, - * **M** odify, - * **Q** uit, - * **R** ename, - * **S** how, - * h **U** nt, - * e **X** ec, - * **R** un command, - * **E** dit file, - * **H** elp, - * **M** ake dir, - * **Q** uit, - * **S** how dir - - - -In each option, one letter has been capitalized and marked as bold. Just press the capitalized letter to perform the respective operation. For example, to rename a file, just press **R** and type the new name and hit ENTER to rename the selected item. - -![](https://www.ostechnix.com/wp-content/uploads/2018/10/dfshow-2.png) - -To display all options or cancel an operation, just press **ESC** key. - -Also, you will see a bunch of function keys at the bottom of DF-SHOW interface to navigate through the contents of a directory. - - * **UP/DOWN** arrows or **F1/F2** – Move up and down (one line at time), - * **PgUp/Pg/Dn** – Move one page at a time, - * **F3/F4** – Instantly go to Top and bottom of the list, - * **F5** – Refresh, - * **F6** – Mark/Unmark files (Files marked will be indicated with an ***** in front of them), - * **F7/F8** – Mark/Unmark all files at once, - * **F9** – Sort the list by – Date & time, Name, Size., - - - -Press **h** to learn more details about **show** command and its options. - -To exit DF-SHOW, simply press **q**. - -**SF Command** - -The “sf” (show files) is used to display the contents of a file. - -``` -$ sf -``` - -![](https://www.ostechnix.com/wp-content/uploads/2018/10/dfshow-3.png) - -Press **h** to learn more “sf” command and its options. To quit, press **q**. - -Want to give it a try? Great! Go ahead and install DF-SHOW on your Linux system as described below. - -### Installing DF-SHOW - -DF-SHOW is available in [**AUR**][1], so you can install it on any Arch-based system using AUR programs such as [**Yay**][2]. - -``` -$ yay -S dfshow -``` - -On Ubuntu and its derivatives: - -``` -$ sudo add-apt-repository ppa:ian-hawdon/dfshow - -$ sudo apt-get update - -$ sudo apt-get install dfshow -``` - -On other Linux distributions, you can compile and build it from the source as shown below. - -``` -$ git clone https://github.com/roberthawdon/dfshow -$ cd dfshow -$ ./bootstrap -$ ./configure -$ make -$ sudo make install -``` - -The author of DF-SHOW project has only rewritten some of the applications of DF-EDIT utility. Since the source code is freely available on GitHub, you can add more features, improve the code and submit or fix the bugs (if there are any). It is still in alpha stage, but fully functional. - -Have you tried it already? If so, how’d go? Tell us your experience in the comments section below. - -And, that’s all for now. Hope this was useful.More good stuffs to come. - -Stay tuned! - - - --------------------------------------------------------------------------------- - -via: https://www.ostechnix.com/df-show-a-terminal-file-manager-based-on-an-old-dos-application/ - -作者:[SK][a] -选题:[lujun9972][b] -译者:[译者ID](https://github.com/译者ID) -校对:[校对者ID](https://github.com/校对者ID) - -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 - -[a]: https://www.ostechnix.com/author/sk/ -[b]: https://github.com/lujun9972 -[1]: https://aur.archlinux.org/packages/dfshow/ -[2]: https://www.ostechnix.com/yay-found-yet-another-reliable-aur-helper/ diff --git a/translated/tech/20181029 DF-SHOW - A Terminal File Manager Based On An Old DOS Application.md b/translated/tech/20181029 DF-SHOW - A Terminal File Manager Based On An Old DOS Application.md new file mode 100644 index 0000000000..d4cab1b4c9 --- /dev/null +++ b/translated/tech/20181029 DF-SHOW - A Terminal File Manager Based On An Old DOS Application.md @@ -0,0 +1,150 @@ +DF-SHOW:一个基于老式 DOS 应用的终端文件管理器 +====== + +![](https://www.ostechnix.com/wp-content/uploads/2018/10/dfshow-720x340.png) + +如果你曾经使用过老牌的 MS-DOS,你可能已经使用或听说过 DF-EDIT。DF-EDIT,意即 **D**irectory **F**ile **Edit**,它是一个鲜为人知的 DOS 文件管理器,最初由 Larry Kroeker 为 MS-DOS 和 PC-DOS 系统而编写。它用于在 MS-DOS 和 PC-DOS 系统中显示给定目录或文件的内容。今天,我偶然发现了一个名为 DF-SHOW 的类似实用程序(**D**irectory **F**ile **Show**),这是一个类 Unix 操作系统的终端文件管理器。它是鲜为人知的 DF-EDIT 文件管理器的 Unix 重写版本,其基于 1986 年发布的 DF-EDIT 2.3d。DF-SHOW 完全是自由开源的,并在 GPLv3 下发布。 + +DF-SHOW 可以: + +* 列出目录的内容, +* 查看文件, +* 使用你的默认文件编辑器编辑文件, +* 将文件复制到不同位置, +* 重命名文件, +* 删除文件, +* 在 DF-SHOW 界面中创建新目录, +* 更新文件权限,所有者和组, +* 搜索与搜索词匹配的文件, +* 启动可执行文件。 + +### DF-SHOW 用法 + +DF-SHOW 实际上是两个程序的结合,名为 `show` 和 `sf`。 + +#### Show 命令 + +`show` 程序(类似于 `ls` 命令)用于显示目录的内容、创建新目录、重命名和删除文件/文件夹、更新权限、搜索文件等。 + +要查看目录中的内容列表,请使用以下命令: + +``` +$ show +``` + +示例: + +``` +$ show dfshow +``` + +这里,`dfshow` 是一个目录。如果在未指定目录路径的情况下调用 `show` 命令,它将显示当前目录的内容。 + +这是 DF-SHOW 默认界面的样子。 + +![](https://www.ostechnix.com/wp-content/uploads/2018/10/dfshow-1.png) + +如你所见,DF-SHOW 的界面不言自明。 + +在顶部栏上,你会看到可用的选项列表,例如复制、删除、编辑、修改等。 + +完整的可用选项列表如下: + + * `C` opy(复制) + * `D` elete(删除) + * `E` dit(编辑) + * `H` idden(隐藏) + * `M` odify(修改) + * `Q` uit(退出) + * `R` ename(重命名) + * `S` how(显示) + * h `U` nt(文件内搜索) + * e `X` ec(执行) + * `R` un command(运行命令) + * `E` dit file(编辑文件) + * `H` elp(帮助) + * `M` ake dir(创建目录) + * `S` how dir(显示目录) + +在每个选项中,有一个字母以大写粗体标记。只需按下该字母即可执行相应的操作。例如,要重命名文件,只需按 `R` 并键入新名称,然后按回车键重命名所选项目。 + +![](https://www.ostechnix.com/wp-content/uploads/2018/10/dfshow-2.png) + +要显示所有选项或取消操作,只需按 `ESC` 键即可。 + +此外,你将在 DF-SHOW 界面的底部看到一堆功能键,以浏览目录的内容。 + +* `UP` / `DOWN` 箭头或 `F1` / `F2` - 上下移动(一次一行), +* `PgUp` / `PgDn` - 一次移动一页, +* `F3` / `F4` - 立即转到列表的顶部和底部, +* `F5` - 刷新, +* `F6` - 标记/取消标记文件(标记的文件将在它们前面用 `*`表示), +* `F7` / `F8` - 一次性标记/取消标记所有文件, +* `F9` - 按以下顺序对列表排序 - 日期和时间、名称、大小。 + +按 `h` 了解有关 `show` 命令及其选项的更多详细信息。 + +要退出 DF-SHOW,只需按 `q` 即可。 + +#### SF 命令 + +`sf` (显示文件)用于显示文件的内容。 + +``` +$ sf +``` + +![](https://www.ostechnix.com/wp-content/uploads/2018/10/dfshow-3.png) + +按 `h` 了解更多 `sf` 命令及其选项。要退出,请按 `q`。 + +想试试看?很好,让我们继续在 Linux 系统上安装 DF-SHOW,如下所述。 + +### 安装 DF-SHOW + +DF-SHOW 在 [AUR][1] 中可用,因此你可以使用 AUR 程序(如 [yay][2])在任何基于 Arch 的系统上安装它。 + +``` +$ yay -S dfshow +``` + +在 Ubuntu 及其衍生版上: + +``` +$ sudo add-apt-repository ppa:ian-hawdon/dfshow +$ sudo apt-get update +$ sudo apt-get install dfshow +``` + +在其他 Linux 发行版上,你可以从源代码编译和构建它,如下所示。 + +``` +$ git clone https://github.com/roberthawdon/dfshow +$ cd dfshow +$ ./bootstrap +$ ./configure +$ make +$ sudo make install +``` + +DF-SHOW 项目的作者只重写了 DF-EDIT 实用程序的一些应用程序。由于源代码可以在 GitHub 上免费获得,因此你可以添加更多功能、改进代码并提交或修复错误(如果有的话)。它仍处于 beta 阶段,但功能齐全。 + +你有没试过吗?如果试过,觉得如何?请在下面的评论部分告诉我们你的体验。 + +不管如何,希望这有用。还有更多好东西。敬请关注! + +-------------------------------------------------------------------------------- + +via: https://www.ostechnix.com/df-show-a-terminal-file-manager-based-on-an-old-dos-application/ + +作者:[SK][a] +选题:[lujun9972][b] +译者:[wxy](https://github.com/wxy) +校对:[wxy](https://github.com/wxy) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[a]: https://www.ostechnix.com/author/sk/ +[b]: https://github.com/lujun9972 +[1]: https://aur.archlinux.org/packages/dfshow/ +[2]: https://www.ostechnix.com/yay-found-yet-another-reliable-aur-helper/