怎么用命令提示符打开浏览器_从您当前的命令提示符/终端目录打开文件浏览器...

怎么用命令提示符打开浏览器

怎么用命令提示符打开浏览器

Ever been doing some work at the command line when you realized… it would be a lot easier if I could just use the mouse for this task? One command later, you’ll have a window open to the same place that you’re at.

当您意识到时,曾经在命令行上做过一些工作吗……如果我可以只使用鼠标来完成此任务,会容易得多吗? 一个命令之后,您将打开一个窗口,该窗口指向您所在的位置。

This same tip works in more than one operating system, so we’ll detail how to do it in every way we know how.

相同的技巧可以在多个操作系统上使用,因此我们将详细介绍如何以我们知道的所有方式进行操作。

Open a File Browser in Windows

在Windows中打开文件浏览器

We’ve actually covered this before when we told you how to open an Explorer window from the command prompt’s current directory, but we’ll briefly review: Just type the follow command into your command prompt:

在告诉您如何从命令提示符的当前目录打开资源管理器窗口之前,我们实际上已经进行了介绍,但是我们将简要回顾一下:只需在命令提示符下键入follow命令:

explorer .

探险家。

image

Note: You could actually just type “start .” instead.

注意:您实际上可以只输入“开始”。 代替。

And you’ll then see a file browsing window set to the same directory you were previous at. And yes, this screenshot is from Vista, but it works the same in every version of Windows.

然后,您将看到一个文件浏览窗口,该窗口设置为先前的目录。 是的,此屏幕截图来自Vista,但在每个Windows版本中都可以使用。

image

If that wasn’t good enough, you should really read how you can navigate in the File Open/Save dialogs with just the keyboard—now that’s a Stupid Geek Trick!

如果这还不够好,那么您应该真正阅读如何使用键盘在“文件打开/保存”对话框中导航,这真是个愚蠢的怪胎把戏!

Open a File Browser in Linux

在Linux中打开文件浏览器

For this exercise, we’re going to assume that you’re using Gnome under a Linux flavor like Ubuntu, because that’s the most common. From your terminal window, just type in the following command:

在本练习中,我们将假设您在Linux风格(如Ubuntu)下使用Gnome,因为这是最常见的。 在终端窗口中,只需输入以下命令:

nautilus .

鹦鹉螺。

sshot-2010-04-26-20-15-10

And the next thing you know, you’ll have a file browser window open at the current location. You’ll see some type of error message at the prompt, but you can pretty much ignore that.

接下来,您将在当前位置打开一个文件浏览器窗口。 您将在提示符下看到某种类型的错误消息,但是您几乎可以忽略它。

sshot-2010-04-26-20-16-33

You can also use “gnome-open .” if you want.

您还可以使用“ gnome-open”。 如果你想。

Open Finder in Mac OS X

在Mac OS X中打开Finder

All the Mac computers in this office are running Linux, so we haven’t had a chance to verify, but you should be able to use the following command on OS X to open Finder in the current terminal location:

该办公室中的所有Mac计算机都在运行Linux,因此我们没有机会进行验证,但是您应该能够在OS X上使用以下命令在当前终端位置打开Finder:

open .

打开。

Open Dolphin on Linux KDE4

在Linux KDE4上打开Dolphin

dolphin .

海豚

Got any extra tips to help out your fellow readers? How do you do the same thing in KDE3? What about OS X? Leave your savvy advice in the comments, and maybe we’ll update the article. Or not. Either way, it’ll help somebody!

还有其他提示可以帮助您的其他读者吗? 您如何在KDE3中做同样的事情? OS X呢? 在评论中留下您精明的建议,也许我们会更新本文。 或不。 无论哪种方式,它都会对某人有所帮助!

翻译自: https://www.howtogeek.com/howto/15781/open-a-file-browser-from-your-current-command-promptterminal-directory/

怎么用命令提示符打开浏览器

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值