win7 命令行工具

The terminal/command line is a sacred tool that developers have under their belt. It is possibly the most used tool for programmers. I believe that is because of how lightweight it is and also the unbelievable amount of things you can do with it. Some developers even go the extra mile to do everything inside of the terminal. Kudos to them.

终端/命令行是开发人员的神圣工具。 它可能是程序员最常用的工具。 我相信这是因为它的重量很轻,并且您可以用它做很多事。 一些开发人员甚至不遗余力地在终端内部进行所有操作。 对他们表示敬意。

I’ll be showing some of the CLI (Command-Line Interface) tools that I personally think are awesome and use pretty much on a daily basis. Granted, there are so many tools out there for the command line that this list barely scratches the surface.

我将展示一些我个人认为很棒的CLI(命令行界面)工具,并且每天都会大量使用。 诚然,那里有太多用于命令行的工具,以至于这个列表几乎没有触及表面。

1. vim (1. vim)

What kind of terminal list wouldn’t include vim? There are tons of debates about whether or not vim is the editor for programming or if it’s a tool invented for lunatics, but we will not be discussing that here.

哪种终端列表不包含vim ? 关于vim是否 程序设计编辑器,或者它是为疯子发明的工具,但是我们在这里不再讨论。

For those of you who are not familiar with vim, it is a text editor that improves on the out-of-the-box vi tool shipped with any UNIX system. It allows you to edit or create a file through your terminal.

对于不熟悉vim ,它是一个文本编辑器,可以改进任何UNIX系统附带的现成的vi工具。 它允许您通过终端编辑或创建文件。

Basic usage of vim.
vim的基本用法。

This tool is helpful if you want to quickly edit a file while you are in the terminal and don’t want to open up your IDE or a GUI text editor like VSCode or Sublime Text.

如果您想在终端中快速编辑文件并且不想打开IDE或VSCode或Sublime Text之类的GUI文本编辑器,此工具将非常有用。

Keep in mind that this tool can be a little tricky to use when first learning it, as many of the shortcuts are not as intuitive as modern-day text editors. However, if you do invest the time to learn vim, it can be extremely powerful for a developer. This is why vim has a huge community. This community is so large that developers will even make plug-ins for popular IDEs and text editors to emulate the vim experience.

请记住,此工具在初学时可能会有些棘手,因为许多快捷方式并不像现代文本编辑器那样直观。 但是,如果您确实花时间学习vim ,那么对于开发人员来说,它可能会非常强大。 这就是为什么vim具有庞大的社区。 这个社区是如此之大,以至于开发人员甚至会为流行的IDE和文本编辑器制作插件来仿效vim体验。

2. vtop (2. vtop)

top is a very common command that is used within the terminal to display information about processes that your system has running and general information about the memory and CPU usage of your machine. If you have ever used top, it can be a little confusing to look at. So how can we make this information a little easier to process? Introducing vtop, an implementation of top that has graphs!

top是一个非常常见的命令,用于在终端中显示有关系统正在运行的进程的信息以及有关计算机内存和CPU使用率的常规信息。 如果您曾经使用过top ,那么看起来可能会有些混乱。 那么,如何使这些信息更容易处理呢? 引入vtop ,这是具有图形的top的实现!

vtop in action.
vtop发挥作用。

I like having a visual guide for anything, and having one for top information is killer. I have this running all day so that I can keep an eye on my system’s load.

我喜欢拥有任何事物的可视化指南,而拥有top信息则是杀手.。 我整天都在运行,以便可以随时注意系统的负载。

You’re going to need npm for this tool.

您将需要npm才能使用此工具。

3. fzf (3. fzf)

This next one is a really cool tool. It’s called fzf. It’s a general-purpose command-line fuzzy finder that allows you to find files based on whatever you type. On its own, it’s an OK tool. It will list all the different files in the current directory you’re in. You can think of it as a Spotlight search, but in your terminal.

下一个是一个非常酷的工具。 叫做fzf 。 这是一个通用的命令行模糊查找器,可让您根据键入的内容查找文件。 就其本身而言,这是一个确定的工具。 它会列出您当前所在目录中的所有不同文件。您可以将其视为Spotlight搜索,但可以在终端中进行。

Fuzzy-finding in my home.
在我家中模糊查找。

