腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
如何获取当前运行的shell脚本(cshell
linux
)的路径
linux
Linux
/CSHELL:这不是$PWD。而是脚本(文件)的路径。版本/细节:/tool/pandora/bin/
tcsh
linux
_3.10.0_64lrwxrwxrwx但我没有看到针对
linux
c-shell的版本。
浏览 2
提问于2020-01-24
得票数 0
2
回答
shell中出现未知错误
scripting
、
csh
、
tcsh
/rank lines.inUsage:
tcsh
[ -bcdefilmnqstvVxX ] [ argument ... ].#!/bin/
tcsh
-
f
echo $line 我认为我遇到的问题是第一行#! /bin/
tcsh
-
f
的问题!
浏览 5
提问于2010-05-31
得票数 0
回答已采纳
1
回答
使用bash和
tcsh
的不同脚本行为
bash
、
shell
、
tcsh
我对
Linux
上的shell脚本编程(目前使用的是Ubuntu)非常陌生。我编写了以下简单的脚本(名称为yourName.sh):echo "What is your first name?"echo "What is your last name?": line 3: syntax error near unexpected token 'newline' your
浏览 1
提问于2016-11-01
得票数 0
1
回答
Shuf -在
linux
中对文件内容进行混洗
linux
、
tcsh
我使用了一些
tcsh
代码,其中使用了一个名为shuf的命令:$ echo $version$ unam
浏览 3
提问于2013-07-15
得票数 0
回答已采纳
1
回答
无法从远程服务器获取输出
python
、
pexpect
child = pexpect.spawn ('child.sendline('uname -a') child.expect('[#\:]')[
Linux
] jthimmai@musxoile24:~&
浏览 0
提问于2015-03-13
得票数 1
1
回答
在特定目录中启动
tcsh
unix
、
directory
、
tcsh
tcsh
是否支持通过参数在远程目录中启动自己?>
tcsh
--help
tcsh
6.19.00 (Astron) 2015-05-21 (x86_64-unknown-
Linux
) options wide,nls,dl,al,kan,rh,color,filecdefine environment variable `name' to
浏览 0
提问于2018-08-24
得票数 1
回答已采纳
2
回答
将参数传递给subprocess.Popen()调用的"executable“参数
python
、
subprocess
、
tcsh
我选择传递"/bin/
tcsh
",我不希望
tcsh
读取我的~/.cshrc。print cmd proc = subprocess.Popen(cmd, shell=False
浏览 2
提问于2013-04-03
得票数 2
回答已采纳
1
回答
脚本中的setenv不覆盖在提示符下设置的值。
linux
、
shell-script
另外,我的shell是/bin/
tcsh
。我不打算在bash外壳里用这个。谢谢。
浏览 0
提问于2016-04-08
得票数 0
回答已采纳
1
回答
为什么"ps -p proc1 proc2 proc3“显示"-csh”、"-
tcsh
“和"-/bin/
tcsh
",而"ps -p proc[n]”则分别表示"
tcsh
"?
ps
、
tcsh
、
csh
我使用
tcsh
(而不是csh),并运行pgrep csh | xargs ps -p来了解我为什么要运行csh。00 -csh 1979 pts/4 Ss+ 0:00 -bin/
tcsh
PID TTY TIME CMD 1979 pts/4 00:00:00 <e
浏览 0
提问于2016-11-27
得票数 1
1
回答
如何从bash shell系统运行tsch脚本?
linux
、
bash
、
shell
、
tcsh
所以我有几个
tcsh
脚本与一个昂贵的软件相关联,我必须在bash shell系统上运行它们。这有可能吗?此软件经常需要这些脚本,并且基于
tcsh
。可以同时运行两个shell吗?或者只是在脚本的开头调用
tcsh
shell?或者有没有编译器来翻译shell脚本?我有什么选择?谢谢。
浏览 34
提问于2016-09-23
得票数 0
1
回答
Csh可变膨胀故障
awk
、
csh
、
gawk
我已经创建了一个
tcsh
脚本,其中包含一系列gawk命令,其形式如下:在进行了标准的调用(#!/bin/csh -
f
)之后,我使用了以下命令:在InputFileName中,我继续使用${a}.txt,但它在查找输入文件时甚至不使用$a。它们最初在Cygwin (Windows)上运行良好;现在它们在
Linux
上运行,并出现了问题。
浏览 3
提问于2016-06-06
得票数 0
回答已采纳
2
回答
exec /bin/
tcsh
生成一个"if:表达式语法“。错误
shell
、
tcsh
、
oracle-linux
我们有两台服务器: Oracle
Linux
7.6的测试盒和Oracle
Linux
7.7的生产盒。# exec /bin/
tcsh
没有错误;但是,在生产服务器上:if: Expression Syntax.我们认为生产盒上的
tcsh
包存在问题
浏览 0
提问于2019-08-30
得票数 0
3
回答
csh脚本中的错误
csh
、
tcsh
我正在使用C-Shell,我正在尝试运行此脚本echo $callsTo> ./myscript data在那之后,我想检查数据是否被存储,但我收到了一个不匹配的错误。或空行。我的脚本出了什么问题?
tcsh
浏览 2
提问于2010-05-31
得票数 0
1
回答
忽略启动文件会使启动速度更快吗?
shell
、
unix
/bin/
tcsh
和/bin/
tcsh
-
f
有什么不同?我在运行脚本之前创建环境变量。“
f
”是如何影响的?
浏览 2
提问于2018-03-14
得票数 0
1
回答
为什么我只能从这个脚本中得到一个数字?
scripting
、
csh
、
tcsh
/bin/
tcsh
-
f
Script rankHelper:set line = ($<)cut -d" " -
f
2 ${1} | ./rankHelper &g
浏览 2
提问于2010-06-02
得票数 0
回答已采纳
1
回答
无法在.cshrc中使用源脚本
linux
、
csh
LD_LIBRARY_PATH) then setenv LD_LIBRARY_PATH $ROOTSYS/lib:$LD_LIBRARY_PATH #
Linux
, ELF HP-UX
浏览 9
提问于2012-08-10
得票数 0
4
回答
如何检查正在运行的shell?
bash
、
shell
、
csh
= '/bin/
tcsh
' ) exit这个代码给出了 bash: g.csh: line 7: syntax error
浏览 4
提问于2013-03-22
得票数 0
回答已采纳
1
回答
退出csh shell不会立即中止执行。
shell
、
posix
、
csh
、
tcsh
但是,如果运行
tcsh
-c 'exit 5; echo after exit'; echo $?,我们将得到以下输出(在ubuntu/centos和FreeBSD10.3的
tcsh
上进行测试):0 似乎跳过了exit命令。
浏览 7
提问于2017-03-13
得票数 1
3
回答
如何在不改变对齐的情况下使用
linux
命令将输出从终端写入新文件?
ls
我尝试过使用以下命令将
linux
命令输出写入新文件,但对齐方式各不相同。ls (在航站楼)1m_complete.pl~ current_sample.pl~getp.pl 1m_complete.pl rsdb.
tcsh
current_sample
浏览 0
提问于2016-11-25
得票数 0
回答已采纳
1
回答
如何以
tcsh
作为shell而不是Bash来运行基于
linux
的坞容器?
linux
、
docker
、
shell
to the container, run
tcsh
, and then manually$docker build -t centos-csh:v5。将构建上下文发送到Docker 2.048kB步骤1/
浏览 8
提问于2022-06-30
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
为让Linux代码注释更加和谐 有人提议用“拥抱”替换F**k
用户使用 Linux 的桥梁
松勤软件测试基础
Linux命令自动补全工具,自动补全git、Docker、k8s等命令
Oculus姓F
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券