腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
bash
:意外数组成员句柄
arrays
、
bash
、
indexing
、
post-increment
、
pre-increment
"1" [4]="release" [5]="x86_64-redhat-
linux
-gnu") 3 2 25 1 release x86_64-redhat-
linux
-gnu $ echo "${
BASH
_VERSINFO[@]%
e
}" # Print allarr
浏览 1
提问于2013-08-13
得票数 2
回答已采纳
1
回答
在docker中,"chattr:在文件中设置标志时不允许的操作“
docker
、
xattr
我被塞进了一个本地Centos 7码头集装箱,我正在试着运行但我发现了一个错误:这里发生了什么事?它在说什么旗子?有解决办法吗?*我正在Windows 10之上的Ubuntu主机上运行Centos 7停靠容器(我希望尽可能避免处理VirtualBox )。所有这些的最终目标是使用这些容器测
浏览 0
提问于2019-06-03
得票数 9
回答已采纳
74
回答
输出语言名称乘以字符数
code-golf
、
string
、
kolmogorov-complexity
挑战:使用语言的通用名称或缩写。资本化很重要。PHP -> PHPPHPPHPC++ -> C++C++C++JavaScript -> JavaScriptJavaScriptJavaScriptJavaScriptJavaScriptJavaScriptJavaScriptJavaScri
浏览 0
提问于2017-12-17
得票数 17
1
回答
编译U时出错
command-line
、
bash
、
compiling
/bin/
bash
: arm-
linux
-gcc: command not founddirname: missingGenerating include/autoconf.mkGenerating include/
浏览 0
提问于2015-09-29
得票数 2
回答已采纳
1
回答
禁用Ubuntu 20中的根目录恢复
grub2
、
root
、
cisco
、
rescue-mode
思科建模实验室使用Ubuntu 20作为它的基础操作系统,这是我最近为思科学习中心购买的。我正在一个裸金属服务器上安装它,为了安装一个USB驱动器,它包含CML 2.4正常工作所需的更多文件,我需要放到root上。但是,当我到达恢复菜单并选择drop到root时,我会收到一个通知,上面写着:“按enter进行维护,或者按CTRL +D继续”。按回车时,命令行会闪烁,什么都不会发生。该选择似乎已被Cisco禁用。有办法绕过街区吗?
浏览 0
提问于2022-08-31
得票数 0
回答已采纳
2
回答
如何在Yocto食谱中获取
Bash
脚本
bash
、
shell
、
yocto
、
data-distribution-service
、
opensplice
Bash
配置文件太长,太复杂,无法用Yocto修补程序文件重写sh。但这会导致以下错误:sh: 3: /bin/
bash</e
浏览 2
提问于2019-12-10
得票数 2
4
回答
在
linux
上将echo命令替换为"echo -
e
“
linux
、
shell
、
echo
、
alias
、
subshell
#/bin/
bash
一旦我在
Linux
以外的平台上运行这个程序,它就会识别特殊字符,并给出如下输出programset SYSTEM="uname -s" #if ($SYSTEM
浏览 3
提问于2013-04-06
得票数 0
1
回答
不能创建一个最小的色度监狱
linux
、
bash
、
debian
、
chroot
以下步骤如下:将
bash
复制到文件夹chroot 运行ldd
bash
以了解ldd /bin/
bash
vdso.so.1 => (0x0000007fff645
e
2000) libtinfo.so.5 => /lib/x86_64-
linux
-gnu/libtinfo.so.5 (0x0000007f9155f75000) libdl.so.2 => /x86_64-
linux
浏览 0
提问于2013-11-05
得票数 1
回答已采纳
1
回答
使用tar选项提取rar文件的内容
linux
我已经在
linux
服务器上上传了一个rar文件。当我使用unrar -
e
filename.rar或rar -
e
filename.rar时,我得到了这个错误: Command not found rar。因为我不是root用户,所以我没有权限将unrar安装到
linux
machiene中。-
bash
-3.00$ unrar -
bash</em
浏览 24
提问于2011-10-12
得票数 1
回答已采纳
1
回答
无法进入shell脚本中的下一行。
bash
在交互式shell中:hello在脚本中做同样的事情,我无法进入下一行实际上,下面所有的工作都是为了进入交互式shell中的下一行,但不是在脚本中(我以前从未遇到过这个问题):echo -
e
printf "\n"/bin/
bash
--version GNU
bash
, versio
浏览 0
提问于2020-07-04
得票数 -1
回答已采纳
1
回答
意外的token `newline'\n/bin/snowsql-1.2.0-
linux
_x86_64.
bash
ansible snowsql
bash
、
ansible
、
snowflake-cloud-data-platform
>'"ec2-user@ip-xx-xx-xx-xx ~]$
bash
snowsql-1.2.7-
linux
_x86_64.
bash
snowsql-1.2.7-
浏览 1
提问于2020-07-01
得票数 0
1
回答
将两个特定的
Linux
命令合并为一个
linux
、
shell
我想将两个
Linux
命令组合起来:cut -f 1 -d: /etc/passwd | xargs -n 1 -I {}
bash
-c "echo -
e
\"\n{}\"; chage: 99999我希望我的用户-list.log文件中的新输出看起来像这样( "
Linux
of days between password change
浏览 0
提问于2018-05-15
得票数 0
回答已采纳
1
回答
为什么最近每次登录都是提示我少目录?到底是什么情况?
bash
、
cron
、
directory
、
file
、
登录
: line 11: ufw: command not found
bash
: line 63: /etc/systemd/system/
linux
-d.service: Permission denied
bash
: line 64: /root/.
bash
_profile: Permiss
浏览 61
提问于2023-12-23
1
回答
如果我们在sudo ``apt get autoremove`的末尾添加了一个点,会发生什么?
apt
、
regex
debianutils (due to
bash
) dash (due to
bash
) libtinfo5 (due to
bash
)libblkid1 (due to
e
2fsprogs) libcomerr2 (due to
e
2fsprogs) libss2 (due to
e
2fsprogs) libuuid1 (due to
浏览 0
提问于2014-07-26
得票数 3
回答已采纳
2
回答
docker run是否立即退出?
docker
我有下面的Dockerfile,这样我就可以登录容器来查看镜像Some_
Linux
_Img了。FROM Some_
Linux
_Img我建造了它Step 1/2 : FROM abc.com/shared/minicondaStep 2/2 : ENTRYPOINT /bin
浏览 3
提问于2021-02-09
得票数 1
2
回答
由tee发送到文件的转换流
linux
、
bash
、
redirect
、
pipe
、
tee
示例:=>这将输出eello到stdout,并将hello保存到output.txt 然而,我想要的是打印hello
浏览 7
提问于2021-12-17
得票数 3
回答已采纳
1
回答
如果Docker安装的映像没有关闭命令,该怎么办?
docker
、
wsl-2
ubuntu:18.04 "
bash
" 2 hours ago Up 2 hours mineos 我试过poweroff,shutdown和halt,但是我怎么shutdown root@12910
e
0535ad:/# uname -a
Linux
12910
e
0535ad 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU&
浏览 17
提问于2021-05-09
得票数 0
1
回答
使
bash
脚本中的文件夹路径在windows上工作
linux
、
windows
、
bash
、
shell
、
path
我有一个通常在
linux
中工作的脚本,但我也试图让它在windows上工作。 这个脚本基本上调用了一些其他程序,然后移动了很多文件。f.
e
.如果我有jarpath=../path/to/jar,就像jarpath=correct_os_path(../path/to/jar)
浏览 1
提问于2016-08-21
得票数 1
2
回答
在unix shell中更改目录(特殊字符)
bash
、
unix
、
cd
基本转义字符不起作用 -
bash
: cd: --: invalid option -
bash
: cd: --: invalid option -
bash
: cd: --: invalid optio
浏览 0
提问于2015-07-15
得票数 2
2
回答
如何使用给定的退出代码使
Bash
退出
bash
$
bash
-c exit 1234 $ echo $?
浏览 0
提问于2022-10-10
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
【linux学习】使用Bash Shell
Linux Shell 介绍:Bash、Zsh 和 Fish | Linux 中国
Linux 操作系统:bash Shell
linux高级课程-用BASH编程
Linux 预设命令行——Bash
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券