腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
openSuse、
linux
、chmod更改链接的权限
、
、
linux
-gn77:~ #
ls
-l /usr/bin/startup.
sh
linux
-gn77:~ # chmod 770 /usr/bin/sta
浏览 0
提问于2014-05-14
得票数 0
回答已采纳
2
回答
"/bin/
sh
'
ls
-l -R'“vs "/bin/
sh
-c '
ls
-l -R'”
、
、
、
/bin/
sh
'
ls
-l -R' /bin/
sh
-c '
ls
-l -R'
浏览 3
提问于2010-03-23
得票数 2
回答已采纳
1
回答
在启用SonarQube并设置sonar.properties之后,PostGres不会重新启动
、
、
、
、
/bin/
linux
-x86-64/ root@ip-172-
linux
-x86-64]#
ls
[root@ip-172-
linux
-x86-64]# .[root@
浏览 5
提问于2017-06-22
得票数 0
回答已采纳
1
回答
如何将文件复制到在Bash脚本中有空格的路径上?
、
$1在此之前total 4.0Kwolf@
linux
:~$ wolf@
linux
:~$ copy_script.
sh
Usage: /home/wolf/bin/copy_script.
sh
wolf@
linu
浏览 0
提问于2020-12-31
得票数 0
回答已采纳
1
回答
为什么模式"*.so?(.*)“在脚本中产生语法错误,而不是在命令行上产生语法错误?
、
、
$ bash --version...touch a.so a.so.1$ touch a.so a.so.1a.so a.so.1$
ls
$ bash x.
sh
x.
sh
: line 2: syntax erro
浏览 2
提问于2015-06-09
得票数 2
回答已采纳
1
回答
解释器文件的主要用途是什么?
、
、
考虑到我有一个主管的职能在那个hello.
sh
中,我的解释器为当我执行exec程序时,它将像一个选项在
linux
中。使用此解释器文件的主要原因是什么??我认
浏览 1
提问于2014-12-15
得票数 2
回答已采纳
2
回答
如何在C程序中运行带有选项的“
ls
”?
、
我想在
Linux
机器上使用execv()执行命令
ls
-a,如下所示:execv("/bin/
sh
"
浏览 1
提问于2016-07-10
得票数 7
2
回答
linux
_startscript.
sh
: 14:
linux
_startscript.
sh
:语法错误:"(“意外”
我已经将文件传送到服务器,并试图使用以下命令执行它们:
sh
linux
_startscript.
sh
linux
_startscript.
sh
: 14:
linux
_startscript.
sh
: Syntax error: "(" unexpected 我从http://download.rising-world.n
浏览 0
提问于2015-12-10
得票数 0
2
回答
用于具有自定义输出的man的bash脚本
、
示例:
ls
- list directory contentstop - display
Linux
= 0 ]echo "manpage does not exist"shift我的输出是:manpage doesnot exist No m
浏览 4
提问于2013-03-03
得票数 3
回答已采纳
1
回答
/untitled.
sh
:找不到命令
、
我正在我的Mac上学习bash:#!/untitled.
sh
sudo: ./untitled.
sh
: command not found 我不知道为什么会有错误,一切都很好。
浏览 0
提问于2018-01-09
得票数 3
2
回答
os.system不允许命令与>一起使用
我可以在
linux
中使用以下命令。但是python os.system不支持这种语法。>>> import os >>> os.system("
ls
> >(tee -a a)")
sh
: -c: line 0: syntax error near unexpected token `>'
sh
: -c: line 0: `
ls
> >(tee
浏览 2
提问于2017-06-11
得票数 0
2
回答
在shell脚本中,我想要访问其他命令提供的输入
、
、
、
、
我正在摆弄shell脚本,并试图让我的脚本接受来自另一个命令的输入,比如
ls
。名字是这样的:
ls
| ./example.
sh
我尝试从example.
sh
中访问输入 #!/example.
sh
poo
浏览 15
提问于2019-09-11
得票数 0
1
回答
将shell脚本从Solaris 10迁移到RHEL 7.5
、
、
、
来源环境:SunOS machine1 5.10 Generic_150400-63 sun4u sparc SUNW,SPARC-Enterprise/目标环境:/rootlrwxrwxrwx. 1 root root 4 Jul 16 12:10 /bin/
sh
-> bash $ cat/et
浏览 0
提问于2018-11-14
得票数 -1
2
回答
如何在bash脚本中强制执行命令
、
"但看起来并没有运行
ls
并将结果存储在$files中,而是用
ls
替换了${files},我现在的情况与我在第一个代码示例中的情况相同。如何在files=
ls
部分代码中强制外壳程序运行
ls
命令?更新$ uname -a
Linux
laptop 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018 x86_64 x86_64 x86_64 GNU/<e
浏览 73
提问于2018-08-27
得票数 1
回答已采纳
1
回答
"
sh
-c“是什么意思?
当我想从groovy代码中调用外壳命令时,比如"
ls
“或" dir”,有人说在
linux
上应该加上"
sh
-c“,在Windows上应该加上"cmd -c”,所以应该是"
sh
-c
ls
“或"cmd -
浏览 3
提问于2014-03-09
得票数 1
2
回答
etcd使用什么操作系统?
、
ls
不起作用
sh
:
ls
: command not found
sh
-5.0# cat /etc/os-release
sh
-5.0# apt
sh
: yum: command not fou
浏览 1
提问于2021-09-13
得票数 0
回答已采纳
1
回答
如何列出在shell脚本(或某事物)期间执行的所有进程。就像那样)跑
、
、
/bin/
sh
sudo apt-get install ninjag++cplusplusldperl
浏览 3
提问于2014-10-13
得票数 0
回答已采纳
1
回答
Postrm脚本无法执行
、
、
这里有一个使用最小postrm脚本的错误示例:Reading package lists...E: Sub-process /usr/bin/dpkg returned an error code (1)echo "Post rm&q
浏览 0
提问于2022-06-21
得票数 2
回答已采纳
1
回答
rpm +解压缩文件在rpm安装后怎么办?
注:在/usr/src/redhat/ test.
sh
下定义的 BUILD RPMS SOURCES SPECS SRPMS[root@
linux
/usr/src/redhat]#
ls
SOURCES [root@
linux
/usr/sr
浏览 0
提问于2011-04-14
得票数 0
回答已采纳
2
回答
Schrödinger指纹刀
、
、
sh
-4.2$ pwd
sh
-4.2$
ls
-l f
sh
-4.2$ file32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/
Linux
/f
sh
: ./f: N
浏览 0
提问于2013-01-23
得票数 4
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
红帽Linux技术-ls命令
Linux:ls命令如何使用
Linux 常用命令之-ls 命令
Linux ls 命令的 20 个实用范例
Linux下 ls 命令的高级用法8例
热门
标签
更多标签
云服务器
ICP备案
对象存储
实时音视频
即时通信 IM
活动推荐
运营活动
广告
关闭
领券