我的环境:
$ cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
$ uname -a
Linux X 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -q glibc
glibc-2.17-196.el7.x86_64
glibc-2.17-196.el7.i686
$
Run Code Online (Sandbox Code Playgroud)
我正在尝试关注下载 Skype | 免费电话 | 聊天应用程序:
$ sudo rpm -ivh https://go.skype.com/skypeforlinux-64.rpm
Retrieving https://go.skype.com/skypeforlinux-64.rpm
error: Failed dependencies:
libstdc++.so.6(GLIBCXX_3.4.20)(64bit) is needed by skypeforlinux-8.9.0.1-1.x86_64
$
Run Code Online (Sandbox Code Playgroud)
难道我做错了什么?还是站在微软一边?
我不确定是什么,但似乎我做错了什么......我的目标是能够限制我的一些流量,确切地说是 www 流量。我的一个客户操作系统运行所谓的网络代理,最终用户可以通过他们的网站浏览任何网页,如果有人感兴趣,请查看:
所以这是我的/etc/ipfw.rules文件,后跟ipfw show和ipfw pipe show:
冲洗 管道冲洗 管道 1 配置 bw 1Mbit/s 掩码 src-port www 管道 2 配置 bw 1Mbit/s 掩码 src-port www 添加 100 允许通过 lo0 从任何到任何的 ip 将 200 拒绝 ip 从任何添加到 127.0.0.0/8 将 300 拒绝 ip 从 127.0.0.0/8 添加到任何 将 8381 管道 1 tcp 从任何添加到任何 dst 端口 www uid 守护程序 将 8382 管道 2 tcp 从任何添加到任何 src-port www uid 守护进程 添加 8025 允许从任何到任何 dst 端口 smtp 的 tcp …
# touch $$
# gzip $$
# gzip --test $$.gz
# echo $?
0
# OUT=$(gzip --test $$.gz)
# echo $OUT
# if [ -z $OUT ] ; then echo $$ ; fi
26521
# if [ -n $OUT ] ; then echo $$ ; fi
26521
#
Run Code Online (Sandbox Code Playgroud)
从 bash(1)
Run Code Online (Sandbox Code Playgroud)-z string True if the length of string is zero. string -n string True if the length of string is non-zero.
我很困惑,它如何同时为零和非零?如何检查键是否具有值(使用bash)?
我正在尝试 csup,但收到“来自服务器的无效问候”
su-3.2# /usr/bin/csup -z -h cvsup.freebsd.org /usr/share/examples/cvsup/standard-supfile
Connected to 72.233.193.64
Invalid greeting from server
su-3.2#
Run Code Online (Sandbox Code Playgroud) 我正在使用 mutt:
[alexus@wcmisdlin02 Desktop]$ mutt -v
Mutt 1.5.21 (2010-09-15)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: Linux 3.10.0-229.11.1.el7.x86_64 (x86_64)
ncurses: ncurses 5.9.20130511 (compiled with 5.9)
libidn: 1.28 (compiled with 1.28)
hcache backend: tokyocabinet 1.4.48
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL -USE_SETGID -USE_DOTLOCK -DL_STANDALONE +USE_FCNTL -USE_FLOCK
+USE_POP +USE_IMAP +USE_SMTP
-USE_SSL_OPENSSL …Run Code Online (Sandbox Code Playgroud) 我正在使用ASUS-Chromebook-Flip-C302CA/ Google Chrome OS-Version 65.0.3325.35 (Official Build) dev (64-bit)并且我正在尝试遵循Visual Studio Code for Chromebooks 和 Raspberry Pi,但未能执行最后一步并出现以下错误:
chronos@localhost ~ $ . <( wget -O - https://code.headmelted.com/installers/chromebook.sh )
bash: wget: command not found
chronos@localhost ~ $
Run Code Online (Sandbox Code Playgroud)
wget:
chronos@localhost ~ $ whereis wget
wget:
chronos@localhost ~ $ which wget
which: no wget in (/usr/local/bin:/usr/bin:/bin:/opt/bin)
chronos@localhost ~ $ find / -name wget >/dev/null 2>&1
chronos@localhost ~ $
Run Code Online (Sandbox Code Playgroud) 我的系统:
toor@suey:~$ cat /etc/os-release
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2020.4"
VERSION_ID="2020.4"
VERSION_CODENAME="kali-rolling"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
toor@suey:~$ uname -a
Linux suey.nknwn.local 5.9.0-kali1-rt-amd64 #1 SMP PREEMPT_RT Debian 5.9.1-1kali2 (2020-10-29) x86_64 GNU/Linux
toor@suey:~$
Run Code Online (Sandbox Code Playgroud)
我的问题:
toor@suey:~$ sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://download.draios.com/stable/deb stable-amd64/ InRelease
Hit:4 https://artifacts.elastic.co/packages/6.x/apt stable InRelease
Hit:5 https://download.docker.com/linux/debian stretch InRelease
Hit:6 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:8 http://packages.cloud.google.com/apt cloud-sdk-buster InRelease
Hit:7 http://kali.download/kali kali-rolling InRelease
Hit:2 https://packages.cloud.google.com/apt kubernetes-xenial InRelease …Run Code Online (Sandbox Code Playgroud) freebsd ×2
apt ×1
centos ×1
chrome-book ×1
chrome-os ×1
firewall ×1
kali-linux ×1
linux ×1
linux-kernel ×1
mutt ×1
rpm ×1
shell-script ×1
skype ×1
string ×1
test ×1
variable ×1
wget ×1