我想知道如果我想玩基于胜利的游戏,哪种方法是最好的。
我不想使用双启动方法,因为这会花费我重新启动、登录和运行操作系统来完成我的工作或打发时间的时间,而且我的一些应用程序依赖于 win 和我的图形来运行。例如 Daz3d、Photoshop、Flash 等。
现在我阅读了 HVM(硬件虚拟机),然后我了解了 VMware 和 VirtualBox 的 3D 虚拟化。但是,2 后来虚拟化了 3D 并且没有使用 GPU 的全部功能。所以这个选项对于像 D3 这样的最新游戏来说并不完美。
我想知道是否有人在 HVM 方面有经验(如果我没记错的话,比如 xen)并尝试过类似的方法来访问 GPU 的全部功能并成功运行依赖 GPU 的较新游戏和其他产品?
将是第一次设置 HVM,没有这方面的经验,所以不知道会发生什么。
这将有很大帮助,因为我不想恢复到胜利状态或如上所述进行双启动。
我想知道是否有一种方法可以组合一系列 grep 语句,其效果是“和”表达式而不是“或”匹配表达式。
演示如下:
./script
From one grep statement, I want output like this
a b c
not like this
a
c
a b
a b c
a b c d
Run Code Online (Sandbox Code Playgroud)
听说是看剧本。
#!/bin/bash
string="a
b
c
d
a b
a b c
a b c d"
echo -e "\t From one grep statement I want output like this"
echo "$string" |
grep a |grep c |grep -v d #Correct output but pipes three grep statements
echo -e "\n\tNot like this" …Run Code Online (Sandbox Code Playgroud)