我正在移动一些文件,我想mv在继续运行之前确保我输入的命令是正确的。
如果我正在使用apt-get,我可以使用该-s标志来执行一个实际上可以做任何事情的模拟。
是否mv有类似的功能,可以模拟文件的移动但实际上不做任何事情?
我使用的是带有 Ubuntu 19.04 的笔记本电脑,虽然在Nautilus和Chromium 中我可以获得精确的滚动,但在 Firefox 中似乎并非如此。这是一个(短短 30 秒)演示视频,向您展示我的意思:https : //youtu.be/GeLQLZAp2lg
在 Firefox 中,我有Smooth Scrolling,但没有Precise Scrolling。在 Chromium(和 Nautilus 文件管理器,以及几乎所有其他地方)中,我有Precise Scrolling,如视频所示。
uname -a: Linux MACHINE_NAME 5.0.0-16-generic #17-Ubuntu SMP Wed May 15 10:52:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux74.0.3729.169 (Official Build) Built on Ubuntu , running on Ubuntu 19.04 (64-bit)xinput):DELL0767:00 06CB:7E92 Touchpad我听说在新的 Ubuntu 版本发布后等待几周通常是个好主意,所以我才刚刚开始尝试安装更新。事实证明,当我尝试sudo do-release-upgrade在我的笔记本电脑上安装更新时,我得到了这个:
Calculating the changes
Calculating the changes
Could not determine the upgrade
An unresolvable problem occurred while calculating the upgrade.
This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.
Restoring original system state
Aborting
Reading package lists... …Run Code Online (Sandbox Code Playgroud) 我已经在我的 Ubuntu 服务器上使用了 fail2ban 一段时间了。最近(我假设升级到 ubuntu 15.04 后)fail2ban 一直无法启动。
最初,这是因为该port选项已在某处指定了两次 - 我修复了该问题。
现在我收到以下错误:
WARNING 'filter' not defined in 'sshd'. Using default one: ''
ERROR Failed during configuration: Bad value substitution:
section: [sshd]
option : action
key : port
rawval : ", protocol="%(protocol)s", chain="%(chain)s"]
%(mta)s-whois-lines[name=%(__name__)s, dest="%(destemail)s", logpath=%(logpath)s, chain="%(chain)s", sendername="%(sendername)s"]
Run Code Online (Sandbox Code Playgroud)
这是我的jail.local配置文件的 pastebin 的链接:http : //pastebin.com/KksbwT1r
出于隐私原因,我已删除电子邮件地址。