我目前正在尝试找到一种方法来使用 cat 命令将文本文件显示为我正在做的项目的自动编号段落,但我一直无法找到一个命令。
例子:
Frederick II (German: Friedrich; 24 January 1712 – 17 August 1786) was King of Prussia from 1740 until 1786.[1] His most significant accomplishments during his reign included his military victories, his reorganization of Prussian armies, his patronage of the Arts and the Enlightenment in Prussia, and his final success against great odds in the Seven Years' War.
Frederick was the last titled King in Prussia and declared himself King of Prussia after achieving full sovereignty for …Run Code Online (Sandbox Code Playgroud) 需要为我必须做的一些工作下载“traceroute”,我尝试使用“sudo apt-get install”下载软件包。在网上查看后,我看到我可能需要更新软件,但这也不起作用。有任何想法吗?
ubuntu@ubuntu:~$ sudo apt-get install traceroute
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package traceroute is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'traceroute' has no installation candidate
ubuntu@ubuntu:~$ sudo apt-get install update
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package update
Run Code Online (Sandbox Code Playgroud)
PS inetutils-traceroute …
我是 Ubuntu 的完全菜鸟。我必须对此做一些工作,并被告知要解释当您输入命令“ifconfig”时会发生什么,但我不知道这意味着什么。请以最容易理解的方式向我解释以下任何一项的含义:
eth9 Link encap:Ethernet HWaddr 4c:cc:6a:3f:37:64
inet addr:10.170.148.199 Bcast:10.170.151.255 Mask:255.255.252.0
inet6 addr: fe80::4ecc:6aff:fe3f:3764/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:49704 errors:0 dropped:0 overruns:0 frame:0
TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4871401 (4.8 MB) TX bytes:21656 (21.6 KB)
Run Code Online (Sandbox Code Playgroud)