mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-13 22:30:37 +08:00
Merge pull request #18612 from lxbwolf/28-20200529-20-productivity-tools-for-the-Linux-terminal
APL
This commit is contained in:
commit
ab7b4c29d2
@ -1,149 +0,0 @@
|
||||
[#]: collector: (lujun9972)
|
||||
[#]: translator: ( )
|
||||
[#]: reviewer: ( )
|
||||
[#]: publisher: ( )
|
||||
[#]: url: ( )
|
||||
[#]: subject: (20 productivity tools for the Linux terminal)
|
||||
[#]: via: (https://opensource.com/article/20/6/productivity-tools-linux-terminal)
|
||||
[#]: author: (Alan Smithee https://opensource.com/users/alansmithee)
|
||||
|
||||
20 productivity tools for the Linux terminal
|
||||
======
|
||||
Try some of these open source tools. Get more done.
|
||||
![Computer screen with files or windows open][1]
|
||||
|
||||
Many of us, admittedly, only use computers because they're fun. But some people use computers to get stuff done, and their theory is computers are supposed to make things faster, better, and more organized. In practice, though, computers don't necessarily improve our lives without a little manual reconfiguration to match our individual work styles.
|
||||
|
||||
[Kevin Sonney][2] likes to design systems, not just for networks but for improving his own workday, and this year he covered 18 different productivity tools in a series of 20 articles. This article gets all of Kevin's favorite tools in one place and provides a quick summary of what each one can do for you.
|
||||
|
||||
### File sync
|
||||
|
||||
![][3]
|
||||
|
||||
Important files deserve to be managed carefully.
|
||||
|
||||
* [Syncthing][4] is a way for you to keep files on different devices in sync with one another. A _device_ can be a Linux, Windows, or Mac computer, a server, an Android tablet or phone, and so on, and the files can be any file you want to keep updated across many machines. Syncthing is lightweight and peer-to-peer, so you don't need to pay for a service, you don't need a third-party server, and it's fast.
|
||||
* Synchronization is one thing, but sometimes you also need help dealing with the files you have. Say you want an application to behave differently depending on whether it's being used as a graphical application or as a console application. You could change the config file between, say, `.foo-gui` and ****`.foo-term` by changing which its symlink points to. Doing that manually is entirely possible, but it could be scripted, or you could just use [GNU Stow][5] instead.
|
||||
|
||||
|
||||
|
||||
### Email management
|
||||
|
||||
![][6]
|
||||
|
||||
We all depend on email and inboxes, but few of us seem to be comfortable with how we manage it. If you're inclined to working in the terminal, why not stay in the terminal for email? It's one thing to check and send email from a terminal, but it's even more exciting to organize your email that way. If you're a typist by trade and scripter by nature, check out some of these tools.
|
||||
|
||||
* I use [OfflineIMAP][7] every day to sync work email to my laptop for viewing in Mutt. It's a specific tool that does exactly one thing: it ensures that a local copy of your email inbox mirrors your remote inbox. It's relatively easy to set up and schedule with [cron][8], and then you can forget it exists. Easy and worth every minute you spend fighting with IMAP.
|
||||
* [Notmuch][9] indexes, tags, and searches mail messages. If you have a problem with your inbox, it takes _not much_ effort to remedy it.
|
||||
* [Vim][10] can check and send email and manage your calendar.
|
||||
* [Emacs][11], of course, also does email and calendaring.
|
||||
|
||||
|
||||
|
||||
### Calendars and contacts
|
||||
|
||||
![][12]
|
||||
|
||||
Every Linux system I've ever used comes with the `cal` command installed. This is a handy little calendar for the terminal, and it's a great quick reference. However, it's hardly what you'd call a calendaring application. The [iCalendar][13] specification (no relation to Apple's old desktop calendar) provides rich shared calendaring functionality, and while `.ics` appointments and events are plain text, the workflow for managing them in the terminal is basically non-existent. Or at least, it was non-existent until khal and vdirsyncer.
|
||||
|
||||
* [Khal][14] is a console-based calendar that reads and writes `.ics` files.
|
||||
* [Vdirsyncer][14] is a terminal command that synchronizes online calendars (and contacts) to your local drive. Khal works locally and vdirsyncer works remotely, so your calendars online stay in sync with the calendar you're managing on your hard drive. ****
|
||||
* Contact management can be hard, but it gets easier if you use [Khard][15], a terminal command that reads and writes files in the vCard format. This, in turn, can be synchronized to a remote server using vdirsyncer (which you may already be using for your khal calendar). This makes calendaring and contacts easy, and it's easier than ever to [run your own personal information management (PIM) server][16].
|
||||
|
||||
|
||||
|
||||
### To-do lists
|
||||
|
||||
![][17]
|
||||
|
||||
* There are many ways to organize your day, but one of the easiest is [todo.txt][18], a simple, portable, understandable system that doesn't break down even if a device doesn't have todo.txt installed on it. The reason todo.txt works is because it's just a Bash shell script, which will run on nearly any computing device you can find. The process is simple: you download the script, install it to your home directory, and start scheduling tasks with a simple command. If you're on a computer that doesn't have the `todo.sh` command installed, your to-do list is still useful as a plain-text file, which you can update manually as needed.
|
||||
* [Jrnl][19] is a digital notebook to keep track of your daily agenda and activities. This is the program you've been looking for if you compulsively jot notes on scraps of paper on your desk or echo idle thoughts into random text files.
|
||||
|
||||
|
||||
|
||||
### Keep in touch
|
||||
|
||||
![][20]
|
||||
|
||||
Communication is key, and yet now more than ever, there seems to be a chat platform problem. There aren't just several clients, there are several isolated networks. How do you manage them all? Here are two ideas.
|
||||
|
||||
* If you've got lots of contacts spread across too many chat networks, you ought to try [BitlBee][21], the singular chat client that lets you infiltrate all the others.
|
||||
* [Rainbow Stream][22] is a Twitter client that can be awfully useful to keep you away from the distractions of an open web browser while still keeping you in touch with your adoring public.
|
||||
|
||||
|
||||
|
||||
### Keep informed
|
||||
|
||||
![][23]
|
||||
|
||||
Web browsers are nice, but they can sometimes be overkill. You want to stay informed, but you don't want to give yourself entirely over to the internet. Because the internet is built upon open specifications and a lot of open source technology, you don't have to do everything through just one interface. There are _clients_ for all kinds of tasks, and they give you access to the information you need, using the interface you prefer.
|
||||
|
||||
* [Tuir][24] is a terminal client to Reddit.
|
||||
* [Newsboat][25] is an RSS feed reader.
|
||||
* [Wego][26] brings you a weather report.
|
||||
* [Vim][27] can help you check in with Reddit and Twitter.
|
||||
* [Emacs][28] can keep you connected with clients for Reddit, Twitter, chat, and much more.
|
||||
|
||||
|
||||
|
||||
### Keep that terminal open
|
||||
|
||||
![][29]
|
||||
|
||||
If you're spending time in a terminal, what's the point in ever closing a terminal? Do away with the temptation of `exit` or `Ctrl+D` and keep your console open.
|
||||
|
||||
* [Tmux][30] lets you split your terminal, "layer" one terminal window on top of another, and even walk away from one computer and continue the same terminal session from another computer.
|
||||
* [DESQview][31] takes a different approach: it's essentially a window manager for your terminal.
|
||||
|
||||
|
||||
|
||||
### Keep going
|
||||
|
||||
The tools in this article are but a subset of amazing productivity tools for your Linux terminal. This list must end, but your personal list can grow. Find the tools you love, learn them, and use them to your greatest advantage. Of course, a good tool doesn't always have to increase your productivity: sometimes your favorite command is the one that makes you happiest. Your job is to find the commands you love and to do amazing things with them.
|
||||
|
||||
Have fun!
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://opensource.com/article/20/6/productivity-tools-linux-terminal
|
||||
|
||||
作者:[Alan Smithee][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://opensource.com/users/alansmithee
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/browser_screen_windows_files.png?itok=kLTeQUbY (Computer screen with files or windows open)
|
||||
[2]: https://opensource.com/users/ksonney
|
||||
[3]: https://opensource.com/sites/default/files/uploads/productivity_2-1.png
|
||||
[4]: https://opensource.com/article/20/1/sync-files-syncthing
|
||||
[5]: https://opensource.com/article/20/1/configuration-management-stow
|
||||
[6]: https://opensource.com/sites/default/files/uploads/productivity_3-1.png
|
||||
[7]: https://opensource.com/article/20/1/sync-email-offlineimap
|
||||
[8]: https://opensource.com/article/17/11/how-use-cron-linux
|
||||
[9]: https://opensource.com/article/20/1/organize-email-notmuch
|
||||
[10]: https://opensource.com/article/20/1/vim-email-calendar
|
||||
[11]: https://opensource.com/article/20/1/emacs-mail-calendar
|
||||
[12]: https://opensource.com/sites/default/files/uploads/productivity_5-1.png
|
||||
[13]: https://tools.ietf.org/html/rfc5545
|
||||
[14]: https://opensource.com/article/20/1/open-source-calendar
|
||||
[15]: https://opensource.com/article/20/1/sync-contacts-locally
|
||||
[16]: https://opensource.com/alternatives/google-calendar
|
||||
[17]: https://opensource.com/sites/default/files/uploads/productivity_7-1.png
|
||||
[18]: https://opensource.com/article/20/1/open-source-to-do-list
|
||||
[19]: https://opensource.com/article/20/1/python-journal
|
||||
[20]: https://opensource.com/sites/default/files/uploads/productivity_9-1.png
|
||||
[21]: https://opensource.com/article/20/1/open-source-chat-tool
|
||||
[22]: https://opensource.com/article/20/1/tweet-terminal-rainbow-stream
|
||||
[23]: https://opensource.com/sites/default/files/uploads/productivity_13-1.png
|
||||
[24]: https://opensource.com/article/20/1/open-source-reddit-client
|
||||
[25]: https://opensource.com/article/20/1/open-source-rss-feed-reader
|
||||
[26]: https://opensource.com/article/20/1/open-source-weather-forecast
|
||||
[27]: https://opensource.com/article/20/1/vim-task-list-reddit-twitter
|
||||
[28]: https://opensource.com/article/20/1/emacs-social-track-todo-list
|
||||
[29]: https://opensource.com/sites/default/files/uploads/productivity_14-1.png
|
||||
[30]: https://opensource.com/article/20/1/tmux-console
|
||||
[31]: https://opensource.com/article/20/1/multiple-consoles-twin
|
@ -0,0 +1,149 @@
|
||||
[#]: collector: (lujun9972)
|
||||
[#]: translator: (lxbwolf)
|
||||
[#]: reviewer: ( )
|
||||
[#]: publisher: ( )
|
||||
[#]: url: ( )
|
||||
[#]: subject: (20 productivity tools for the Linux terminal)
|
||||
[#]: via: (https://opensource.com/article/20/6/productivity-tools-linux-terminal)
|
||||
[#]: author: (Alan Smithee https://opensource.com/users/alansmithee)
|
||||
|
||||
20 个 Linux 终端下的生产力工具
|
||||
======
|
||||
来试下这些开源工具。你的效率一定会提升。
|
||||
![Computer screen with files or windows open][1]
|
||||
|
||||
诚然,很多人使用计算机来娱乐。但是一些人会用来工作,他们的理论是计算机应当能帮我们更快、更好、更有组织地做事。实际应用中,如果没有根据每个人的工作风格来做一些小小的手动配置,计算机也不会提升我们的效率。
|
||||
|
||||
[Kevin Sonney][2] 喜欢设计系统,今年他在一个 20 篇文章的系列中介绍了 18 种不同的生产力工具,不仅涵盖了网络方面,也涉及了一些能提升他的工作效率的工具。Kevin 最喜欢的所有的工具都收集到了本文,下面概括介绍每种工具的用途。
|
||||
|
||||
### 文件同步
|
||||
|
||||
![][3]
|
||||
|
||||
重要的文件应谨慎管理。
|
||||
|
||||
* [Syncthing][4] 能使不同设备上的文件彼此同步。*设备*可以是 Linux、Windows 或 Mac、一台服务器、Android 平板或手机,等等。文件可以是你期望在多台机器间同步的任意文件。Syncthing 是轻量级的点对点工具,因此你不需要花费时间搭建服务,你不需要第三方的服务器,而且它很快。
|
||||
* 同步是一件事,但有时你还需要帮忙处理文件。假设你有一个应用程序,它在被作为一个图形化应用和作为控制台应用时有不同的展现形式。你可以它的符号链接指向的修改配置文件,如 `.foo-gui` 和 `.foo-term`。这完全可以手动修改,但也可以用脚本处理,或者你可以试试 [GNU Stow][5]。
|
||||
|
||||
|
||||
|
||||
### 邮件管理
|
||||
|
||||
![][6]
|
||||
|
||||
我们都依赖邮件和收件箱,但我们几乎没有人对管理邮件的方式很满意。如果你喜欢用终端工作,为什么不在终端里管理邮件呢?在终端里收发邮件是一件事,但是在终端里组织你的邮件会令人兴奋。如果你的职业是打字员或是天生的编剧,试试这类工具吧。
|
||||
|
||||
* 我每天用 [OfflineIMAP][7] 把工作邮件同步到笔记本,用 Mutt 看邮件。它是很特别的工具,只做一件事:保证本地的邮件副本与远程的收件箱完全同步。配置和用 [cron][8] 调度它都相当简单,然后你就可以忘了它的存在。它相当简单,你与 IMAP 打交道的时间都应该用它。
|
||||
* [Notmuch][9] 能为邮件消息简历索引、加标签以及搜索邮件。如果你的收件箱出了问题,*不需要*花费很大精力去补救。
|
||||
* [Vim][10] 可以收发邮件和管理你的日历。
|
||||
* 当然,[Emacs][11] 可以收发邮件和管理你的日历。
|
||||
|
||||
|
||||
|
||||
### 日历和联系人
|
||||
|
||||
![][12]
|
||||
|
||||
我用过的所有的 Linux 系统都预装了 `cal` 命令。这是一个在终端下用的便捷小日历,它也是个伟大的速查工具。然而,它几乎不能被称为一个日历应用程序。[iCalendar][13] 说明书(不是 Apple 的旧桌面日历)中提供了丰富的共享日历功能,`.ics` 约定了事件是纯文本,这导致了在终端中管理它们的工作流不会存在。至少,在 khal 和 vdirsyncer 出现之前不存在。
|
||||
|
||||
* [Khal][14] 是基于控制台的读写 `.ics` 文件的日历工具。
|
||||
* [Vdirsyncer][14] 是一个能把线上日历(和联系人)同步到本地的终端命令。Khal 在本地运行,vdirsyncer 在远程运行,这样远程的日历能与你管理的本地日历保持同步。
|
||||
* 管理联系人可能会很难,但是如果你用了 [Khard][15] 这个以 vCard 格式读写文件的终端命令,就会变得简单。这个命令能反过来同步运行着 vdirsyncer(你可能在用 khal 日历时已经运行了)的远程服务器。这使得日历和联系人管理变得简单,而且[搭建个人信息管理(PIM)服务器][16]也比以前容易得多。
|
||||
|
||||
|
||||
|
||||
### 待办清单
|
||||
|
||||
![][17]
|
||||
|
||||
* 组织你每天的行程有很多种方式,但是最简单的一种是用 [todo.txt][18],一个简单、便携式、易于理解的系统,即使设备上没有安装 todo.txt 也不会崩溃。todo.txt 能正常运行的原因是,它就是一个 Bash 脚本,能在几乎所有你能找到的的设备上运行。操作过程很简单:下载脚本,安装到家目录,用一个简单的命令开始调度任务。如果你的计算机上没有安装 `todo.sh` 命令,那么你的待办清单仍然可以作为纯文本文件来使用,你可以在需要时手动更新它。
|
||||
* [Jrnl][19] 是一个能追踪的你的日常议程和活动的数字笔记本。如果你要摘抄桌面上的报纸的片段或者把随意的想法写下来,那么这就是你要找的程序。
|
||||
|
||||
|
||||
|
||||
### 保持联络
|
||||
|
||||
![][20]
|
||||
|
||||
现在交流比以前更关键,但是管理交流平台是个问题。这不仅仅是几个客户端,而是几个独立的网络。你怎么管理它们?这里有两个方案。
|
||||
|
||||
* 如果你在很多个交流网络中积累了大量的联系人,那么你应该试试 [BitlBee][21],使用这一个聊天客户端就可以关联其他所有的客户端。
|
||||
* [Rainbow Stream][22] 是个推特客户端,能让你不被开放的网页浏览器分心,而又能紧跟时事。
|
||||
|
||||
|
||||
|
||||
### 消息通知
|
||||
|
||||
![][23]
|
||||
|
||||
网页浏览器很好,但有时过犹不及。你希望能及时收到消息,但是你又不想全身心地投入到互联网中。因为互联网是以开放的规格和大量的开源技术构建的,你不必在一个界面中做所有的事。对于不同的任务有不同的*客户端*,通过它们你能得到需要的信息,你只需要使用喜欢的界面就可以了。
|
||||
|
||||
* [Tuir][24] 是一个 Reddit 终端客户端。
|
||||
* [Newsboat][25] 是一个 RSS 阅读器。
|
||||
* [Wego][26] 是天气预报工具。
|
||||
* [Vim][27] 可以帮助你登录 Reddit 和 Twitter。
|
||||
* [Emacs][28] 能让你保持与 Reddit、Twitter 和聊天客户端的联系。
|
||||
|
||||
|
||||
|
||||
### 保持终端一直开启
|
||||
|
||||
![][29]
|
||||
|
||||
如果你正在用终端工作,那么关闭它的意义是什么呢?屏蔽掉 `exit` 和 `Ctrl+D`,保持你的控制台一直开启。
|
||||
|
||||
* [Tmux][30] 能分割你的终端,让一个终端窗口”分层“到另一个窗口之上,甚至从一台计算机离开到另一台计算机后,能保持相同的终端会话。
|
||||
* [DESQview][31] 是另一种方式:它本质上是一个终端窗口管理器。
|
||||
|
||||
|
||||
|
||||
### 未完待续
|
||||
|
||||
本文列出的工具只是 Linux 终端的神奇生产力工具中的一小部分。这个清单会结束,但你自己的清单可以继续列。找到你喜欢的工具,学习它们,让他们为你带来最大的收益。当然,一个好的工具不一定要提高你的生产力:有时你最喜欢的命令也可以是能让你最快乐的命令。你的工作是找到自己喜欢的命令,用它们来改变世界。
|
||||
|
||||
玩得愉快!
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://opensource.com/article/20/6/productivity-tools-linux-terminal
|
||||
|
||||
作者:[Alan Smithee][a]
|
||||
选题:[lujun9972][b]
|
||||
译者:[lxbwolf](https://github.com/lxbwolf)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://opensource.com/users/alansmithee
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/browser_screen_windows_files.png?itok=kLTeQUbY (Computer screen with files or windows open)
|
||||
[2]: https://opensource.com/users/ksonney
|
||||
[3]: https://opensource.com/sites/default/files/uploads/productivity_2-1.png
|
||||
[4]: https://opensource.com/article/20/1/sync-files-syncthing
|
||||
[5]: https://opensource.com/article/20/1/configuration-management-stow
|
||||
[6]: https://opensource.com/sites/default/files/uploads/productivity_3-1.png
|
||||
[7]: https://opensource.com/article/20/1/sync-email-offlineimap
|
||||
[8]: https://opensource.com/article/17/11/how-use-cron-linux
|
||||
[9]: https://opensource.com/article/20/1/organize-email-notmuch
|
||||
[10]: https://opensource.com/article/20/1/vim-email-calendar
|
||||
[11]: https://opensource.com/article/20/1/emacs-mail-calendar
|
||||
[12]: https://opensource.com/sites/default/files/uploads/productivity_5-1.png
|
||||
[13]: https://tools.ietf.org/html/rfc5545
|
||||
[14]: https://opensource.com/article/20/1/open-source-calendar
|
||||
[15]: https://opensource.com/article/20/1/sync-contacts-locally
|
||||
[16]: https://opensource.com/alternatives/google-calendar
|
||||
[17]: https://opensource.com/sites/default/files/uploads/productivity_7-1.png
|
||||
[18]: https://opensource.com/article/20/1/open-source-to-do-list
|
||||
[19]: https://opensource.com/article/20/1/python-journal
|
||||
[20]: https://opensource.com/sites/default/files/uploads/productivity_9-1.png
|
||||
[21]: https://opensource.com/article/20/1/open-source-chat-tool
|
||||
[22]: https://opensource.com/article/20/1/tweet-terminal-rainbow-stream
|
||||
[23]: https://opensource.com/sites/default/files/uploads/productivity_13-1.png
|
||||
[24]: https://opensource.com/article/20/1/open-source-reddit-client
|
||||
[25]: https://opensource.com/article/20/1/open-source-rss-feed-reader
|
||||
[26]: https://opensource.com/article/20/1/open-source-weather-forecast
|
||||
[27]: https://opensource.com/article/20/1/vim-task-list-reddit-twitter
|
||||
[28]: https://opensource.com/article/20/1/emacs-social-track-todo-list
|
||||
[29]: https://opensource.com/sites/default/files/uploads/productivity_14-1.png
|
||||
[30]: https://opensource.com/article/20/1/tmux-console
|
||||
[31]: https://opensource.com/article/20/1/multiple-consoles-twin
|
Loading…
Reference in New Issue
Block a user