每当我运行时,我都会收到此错误sudo apt update
:
E: The repository 'http://archive.ubuntu.com/ubuntu wily Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Run Code Online (Sandbox Code Playgroud)
我正在运行 Ubuntu 16.04。
lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
Run Code Online (Sandbox Code Playgroud)
内容/etc/apt/sources.list
:
# deb cdrom:[Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes …
Run Code Online (Sandbox Code Playgroud) 我的 Debian 笔记本电脑没有响应,我决定强制关机。启动后,我core
在我的主目录中找到了一个文件。它是什么以及如何使用它?我猜这是某种用于调试的内存转储。我试过了gdb core
,但它说无法识别文件格式。
(base) rusiru@rusiru-X556UV:~$ sudo apt-get upgrade
Reading packages lists... Done
Building dependency tree
Reading state information... Done
E: The package packettracer needs to be installed, but I can't find an archive for it.
(base) rusiru@rusiru-X556UV:~$ sudo apt-get update
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 http://lk.archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://lk.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://lk.archive.ubuntu.com focal-backports InRelease
Reading package lists... Done
(base) rusiru@rusiru-X556UV:~$ sudo apt-get upgrade
Reading packages lists... Done
Building dependency tree
Reading state information... Done
E: The package packettracer needs to be …
Run Code Online (Sandbox Code Playgroud) 我编写了以下代码,输出应该是:
问题是,如果我插入https://www.google.com或http://www.google.com我会收到错误。如果我尝试使用 google.com 它工作正常。
任何想法?
read -p "Please insert the url: " url
certificate_file=$(mktemp)
echo -n | openssl s_client -servername "$url" -connect "$url":443 2>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > $certificate_file
date=$(openssl x509 -in $certificate_file -enddate -noout | sed "s/.*=\(.*\)/\1/")
date_s=$(date -d "${date}" +%s)
now_s=$(date -d now +%s)
date_diff=$(( (date_s - now_s) / 86400 ))
if [[ "$date_diff" -gt "1" ]]; then
echo "Certificate expires in: $date_diff days"
else
echo "$url does …
Run Code Online (Sandbox Code Playgroud) 我跑了
sudo rm -rf /*
Run Code Online (Sandbox Code Playgroud)
在 Zorin OS 上,因为我的朋友向我挑战,现在我什至无法启动到我的主板 BIOS。我应该如何解决这个问题?还是我已经注定无可救药了?
我曾多次尝试动力循环但没有运气。我尝试启动到 GParted。我什至删除了所有驱动器,但没有成功。我尝试的一切都行不通。
我知道这help
是一个 shell 内置内部命令,用于查找内置命令,例如cd
. 但它在 VirtualBox 中的 Kali Linux 终端中不起作用。它显示以下错误:
Command 'help' not found, did you mean:
command 'dhelp' from deb dhelp
command 'yelp' from deb yelp
Try: sudo apt install <deb name>
Run Code Online (Sandbox Code Playgroud) if
如果您键入for ,提示就会消失ifconfig
。那不应该发生。
\xe2\x94\x8c\xe2\x94\x80\xe2\x94\x80(rootkali)-[~] \n\xe2\x94\x94\xe2\x94\x80#\n\n\xe2\x94\x8c\xe2\x94\x80\xe2\x94\x80(rootkali)-[~] \n\xe2\x94\x94\xe2\x94\x80# if\nif> exit\nif> ifconfig\nif> iwconfig\nif> clear\nif> \n
Run Code Online (Sandbox Code Playgroud)\n 我需要帮助输入一个sed
命令来搜索下面 2000 年至 2009 年(含)之间发布的游戏。我尝试过 (/) 搜索,但它对我不起作用。
1 Wii Sports Wii 2006 Nintendo 41.36\n2 Super Mario Bros. NES 1985 Nintendo 29.08\n3 Duck Hunt NES 1985 Nintendo 26.93\n4 Tetris GB 1989 Nintendo 23.20\n5 Mario Kart Wii Wii 2008 Nintendo 15.91\n6 Wii Sports Resort Wii 2009 Nintendo 15.61\n7 Kinect Adventures! X360 2010 MS Game Studios 15.09\n8 New Super Mario Bros. Wii Wii 2009 Nintendo 14.53\n9 Wii Play Wii 2007 Nintendo 13.96\n10 Super Mario World SNES 1991 Nintendo 12.78\n11 New …
Run Code Online (Sandbox Code Playgroud)