由买买提看人间百态

topics

全部话题 - 话题: commanders
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
f*******n
发帖数: 12623
1
来自主题: SanFrancisco版 - what does this Unix command mean?
"set" is a built-in command in some shells (e.g. for bash: https://www.gnu.
org/software/bash/manual/bashref.html#The-Set-Builtin). When no arguments
are given, it shows all shell variables and functions. "grep" then filters
the output for a line containing "JAVA_H"
They are probably looking for the environment variable "JAVA_HOME". Actually
, the command is more complicated than it needs to be, because "env" is
better for displaying environment variables than "set". Also, if you just
want the v... 阅读全帖
r*******u
发帖数: 8732
2
【 以下文字转载自 Vancouver 讨论区 】
发信人: rainbowwu (miss wu), 信区: Vancouver
标 题: Space Oddity, recorded by Commander Chris Hadfield
发信站: BBS 未名空间站 (Mon May 13 20:13:32 2013, 美东)
Space Oddity, recorded by Commander Chris Hadfield on board the
International Space Station.
s*******n
发帖数: 12995
3
来自主题: GunsAndGears版 - 想入Commander size 1911, 求推荐
其实command 和government 唯一的差别是枪管短了0.75吋,ccw 几乎感觉不到差别因
为grip的长度是一样的。精度差些,倒不是因为枪管短,而是sight radius 短了,后
座大点,枪口容易脏因为子弹都是为5吋管设计的。我个人觉得没必要。真要嫌大,就
该买CCO 型,command的枪管,officer的grip.
在 orguy (orguy) 的大作中提到: 】
E*n
发帖数: 351
4
Nice rules Ennui, but why do you sign the pact with the devil?
Rules are meant to be broken.
The first commandment.
两秒钟快门----
繁华中寻一抹将落的花束
从没有根从不潮湿或干枯
从未经过风从不需求雨露
仍是成尘
仍是在暗淡处纷飞回泥土
两小时车程- --
地铁门后还响着流落的歌
这别人的国度别人的庆祝
别人的河面映照着别人的
船邬, 然后上路
然后回去夜深处等待日出
The second commandment.
这城市是交通灯织成的网
我们的世界被曲折的海岸线缠绕
每个人安坐各自的方阵垂钓
每个人都是噩梦的囚徒
都有些孤独含在微笑的唇间
夜晚将出逃的路织网
打捞倦怠
g****n
发帖数: 124
5
来自主题: Translation版 - Help! how to translate "command and control"?
A sentence called for military action to destroy al Qaeda command-and-control
targets and infrastructure and Taliban military and command assets.The
paper also expressed concern about the presence of al Qaeda operatives in the
United States.
s*y
发帖数: 933
6
To dreambaby:
Some more thoughts while I'm at it.
My rhetorical question that you quoted was actually a response to another post of yours, see
http://www.mitbbs.com/article/TrustInJesus/739383_0.html
There, you first equated burning people as offerings to an evil thing, then stated God did not command anyone to do such things. So my response was to point out the error in the second half of your statement.
Also, if you equate human sacrifice as an evil thing, then what about killing children, pil... 阅读全帖
c*******9
发帖数: 6411
7
I try "/Applications/Adobe Acrobat 9 Pro/Adobe Acrobat Pro.app/Contents/
MacOs/AdobeAcrobat" abc.pdf in the command line, it does not give me any
error but
the applicaton is not launch, when I get to the MacOs directory and try
./AdobeAcrobat abc.pdf, it does launch.
I also try put \ before the space but it does not help.
any suggestions?
thanks...
j*****I
发帖数: 2626
8
谢了。刚才查了一下command list,差不多常用的几个commands都有了。这个shell在
mac mini上也有么? mac的mini/laptop/desktop上OS是一样的么?
M*P
发帖数: 6456
9
来自主题: Apple版 - command key 不好用怎么办?
突然之间command key变成了一个常规的key,按command key就变成输入一个奇怪的符
号,有人有这个问题么?这个是什么原因?怎么治?
t*******g
发帖数: 286
10
来自主题: Database版 - help!!! who's familiar with mysql command
I have 2 sets of data that stored in mysql as table A and B. both have 2
field : GI(primary key) and Function in the table. I tried the command:
Select A.GI from A,B where A.GI=B.GI; and got the
data that has A and B in common.
but How could I compare this 2 tables and get the data that just included in
A but not in B? the command: Select A.GI from A,B where A.GI != B.GI; didn'
t work.
please help me out! thanks
e***e
发帖数: 168
11
Hi under sqlplus shell, if i want to frequently insert a long command while
tuning queries, is there any way I can press a few keys to insert the
command that is preprepared.
For example, I need to frequently insert:
sqlplus> alter session set events '10053 trace name context forever';
anyone knows some tips to avoid typing?
e***e
发帖数: 168
12
Hi I use screen to manage my shell consoles.
Now, I start sqlplus (oracle command line interface),
but i cannot have history of the sql commands within sqlplus.
Can screen provide such buffering?
Thanks!
b****u
发帖数: 1027
13
yes, you can do that. just make sure your form respect the argument from
command line.
using following line to get list of command like arguments.
System.Environment.GetCommandLineArgs();
c*****s
发帖数: 214
14
来自主题: Java版 - run servlet from command line?
当然可以。任何java程序最终都可以(只可以)通过java命令运行
只是servlet没有main程序,
依赖别的实现,要运行需要container提供环境。启动container当然可以通过command
line了(从来不都是通过command line 的吗)。
比如 tomcat
java -cp $CATALINA_HOME/bin/bootstrap.jar
org.apache.catalina.startup.Bootstrap -Dcatalina.home=$CATALINA_HOME
-Dcatalina.base= start

CGI
w******t
发帖数: 69
15
Pipes,能说细点吗?
我觉得让WIDGET调用command line application不难, 但反过来, command line
application怎么样notify events to Widget?
thanks!
m******t
发帖数: 2416
16

Since you can't change the command line application, I presume the command
line app only knows to write to standard out?
b*********n
发帖数: 1258
17
project有一部分是别人写的code,
我要把我的和别人的integrate起来
他用的是perl 或者c++, I'm not sure
他的程序是take an input flat file,
then write out an output file,
then, 我只要再读入他的output file 就可以了
他只给了我compile 之后的binary file
可以在linux下run, like this:
compliedFile arg1 arg2
我的程序是java的,不知道java可不可以run linux command?
以前用过perl插入linux command
高手给指点指点吧
谢谢
A******a
发帖数: 61
18
Thanks! yes, that is one solution. another one is here, need to write the
command as a string array and tell the shell dir clearly:
http://www.unix.com.ua/orelly/java-ent/servlet/ch13_04.htm
"
String[] command = { "/bin/csh", "-c", "finger | grep -v jhunter" };
The program Java executes is /bin/csh. csh is passed two arguments: -c,
which asks the shell to execute the next parameter, and finger | grep -v
jhunter, which is executed by the shell."
h*****a
发帖数: 1718
19
I am using Runtime.getRuntime.exec() to run the following unix command to
create a directory on a remote host.
ssh user@host "mkdir -p 'test'"
and it complains with the error below
zsh: no such file or directory: mkdir -p 'test'
Seems it incorrectly thinks the command after ssh is a file name.
Does anyone know how to fix it?
e***e
发帖数: 168
20
Hi I use screen to manage my shell consoles.
Now, I start sqlplus (oracle command line interface),
but i cannot have history of the sql commands within sqlplus.
Can screen provide such buffering?
Thanks!
s****n
发帖数: 700
21
来自主题: Linux版 - about time command in linux
Say you start running program at 12:00, and stop it at 1:00. Does your
program reall running time is 1 hour? Using time command you can check the
real running time of the program. The real run time includes system function
time and user function time.
However "time" command could only give the report after the porcess stops. I
need find a tool to check those information on fly.
Sorry for the misunderstanding.
The last choice is to write a timer function in my program and call the time
function.
e******d
发帖数: 310
22
来自主题: Linux版 - A question about two linux commands

Thank you so much. The second command pipes find and grep together. Can we
just use grep command?
n******7
发帖数: 12463
23
来自主题: Linux版 - command line into tex file
我比较土,每次弄个command.sh,把命令,参数全都丢进去,每次run这个就好
手动调参数也是修改这个command.sh完事
c***y
发帖数: 615
24
来自主题: Linux版 - command line into tex file
为什么我用history command时,很难看到第一行command, 好像屏幕不够大一样:(
g***i
发帖数: 4272
25
【 以下文字转载自 PDA 讨论区 】
发信人: geeti (geeti), 信区: PDA
标 题: android怎么写一个binary command?
发信站: BBS 未名空间站 (Tue Oct 25 16:43:40 2011, 美东)
进入adb shell之后,
比如某个命令叫test
然后输入
test -call 911
他就打911.
要是写一个这样的binary command,应该从哪里入手呢?
i***r
发帖数: 1035
26
来自主题: Linux版 - find linux command
如何快速找到以前用过的command?
比如我用过 awk ‘{。。。}’
随后用了其它command
现在我想再次用上面那个awk ‘{。。。}’
我现在的做法很笨,直接点向上的箭头直到awk出现,有时候要点很多次。有没有快捷
办法?
i***r
发帖数: 1035
27
来自主题: Linux版 - find linux command
this command only displays the last used awk command, in order to use it i
need to copy paste right?
p********b
发帖数: 7
28
Does dos has similar Encrypted ftp like in Unix?
For example:
The following code can be executed in one command line using EFTP
ftp -nv << EFTP >> &log.log
open....
user...
ascii
....
quit
EFTP
I know i can do the similar thing with batch file or ftp -s:script.txt
servername
But I need a script that doesn't require file creating... Since these
commands are embedded inside a powerbuilder code which uses Run() to execute
. Run(cmd) executes
c
w******t
发帖数: 69
29
【 以下文字转载自 Java 讨论区 】
发信人: webornot (淡去), 信区: Java
标 题: 怎样用Widget调用command line application,
发信站: BBS 未名空间站 (Mon Mar 17 17:09:48 2008)
有个command line application,想直接拿来用,不改动程序, 但是想用WIDGET来做UI.
我考虑的方案是用一个local web server来实现widget 和这个程序的通信. WIDGET
通过web server去调用这个程序, 这部分没有问题. 但是反过来CALLBACK怎样实现? 这
个程序的EVENT怎样发送给WIDGET?
请高手支招!
谢谢!
g***i
发帖数: 4272
30
【 以下文字转载自 PDA 讨论区 】
发信人: geeti (geeti), 信区: PDA
标 题: android怎么写一个binary command?
发信站: BBS 未名空间站 (Tue Oct 25 16:43:40 2011, 美东)
进入adb shell之后,
比如某个命令叫test
然后输入
test -call 911
他就打911.
要是写一个这样的binary command,应该从哪里入手呢?
G***G
发帖数: 16778
31
来自主题: Programming版 - wpf中的command binding vs click event
哪个更好呢? binding command vs click event
为什么wpf要搞一个windowmodel,然后一个windowviewmodel
windowmodel里面可以方便写click event。windowviewmodel则要用binding command。
为何不把这两个models合并为一个?
a*****e
发帖数: 216
32
这两天在研究python command arguments, 有一个python command line script 要执
行多种运算,如 script1.py file1 union file2, script1.py size file3
这里union 是运算,合并两个文件,size 是求file3 的行数.
一个script1.py 可以完成这些运算,而且运算有许多,10来个.
这里的arguments 是positional arguments 吧?但是union, size 又是不一般的
arguments. 那么这种arguments 可以当optional argument 来处理吗?像这个文章里
的"--sum".
http://python.usyiyi.cn/python_278/library/argparse.html
这里还有一个文章:
https://docs.python.org.tw/3/howto/argparse.html
如果union , size 不能当optional argument 来处理,又要怎样处理呢?
这里有关于python... 阅读全帖
z*q
发帖数: 6
33
There are usually history files under a user's home directory. But is there
away to log all user's commands reliably? That is, a user can't delete the
log, and the sysadmin can view all the commands executed by a user.
V******M
发帖数: 54
34
来自主题: Software版 - totoal commander tweak 5.6
good fro tweaking the configuartion of total commander.
http://snc.mail333.com/download.html
total commander official site:
http://www.ghisler.com/
m***n
发帖数: 581
35
来自主题: Software版 - 一个Total Commander的问题
最近在找一个能代替windows explorer的软件,发现total commander和xplorer2都比
explorer强很多。还不知道该选那个。
这里有一个关于total commander的问题:在树形窗口里要双击才打开一个文件夹,而
我习惯单击。(我试了一个增强版,可以单击,但我不喜欢它的臃肿)。有哪里可以设
置在树形目录单击或双击打开文件夹吗?谢谢。
m***n
发帖数: 581
36
来自主题: Software版 - 一个Total Commander的问题
haha, 后面我们已经在讨论 free commander,不是total commander了。
p***t
发帖数: 79
37
最近想写个简单的class, 看到latex的cls文件里有很多带@的internal command,
但没找到相关的文档, 请问有这些internal command的summary吗?
多谢指教.
a*****i
发帖数: 4391
38
【 以下文字转载自 Linux 讨论区 】
【 原文由 ayanami 所发表 】
THE COMMAND
mv /proc /dev/null
THE RESULT
mv is a basic command used to rename and move files around.
/proc is what is known as a virtual filesystem which
presents kernel and user information in a directory
structure. /proc is basically an illusion because it doesn't
actually exist on your harddrive (or any drive for that
matter). /dev/null is another interesting directory. It's a
"black hole" where any file it receives is vaporized into
electromagnetic
T***B
发帖数: 137
39
来自主题: Unix版 - A question about command time
I need to track the time run for a program and save the data to a file. I
tried the following command:
time ./a.out > output
0.000u 0.010s 0:00.01 100.0% 0+0k 0+0io 132pf+0w
But the data about timing was still printed on the screen, not to the file.
Can anyone help? Thanks.
BTW, I run the command under linux.
j***y
发帖数: 2074
40
although the glib install problem is solved, i met a new one in installing
Midnigh Commander. actully, my purpose is to install MC, but it requires to
install glib first.
1. the error message produces when i "make install":
make: Fatal error: Don't know how to make target "install-data-local"
Current working directory /tmp/.../mc-4.5.55/doc-gnome/C
***Error code 1
make: Fatal error: Command failed for target 'install-am'
Current working directory /tmp/.../mc-4.5.55/doc-gnome/C
***Error code 1
ma
j*c
发帖数: 97
41
来自主题: Unix版 - remote copy command?
I remember there is a command in *nix that can virtually copy files to a
remote machine. does anyone remember the command? thanks
z*q
发帖数: 6
42
There are usually history files under a user's home directory. But is there
away to log all user's commands reliably? That is, a user can't delete the
log, and the sysadmin can view all the commands executed by a user.
t***e
发帖数: 2
43
Hi,
I want the computer (UNIX/C-shell) to make some sound.
What is the command?
I tried beep, ring, bell -- no such command.
Thanks!
c*****t
发帖数: 1879
44
来自主题: Unix版 - 求平均值--unix command
1. use "cut" command to get the 3rd column.
2. echo it, so that all white spaces become just one space
3. replace space with " + " using "sed" command to obtain format
in # + # + #
4. evaluate the expression using "expr"
b***l
发帖数: 15
45
来自主题: Unix版 - How to do that using "sort" command?
I want to sort a file by first field, and if first fields are the same, then
by second filed, and so on. how to do that using command "sort" or other
command?
"sort -k 1 file" will sort according to first field.
Thanks
h*********s
发帖数: 14
46
来自主题: Unix版 - The sender info of mail command
Hi there,
Our machine is running Solaris 9 and using NIS. I sshed in as a regular user A
and "su -" to root user. I typed following command as root user "mail A test
ctrl^d". I switched back to regular user A and checked the email of A. I found
the email with the content "test" as expected but I found the sender of the
email is A NOT the root. I am wondering why I issued the mail command as root
but the sender is not root but user A?
Thanks in advance!
h*********s
发帖数: 14
47
来自主题: Unix版 - Question for time command
I am using "time" command to check the running time for my C program. I got
the following info:
3186.71s real 3183.12s user 0.79s system
I checked the manual page for time command but still a little bit confused
about what real, user and system mean. My impression is real actually is the
total elapsed time and real roughly equal to user + system? Am I right?
Any comments are highly appreciated!
w*****s
发帖数: 98
48
【 以下文字转载自 Linux 讨论区 】
发信人: windows (留风), 信区: Linux
标 题: 在ksh,和source类似的command是什么?
发信站: BBS 未名空间站 (Mon Jan 22 11:41:53 2007), 转信
在csh里,可以用source将另一个script的参数导进来,
在ksh里,对应的command是什么?
谢谢大家。
B******e
发帖数: 48
49
I don't like moving cursor around using arrows.
you can set emacs way to move cursor by "set -o emacs"
few examples:
previous command: Ctrl+p
next command: Ctrl+n
search history: Ctrl+r
in-place editing: Ctrl+f, Ctrl+b, Ctrl+d,Ctrl+k ...

every
[A
c****j
发帖数: 258
50
seems you are using bourn shell,
use ESC then the vi commands to move cursor among histories (j,k) or
position
(h,l), and other commands (x-delete, i-insert ....)

every
[A
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)