Now the real power of this tool comes when you combine fzf with other existing commands like kill or cat. In order to do this, you’re going to need to run the install script that is provided with the package or inside the repository:

现在,当您将fzf与其他现有命令(例如killcat结合使用时,此工具才真正fzf 。 为了做到这一点,您将需要运行软件包或存储库中随附的安装脚本:

/usr/local/opt/fzf/installor~/.fzf/install

You will need to restart your terminal or source your .bashrc. It will ask you some questions, and once you’ve answered all of them, you will have unlocked fzf's fullest potential.

您将需要重新启动终端或source.bashrc 。 它会问您一些问题,并且回答fzf所有问题后,您便可以充分发挥fzf的潜力。

Now you can run commands like:

现在,您可以运行以下命令:

cat **[TAB]vim **[TAB]ssh **[TAB]

fzf will kick into gear and find all the possible entries that can work with the command:

fzf将投入使用,并找到可与该命令一起使用的所有可能的条目:

Similar to file finding an IDE.
类似于查找IDE的文件。

Another cool application of this is using it with the kill command. This is probably the one I use most. The days of typing ps -ef | grep [process-name] and then either manually typing or copying the process ID to kill are long gone. Instead, you can run kill [tab] or kill -9 [tab]. Fuzzy-find the process you want to kill and press enter. It will automatically fill the process ID in for you.

另一个很酷的应用程序是将它与kill命令一起使用。 这可能是我最常用的一种。 键入ps -ef | grep [process-name]的日子ps -ef | grep [process-name] ps -ef | grep [process-name] ,然后手动键入或复制要杀死的进程ID早已不复存在。 相反,您可以运行kill [tab]kill -9 [tab] 。 模糊查找要杀死的进程,然后按Enter。 它将自动为您填写进程ID。

Awesome use case.
很棒的用例。

There are tons of other use cases that I can go over, but these are the main ones I would like to point out.

我还有很多其他用例,但这些是我要指出的主要用例。

4.垃圾箱 (4. trash-cli)

Ever rm -rf something and immediately realize that it wasn’t something you wanted to delete forever? I hope this isn't just me. If you don’t want to deal with that kind of anxiety, then I would recommend using trash-cli.

曾经rm -rf某个东西,立即意识到这不是您想要永久删除的东西吗? 我希望这不只是我。 如果您不想处理这种焦虑,那么我建议您使用trash-cli

This tool basically just puts items inside your system’s trash instead of wiping it completely from existence.

该工具基本上只是将项目放入系统的垃圾桶中,而不是完全消除其存在。

Moves files into the trash instead of oblivion.
将文件移到废纸instead而不是遗忘中。

Instead of typing out trash, I have an alias in my .bashrc that replaces the rm command:

我没有在trash中键入trash ,而是在我的.bashrc中有一个别名来代替rm命令:

alias rm=trash

Now when something is deleted using rm, you don’t have to worry about it being gone forever. You can simply retrieve it from the trash if you like. And yes, this works with different flags that rm provides.

现在,使用rm删除某些内容时,您不必担心它会永远消失。 您可以根据需要直接从垃圾桶中检索它。 是的,这适用于rm提供的不同标志。

5.速度测试 (5. speed-test)

This one is pretty straightforward. If you want to see how fast your internet is without having to open up Chrome, speed-test is for you.

这很简单。 如果您想在不打开Chrome的情况下查看互联网的speed-test则可以进行speed-test

I’m not showing you all my horrible speeds. You get the idea.
我并没有向您展示我所有的可怕速度。 你明白了。

This is a tool I use quite frequently and always like to have in my back pocket just so that I don’t have to chew up additional resources from Chrome. Also, it’s pretty cool to do it in the terminal.

这是我经常使用的工具,并且总是喜欢随身携带,这样我就不必从Chrome中获取更多资源。 另外,在终端中执行此操作也很酷。

You’re going to need npm for this tool.

您将需要npm才能使用此工具。

6. Wikit (6. wikit)

This one is a much smaller repo, and I love it. I have my terminal open all day via iTerm2, so being able to search Wikipedia is awesome. wikit allows you to do that from the terminal. You’d be surprised by how often I use this one on a day-to-day basis.

这是一个小得多的仓库,我喜欢它。 我的终端通过iTerm2全天开放,因此能够搜索Wikipedia非常棒。 wikit允许您从终端执行此操作。 您会惊讶于我每天使用这一频率。

“wikit apple company” if you want to search Apple.
如果要搜索Apple,则为“ wikit苹果公司”。

You’re going to need npm for this tool.

您将需要npm才能使用此工具。

7.硬币顶 (7. cointop)

This last one might not be for everyone, but I use it every day. For those of you who are in the crypto world, then you probably already know about this tool.

最后一个可能并不适合所有人,但是我每天都在使用它。 对于那些身处加密世界的人来说,您可能已经了解此工具。

I dabble in cryptocurrency here and there, and keeping up with so many different types of coins — let alone their prices — can be exhausting. With prices moving so quickly in the crypto world, cointop is a lifesaver.

我在这里和那里涉足加密货币,跟上这么多不同类型的硬币(更不用说价格)了,可能会精疲力尽。 在加密cointop世界中,价格如此之快地波动, cointop成为了救命稻草。

cointop is a play on the top command. However, instead of displaying system information, cointop displays information about cryptocurrencies.

cointop是对top命令的播放。 但是, cointop不会显示系统信息, cointop显示有关加密货币的信息。

stonks
臭鼬

结论 (Conclusion)

There are so many more CLI tools that I use on a day-to-day basis, but these are the ones that stand out to me in my toolkit. I can go on forever about CLI tools. They are one of my favorite things to tinker with in the world of software. I always get excited whenever I find a new CLI tool that allows me to accomplish something so minuscule.

我每天都会使用更多的CLI工具,但是这些工具在我的工具箱中对我来说很突出。 我可以永远继续使用CLI工具。 它们是我在软件世界中最喜欢修改的东西之一。 每当我找到一个新的CLI工具时,我总是会感到兴奋,它可以使我完成如此微不足道的事情。

I also love the fact that most of these tools are community-driven — a bunch of developers just working on a small tool because they think they’re neat.

我也喜欢这样一个事实,其中大多数工具都是社区驱动的-一堆开发人员只是在开发一个小型工具,因为他们认为它们很简洁。

I’ll see you all in the next one!

下一个见,大家见!

翻译自: https://medium.com/better-programming/7-awesome-command-line-tools-36cea5cfc026

win7 命令行工具


http://www.taodudu.cc/news/show-5180045.html

相关文章:

  • 微服务解决方案_微服务为您提供正确的解决方案
  • wordpress表格筛选_wpDataTables:WordPress中用于表格和图表的最佳插件
  • ipad safari php readfile mp4,MP4 plays when accessed directly, but not when read through PHP, on iOS
  • html编辑contentbuilder,HTML BUILDER
  • 【kali】29 提权—— 利用漏洞提权
  • 游戏站推荐
  • FineBI 中 逻辑函数 Switch 的使用
  • 关于switchhosts
  • switch未能连接ea服务器,《Apex》无法完成EA账号登入问题,迅游支持Switch联机加速...
  • One Switch 1.1 破解版 Mac 集合一键切换系统各项功能的神奇菜单软件
  • PHP Switch语句写法示例
  • Java 18 Switch语句更强大了
  • android 不能试用switch
  • Switch版初音 mega39去渲染 获得PS4版初音街机效果说明
  • switch好玩吗_Switch今年上半年游戏汇总 原来有这么多选择
  • 小程序switch内部加上文字_Switch每日情报:国行版《健身环大冒险》微信小程序上线...
  • SwitchHosts小工具
  • Hosts 和 SwitchHosts
  • 怎样录制电脑内部发出的声音
  • 大整数乘法---C语言实现
  • 大整数乘法(分治)
  • 大整数乘法(递归+分治法)
  • c/c++ 大整数乘法
  • 【算法/C语言】大整数乘法(分治)
  • PYTHON:大整数乘法(分治法)
  • Java实现大整数乘法
  • 在动作捕捉系统中使用加速度和倾角传感器
  • 姿态估计之2D人体姿态估计 - PifPaf:Composite Fields for Human Pose Estimation
  • 2020CVPR人体姿态估计论文盘点
  • 六种人体姿态估计的深度学习模型与代码总结

win7 命令行工具_7个很棒的命令行工具相关推荐

  1. easyexcel一个很棒的Excel解析工具

    easyexcel一个很棒的Excel解析工具 前言 Excel格式 核心原理对比 理解与使用 总结 前言 最近手头上有一个项目,其中有一个需求就是要Excel表格导入导出,之前有过类似的经验,不过当 ...

  2. 推荐10个很棒的 CSS3 开发工具

    CSS3 是对 CSS 规范的一个很大的改善和增强,它使得 Web 开发人员可以很容易的在网站中加入时尚的效果.尽管如此,有几个工具可以在你使用 CSS3 制作网站的时候起到很好的帮助作用.在这篇文章 ...

  3. 推荐15款很棒的 JavaScript 开发工具

    在开发中,借助得力的工具可以事半功倍.今天这篇文章与大家分享最近发现的一些有用的 JavaScript 和 jQuery 的开发工具,库和插件.希望这些工具在你你即将到来的项目中能用得上. 01.Te ...

  4. linux系统里常用的抓图工具,linux下很棒的抓图工具——scrot

    这次重装FC5,很谨慎了.对欲安装的每件工具都仔细斟酌了一番.在屏幕抓取工具的选择上,我首选gimp,颇研究了一番,但gimp用于抓图总觉得大材小用,而且也不很方便,譬如无法进行区域交互抓取,只能抓窗 ...

  5. 很棒的远程执行工具psexec的用法

    psexec是一个远程执行工具,你可以像使用telnet一样使用它. 它的使用格式为: psexec \\远程机器ip [-u username [-p password]] [-c [-s]] [- ...

  6. 15款很棒的 JavaScript 开发工具

    在开发中,借助得力的工具可以事半功倍.今天,这篇文章向大家分享最新收集的15款非常有用的 JavaScript 开发工具. TestSwarm: Continious & Distribute ...

  7. ios开发工具_7个基本的ios开发人员工具

    ios开发工具 Whether you are an experienced iOS developer looking, or just getting started, it's essentia ...

  8. SQL server(MSSQL)客户端工具登录数据库的两种命令行登录方式

    我们安装了sqlserver服务器和sqlserver客户端工具之后,可以使用两种命令行方式登录数据库: >sqlwb -S servername或IP -E     #使用当前windows系 ...

  9. python 命令行参数-Python 中最好用的命令行参数解析工具

    Python 做为一个脚本语言,可以很方便地写各种工具.当你在服务端要运行一个工具或服务时,输入参数似乎是一种硬需(当然你也可以通过配置文件来实现). 如果要以命令行执行,那你需要一个命令行参数解析的 ...

最新文章

  1. iOS 图片处理-图片旋转和裁剪
  2. elementUI+vue-cli el-table=》excel
  3. java中的@override
  4. 永遠のゼロ       012
  5. 南京师范大学计算机科学与技术复试名单,2018年各学院硕士研究生复试办法及复试名单公示网址汇总表...
  6. 用R进行文本挖掘与分析:分词、画词云
  7. windownavigatorscreenlocation
  8. Consul实践之Consul常见应用场景及方案梳理(FAQ)
  9. 定义带参数的C宏,方便输出调试信息
  10. linux五笔教程,Linux 拼音五笔(或五笔拼音)输入法正确制作方法
  11. 以图搜图 图像匹配_以图搜图是什么 如何实现以图搜图
  12. 知识付费垂直细分-育儿知识付费社区
  13. 【Python程序设计】实验4:字符串与正则表达式
  14. 基于VHDL的毛刺信号消除
  15. 40G以太网光模块解决方案
  16. 对GPSR代码的理解——gpsr_neighbor.h
  17. 关于51/STC单片机中断优先级的调整
  18. KubeCon Keynote演讲:Kubernetes如何赋能可再生能源产业提升10倍效率
  19. 深入理解LTE-A 学习笔记(1)
  20. 12- 降维算法 (PCA降维/LDA分类/NMF) (数据处理)

热门文章

  1. 基于Linux视频驱动接口V4L2视频采集编程
  2. iOS 开发中如何隐藏UINavigationBar
  3. USB GPS软件App vk126-vk127
  4. 构建LibreOffice Android
  5. BootStrap案例CRM管理系统-前端概述
  6. 一款Mac电脑的专业直观家居设计软件Live Home 3D Pro
  7. 5.3-badge组件
  8. Linux环境下Elasticsearch6.4.3安装
  9. 8086汇编语言知识点整理
  10. 环信SDK 客服和IM聊天 踩坑记录