04-08-2014
True. They should learn them anyway!
8 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
First I would like to say you run an awesome site. I use it pretty much everyday...
I am a member of a local Jeep Club Virtual Jeep Club - Powered by vBulletin and we run vBulletin Version 3.7.0.
You have a feature we would like to add. In "User CP" -> "Edit Options" you have: Exclude... (3 Replies)
Discussion started by: Ikon
3 Replies
2. IP Networking
In one of Sun docs I found that a new option, -I, is added to the snoop command.This option specifies for the command to use the new IP layer devices instead of the underlying link-layer device to display traffic data. it is used to enhance IP observability.
But in Solaris 10 with release verstion... (0 Replies)
Discussion started by: anando.1980
0 Replies
3. Programming
I hope thi sis simple...
I have a TCL script which has several checkboxes. Is there a way to have one of the checkboxes be a "select all" and select/deselect all of the other boxes?
Can you show me a mini-sample?
Thanks... Scott E. (0 Replies)
Discussion started by: scottwevans
0 Replies
4. Programming
I hope this is simple... (I tried looking for help in the Shell Programming and Scripting thread, but got no responses.)
I have a TCL script which has several checkboxes. Is there a way to have one of the checkboxes serve as a "select all" and select/deselect all of the other boxes?
Can you... (1 Reply)
Discussion started by: scottwevans
1 Replies
5. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
6. Red Hat
How can I disable out of office feature on qmail. We don't want to be use this feature by users.
Especially our boss doesn't want because clients have smartphone so they can answer from everywhere! (0 Replies)
Discussion started by: getrue
0 Replies
7. Post Here to Contact Site Administrators and Moderators
perhaps offtopic.. pity this forum don't have an option 'mark this thread as solved' like some others do.. (2 Replies)
Discussion started by: orange47
2 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
test(1sh5) test(1sh5)
Name
test - condition evaluation command
Syntax
test expr
[ expr ]
Description
The command evaluates the expression expr. If the value of expr is true, the command returns a zero exit status; otherwise, it returns a
nonzero exit status. The command also returns a nonzero exit status if no arguments are specified. The following primitives are used to
construct expr:
-r file True if file exists and is readable.
-w file True if file exists and is writable.
-x file True if file exists and is executable.
-f file True if file exists and is a regular file.
-d file True if file exists and is a directory.
-c file True if file exists and is a character special file.
-b file True if file exists and is a block special file.
-p file True if file exists and is a named pipe (fifo).
-u file True if file exists and its set-user-ID bit is set.
-g file True if file exists and its set-group-ID bit is set.
-k file True if file exists and its sticky bit is set.
-s file True if file exists and has a size greater than zero.
-t [ fildes ] True if the open file whose file descriptor number is fildes (1 by default) is associated with a terminal device.
-z s1 True if the length of string s1 is zero.
-n s1 True if the length of the string s1 is non-zero.
s1 = s2 True if strings s1 and s2 are identical.
s1 != s2 True if strings s1 and s2 are not identical.
s1 True if s1 is not the null string.
n1 -eq n2 True if the integers n1 and n2 are algebraically equal. Any of the comparisons -ne, -gt, -ge, -lt, and -le may be used in
place of -eq.
These primitives can be combined with the following operators:
! unary negation operator.
-a binary and operator.
-o binary or operator (-a has higher precedence than -o).
( expr ) parentheses for grouping.
Note that all the operators and flags are separate arguments to the command. Note also that parentheses are meaningful to the Shell and
must be escaped. In the form of the command that uses square brackets ([]), instead of the word test, the brackets must be delimited by
blanks.
See Also
find(1), sh5(1), test(1)
test(1sh5)