我有 file1.txt
this is the original text
line2
line3
line4
happy hacking !
Run Code Online (Sandbox Code Playgroud)
和 file2.txt
this is the original text
line2
line4
happy hacking !
GNU is not UNIX
Run Code Online (Sandbox Code Playgroud)
如果我这样做:diff file1.txt file2.txt
我得到:
3d2
< line3
5a5
> GNU is not UNIX
Run Code Online (Sandbox Code Playgroud)
通常如何解释输出?我认为这<
意味着已删除,但做什么3d2
或5a5
意味着什么?
如果我做:
this is the original text
line2
line3
line4
happy hacking !
Run Code Online (Sandbox Code Playgroud)
结果更清楚了,但这@@ -1,5 +1,5 @@
意味着什么?
我正在 SSH 到我朋友的机器上,我想知道如何通过 SSH 启动 GNOME 会话。我需要在他的机器上打开一个网络浏览器来查看一些只能通过他的主机名完成的事情。通过 SSH 实现这一目标的最简单方法是什么?
我想下载自动生成的字幕youtube-dl
如下
$ youtube-dl --write-auto-sub \
--skip-download \
https://www.youtube.com/watch?v=vbLEf4HR74E
Run Code Online (Sandbox Code Playgroud)
它下载的文件The habits of happiness _ Matthieu Ricard-vbLEf4HR74E.en.vtt
不是自动生成的字幕,它包含单词coke box
而不是Coca-Cola tins
.
如何下载正确的文件?
我正在 Wayland 下运行 GNOME Shell,我想在嵌套会话中调试扩展,这样我就不必重新启动合成器,我该怎么做?
linux ×2
xorg ×2
command-line ×1
development ×1
diff ×1
files ×1
gnome ×1
gnome-shell ×1
networking ×1
ssh ×1
wayland ×1
xephyr ×1
youtube-dl ×1