coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Thursday May 23, 2013


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 35 guests online

Newest Member

nbewwmbxog

Hit Counter
11562099 Visitors

cool Statistics
coolcommands:1338
Categories:83
Total queries:620257
Members:22813





Search coolcommands.com
Search Keyword:


coolcommand

how to test if an open file descriptor n is associated with a terminal device in a shell script
Description

The test command evaluate a condition and, if its value is true, return a zero exit status; otherwise, return a nonzero exit status. An alternate form of the command uses [ ] rather than the word test.

# test -t n

or

[ -t n ]

Note: default value for n is 1.
Example

test -t 1; [ -t 1]

Return to search results

Random coolcommands

coolcommand: procfiles - how to display the open file descriptors of a process in AIX 5L
Example: procfiles 233628
[show me the details]
coolcommand: cllscf - list cluster topology information in HACMP
Example: cllscf
[show me the details]
coolcommand: fdisk - to read a disk label in linux
Example: fdisk -l
[show me the details]
coolcommand: how to enable debug in your NIM client installation
Example: nim -Fo check -a debug=yes [SPOTNAME]
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1160
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris51952
Category AIX49011
Category General UNIX47578
solaris23554
aix22739

Terms of Use
Privacy
Contact


 
coolcommands.com © 2013. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum