资讯

Press "Alt-F2" to open a command line prompt within Unity. Type the command for Evince with your PDF file's name, file extension and its full path relative to the Home directory.
Command Prompt and Windows PowerShell are also simple and built-in options covered in this post for this purpose. We have already seen how to open a file or folder using Command Prompt or PowerShell.
If you're tired of having to jump through hoops to open files with sudo privileges in the GNOME File Manager, Jack Wallen has just the trick you need.
On Windows 10, a batch file typically has a ".bat" extension, and it is a special text file that contains one or multiple commands that run in sequence to perform various actions with Command Prompt.
Screenshot by Topher Kessler/CNET Another approach is to pipe the results of the command to Apple's "open" command and instruct it to open the file in a text editor like Apple's TextEdit program.
open -R /path/to/your-file-or-folder This command opens Finder and highlights the specified file or folder. Why Use the Terminal to Open Folders?
The "open" program is specific to OS X and lets you basically drag and drop a file with the -a command onto an application. This way it overrides the per-user OBJ open-with settings.
Command Prompt lets you create all kinds of files on your Windows PC. Here's a guide explaining all the different methods to create a file using Command Prompt.
You can stop or prevent Command Prompt from closing immediately after opening or executing a batch file using Pause, cmd /k or editing Registry.
Learn how to use the scp command to transfer files securely with this step-by-step tutorial by expert Jack Wallen.