腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
不能将shell从zsh更改为
bash
?
、
、
参考资料:将shell从zsh更改为
bash
wolf@
linux
:/home/wolf $ echo $SHELL wolf@
linux
:/home/wolf $ 第二次尝试wolf@
linux<
浏览 0
提问于2021-01-02
得票数 4
1
回答
git-
bash
窗口标题问题
、
我启动了一个git-
bash
窗口,并输入以下命令:4.4.23(1)-releasecd isa shell builtingit-
bash
~/tmp$ git-
bash</em
浏览 0
提问于2021-11-25
得票数 1
回答已采纳
2
回答
在Windows计算机上,Git
Bash
和
Linux
之间的关系是什么?
、
、
我已经在我的Windows机器上安装了Git
Bash
。它的行为与正常的命令提示符非常不同。 为什么会有这么大的不同?它的行为似乎像
Linux
。它只是类似于
Linux
的编写命令的样式,还是包含在Git
Bash
中的
Linux
?
浏览 0
提问于2015-09-15
得票数 5
回答已采纳
2
回答
如何在另一个eval块中使用shell变量
、
、
aarch64" ] && echo "arm64" || echo $ARCHFLAG) && curl -sL "https://get.helm.sh/helm-v${HELM_VERSION}-
linux
-${ARCH}.tar.gz" | tar -xvz && \
浏览 7
提问于2022-08-30
得票数 0
回答已采纳
2
回答
如何在编写
bash
脚本时区分
Linux
和Windows 10
bash
、
我需要有单独的信任,这取决于我所处的"
Linux
“( Windows 10
Linux
子系统还是实际
Linux
)。 lsb_release
浏览 3
提问于2016-08-05
得票数 7
回答已采纳
1
回答
unix中读取文件的差异
、
我的文件内容是下面的脚本读取文件的内容,一个使用for循环,另一个使用while循环。#/usr/bin/
bash
-4.4$
bash
aa.
bash
linux
浏览 4
提问于2018-04-05
得票数 1
1
回答
意外的token `newline'\n/bin/snowsql-1.2.0-
linux
_x86_64.
bash
ansible snowsql
、
、
>'"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
回答
如何从">/dev/tcp/ip/port“中删除”连接拒绝“行
开放港open闭港
bash
: connect: Connection refused
bas
浏览 0
提问于2020-05-23
得票数 1
回答已采纳
1
回答
Bash
在登录时抱怨“没有命令”
、
我在/etc/
bash
_completion.d/中有一个名为"upstart“的文件,内容如下:_upstart_jobs() initctl list|awk '{print $1}'|sort -u令人困惑的部分是have initctl &&行,我已经配置了
bash
浏览 6
提问于2014-08-11
得票数 0
1
回答
在windows 10上找不到docker-machine命令
、
、
我最近在windows10中使用git
bash
安装了docker机器,网址如下:https://github.com/docker/machine/releases/tag/v0.16.2 当我在git
bash
上运行" docker -machine version“命令时,它工作正常,并且给出了docker机器的当前版本,但当我在命令提示符上运行相同的命令时,它无法识别该命令
浏览 195
提问于2020-06-17
得票数 1
1
回答
Stdout / stderr重定向无法防止/dev/tcp/host/port重定向错误
、
、
user@
linux
:~$ randomcommanduser@
linux
:~$ user@
linux
:~$ randomcommand2> /dev/null&>user@
linux
:~$ 但是,当我试图对不同的命令
浏览 0
提问于2020-02-05
得票数 2
回答已采纳
1
回答
在传递零即成功时命中
bash
语句
/bin/
bash
if $x; new_session="setsid" echo $new_session
浏览 4
提问于2016-11-18
得票数 0
回答已采纳
1
回答
vscode/Python /无法访问环境变量
、
、
、
、
我很确定我已经正确地设置了它,因为AERPL产生了正确的输出,但是当我使用我的终端(Git-
bash
)或代码运行程序时,它们不能访问环境变量,只会说出一个错误。
浏览 8
提问于2021-02-21
得票数 1
回答已采纳
1
回答
编译U时出错
、
、
/bin/
bash
: arm-
linux
-gcc: command not founddirname: missingGenerating include/autoconf.mkGenerating include/
浏览 0
提问于2015-09-29
得票数 2
回答已采纳
1
回答
无法在Ubuntu 16.04上安装libdgiplus
、
、
: Depends:
linux
-image-4.4.0-141-generic but it is not going to be installed-
bash
: The: command not found-
bash
bash
:
linux
-source-4.4.0:
浏览 0
提问于2019-01-11
得票数 1
1
回答
在复制二进制及其依赖项之后,` `chroot`‘
bash
无法工作
、
、
操作系统: Debian首先,复制/bin/
bash
:$ sudo cp /bin/
bash
/mychroot/bin/$ sudo ldd /bin/
bash
libtinfo.so.6 => /lib&
浏览 0
提问于2023-05-21
得票数 0
4
回答
我可以在不修改FreeBSD的情况下运行
Bash
脚本吗?
、
、
、
= "
bash
”脚本
Bash
脚本通常是#!/bin/sh在FreeBSD中,/bin/sh不是
bash
,它是真正的sh 因此,如果我想在FreeBSD中使用
Linux
脚本,并且在shell中运行/script.sh,它将以"sh“而不是
Bash
运行
浏览 0
提问于2012-08-05
得票数 8
回答已采纳
3
回答
我应该如何版本控制我的
bash
配置文件?
、
、
因此,我对版本控制非常满意,我只是想开始跟踪
bash
配置文件的版本:~/.
bash
_profile,它的另一个好处是能够在GitHub上共享我的各种别名。假设我的.
bash
_profile文件需要留在我的主目录中(我不能像普通文件那样单独地将它包装在目录中来跟踪它),那么最好的方法是什么呢?
浏览 0
提问于2017-02-25
得票数 12
回答已采纳
1
回答
Linux
与MacOS的
bash
差异
、
、
、
下面的脚本包含带有反向引用的regex:在
Linux
上:
Linux
#9-Ubuntu SMP Fri Apr 10 21:10:36 UTC 2020GNU
bash
, version 5.0.17(1)-release(x86_64-pc-
linux
-gnu) $
b
浏览 2
提问于2021-12-28
得票数 0
1
回答
Bash
3.2正则表达式在使用=~时不匹配
、
它在GNU版本4.2.24(1)-release (x86_64-pc-
linux
-gnu)上运行,但不适用于GNU,版本3.2.25(1)-release (x86_64-redhat-
linux
-gnuecho "value of
BASH
_REMATCH : " $
BASH
_REMATCH下面是GNU的输出,版本4.2.24(1)-release (
浏览 1
提问于2013-03-06
得票数 2
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
【linux学习】使用Bash Shell
Linux Shell 介绍:Bash、Zsh 和 Fish | Linux 中国
Linux 操作系统:bash Shell
linux高级课程-用BASH编程
Linux 预设命令行——Bash
热门
标签
更多标签
云服务器
ICP备案
云直播
对象存储
腾讯会议
活动推荐
运营活动
广告
关闭
领券