我的 Cygwin 安装行为异常:chmod不起作用。
[09:45 Administrator@DellIns14 ~] > ls -ls /usr/bin/chmod
64K -rwxr-xr-x 1 Administrator None 38K Feb 6 2012 /usr/bin/chmod
[09:47 Administrator@DellIns14 ~] > rm /tmp/example.sh
rm: remove regular empty file `/tmp/example.sh'? y
[09:48 Administrator@DellIns14 ~] > touch /tmp/example.sh
[09:48 Administrator@DellIns14 ~] > ls -ls /tmp/example.sh
0 -rw-r--r-- 1 Administrator None 0 Jul 8 09:48 /tmp/example.sh
[09:48 Administrator@DellIns14 ~] > chmod -v +x /tmp/example.sh
mode of `/tmp/example.sh' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x)
[09:48 Administrator@DellIns14 ~] > …Run Code Online (Sandbox Code Playgroud) 在 MS Word (2003) 中,当我想在同一页面上保留一行(格式化为超链接+标题)和后续行(常规文本)时,对我有用的唯一方法是选择 format/paragraph/keep with next.
选项format/paragraph/keep lines together这似乎是显而易见的选择,似乎没有工作时。
我使用的问题keep with next是,当相关行接近页面末尾时,这很好,但是如果后续编辑将它们推向页面中间或顶部,它们仍然会出现在下一页,而我留下了大量不必要的空白。
我在哪里可以阅读 Microsoft 对 的定义keep with next,keep lines together,以及widow/orphan control?
笔记:
keep lines together,但看到 MS 定义仍然很高兴。在 Windows 7 上的 VirtualBox 4.3.22 上启动任何机器都失败并出现以下错误:
Failed to open a session for the virtual machine Kivy.
Unable to load R3 module C:\Program Files\VirtualBox/VBoxDD.DLL (VBoxDD): GetLastError=1790 (VERR_UNRESOLVED_ERROR).
Result Code: E_FAIL (0x80004005)
Component: Console
Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}
Run Code Online (Sandbox Code Playgroud)
(顺便说一句,我在 VirtualBox 4.3.20 上遇到了同样的错误)。
相关(最后)日志行是:
00:00:17.740881 BlkCache: Cache successfully initialised. Cache size is 5242880 bytes
00:00:17.740898 BlkCache: Cache commit interval is 10000 ms
00:00:17.740906 BlkCache: Cache commit threshold is 2621440 bytes
00:00:18.565718 VMSetError: F:\tinderbox\win-4.3\src\VBox\VMM\VMMR3\PDMLdr.cpp(307) int __cdecl pdmR3LoadR3U(struct UVM *,const char *,const char *); rc=VERR_UNRESOLVED_ERROR …Run Code Online (Sandbox Code Playgroud) 假设我打开了一个到 IP 地址的 ssh 会话。我能否从 ssh 会话中判断该 ssh 会话是在 VirtualBox 来宾 VM 上还是在非 VM 机器上运行?
笔记:
以下正则表达式tax[13]-eq-dc代表两个服务器:tax1-eq-dc 和tax3-eq-dc。
我试图找到一种在 Bash do 循环中使用它的方法,但不能仅仅获得正确的语法。
例如,下列说法是错误的:
$ for i in tax[13]-eq-dc; do ping -c3 $i; done
ping: unknown host tax[13]-eq-dc
Run Code Online (Sandbox Code Playgroud)
有什么想法正确的语法吗?
bash ×2
virtualbox ×2
windows-7 ×2
byobu ×1
chmod ×1
cygwin ×1
dll ×1
hard-drive ×1
permissions ×1
regex ×1
sata ×1
ssh ×1
usb ×1