what are the different types of shells used in Unix and their uses
132304
There are all used as batch scripts and user inputs. Portability and user preferences is the reason people choose different ones.\n\nsh, csh, ksh\nash, bash
557517
I am changing my answer - I misunderstood it -\n\nUse the second form with the arg " " when you do not want to supply an option to grep.
438730
what kind of info are you looking for? I use nslookup for most everything or the unix host command.\n\nPS\nforeign registries need to be specified for low-level ns searches.
538965
list...\nhttp://www.dirfile.com/freeware/dictionary.htm\n...
617233
gethostbyip()  - thats a perl module right ???\n\nshould be able to pipe each line of the tail into a little perl program where you call the module subroutine and display it to the terminal . . . \n\ntail access.log | little_program.pl\n\n\nyou can forget the gethostbyip stuff and maybe just use the linux shell command\n\nnslookup host \n\n\n\nor something like that
481777
1) You CAN  use  .profile  file under your home directory.\n\n2) You can set the environment variables in:\n\n   If you are using  ksh ( Korn Shell ) , then  in .kshrc\n                               csh  ( C Shell )     , then  in .cshrc\n\n3) Use appropriate commands for different shells:\n  set or setenv ( within the .profile or .kshrc or .cshrc )\n\n4) If its different shell ( for eg. bash , tcsh , etc ; then check the\nman pages =>  $man tcsh )\n                \n5) You may also        check these files:    .login\n                                                                   .logout\n\n\nhth\n\nVETRI\n\nSoftware Engineering Consultant - ( IBM Rational Tools & Open Source Tools)\n\nGlobal Software Engineering ( GSE )\nSingapore\n\nVetri AT Global-Software-Engineering  DOT com
74646
use the cacls command.\n\nStart > Run > CACLS /?\n\nThe above command will display the help and file syntax.
214829
Arp \n\nAssoc \n\nAt \n\nAtmadm \n\nAttrib \n\nBatch files \n\nBootcfg \n\nBreak \n\nCacls \n\nCall \n\nChange \n\nChcp \n\nChdir \n\nChkdsk \n\nChkntfs \n\nCipher \n\nCls \n\nCmd \n\nCmstp \n\nColor \n\nCommand shell overview \n\nComp \n\nCompact \n\nConvert \n\nCopy \n\nCprofile \n\nCScript overview \n\nDate \n\nDefrag \n\nDel\n\nDir \n\nDiskcomp \n\nDiskcopy \n\nDiskPart \n\nDoskey \n\nDriverquery \n\nEcho \n\nEndlocal \n\nEventcreate \n\nEventquery \n\nEventtriggers \n\nEvntcmd \n\nExit \n\nExpand\n\n\nFc \n\nFilter commands \n\nFind \n\nFindstr \n\nFinger \n\nFlattemp \n\nFor \n\nFormat \n\nFsutil \n\nFtp \n\nFtp subcommands \n\nFtype \n\n\nGetmac \n\nGoto \n\nGpresult\n\nGpupdate \n\nGraftabl \n\n\nHelp \n\nHelpctr \n\nHostname \n\n\nIf \n\nIpconfig \n\nIpseccmd \n\nIpxroute \n\nIrftp \n\n\nLabel \n\nLodctr \n\nLogman \n\nLpq \n\nLpr \n\n\nMacfile \n\nMkdir (md) \n\nMmc \n\nMode \n\nMore \n\nMountvol \n\nMove \n\nMS-DOS subsystem configuration commands \n\nMsiexec \n\nMsinfo32 \n\n\nNbtstat \n\nNet services overview\n\nNet services commands \n\nNetsh command overview \n\nNetsh commands for AAAA \n\nNetsh commands for DHCP \n\nNetsh diagnostic (diag) commands \n\nNetsh commands for Interface IP \n\nNetsh commands for RAS \n\nNetsh commands for Routing \n\nNetsh commands for WINS \n\nNetstat \n\nNslookup \n\nNslookup subcommands \n\nNtbackup \n\nNtcmdprompt \n\nNtsd \n\n\nOpenfiles \n\n\nPagefileconfig \n\nPath \n\nPathping \n\nPause \n\nPbadmin \n\nPentnt \n\nPerfmon \n\nPing\n\nPopd \n\nPrint \n\nPrncnfg \n\nPrndrvr \n\nPrnjobs \n\nPrnmngr \n\nPrnport \n\nPrnqctl \n\nPrompt \n\nPushd \n\n\nQuery \n\n\nRasdial \n\nRcp \n\nRecover \n\nRedirection operators\n\nReg \n\nRegsvr32 \n\nRelog \n\nRem \n\nRename \n\nReplace \n\nReset session\n\nRexec \n\nRmdir \n\nRoute \n\nRsh \n\nRsm \n\nRunas \n\n\nSc \n\nSchtasks \n\nSecedit \n\nSet \n\nSetlocal \n\nShift \n\nShutdown \n\nSort \n\nStart \n\nSubst \n\nSysteminfo \n\nSystem File Checker (sfc)\n\n\nTaskkill \n\nTasklist \n\nTcmsetup \n\nTCP/IP utilities and services\n\nTelnet commands \n\nTerminal Services commands \n\nTftp \n\nTime \n\nTitle \n\nTracerpt \n\nTracert \n\nTree \n\nType \n\nTypeperf \n\n\nUnlodctr \n\n\nVer \n\nVerify \n\nVol \n\nVssadmin \n\n\nW32tm \n\nWinnt \n\nWinnt32 \n\nWMIC overview\n\n\nXcopy
359994
for a database system you can use something like windows 2003 or windows NT for distributed systems you can use windows NT or linux
66875
CA has an Easytrieve version for Unix, but it's not going to run on a Mac or other small machines.  Besides, the technology is more designed for a larger installation where file definitions are done once and many different users are writing reports.
189544
Looks like it suppose to print properties for a file with the name  you pass as the first arguement\n\nIt appears to be depended on what ls -l <filename> outputs and may not work on all version of Unix.
330960
/*\nOriginal Question:\nI am writing a C program in Solaris environment...if i\nwant to execute some system command i can do it using\nsystem("string to be executed")....but it accepts string\nonly. what if i want to pass some variables to system at\nrun time....suppose i was to use this commands at runtime\n"cat file1 file2 >file3"....how i wud pass the file names?\nany suggestions !  thnx in advance Amardeep Sidhu\n*/\n\n#include <stdlib.h>\n#include <stdio.h>\n\nint\nmain(int argc, char* argv[])\n{\n\n  /* First, get some values into variables */\n\n  char *str1 = "ls";\n  char *str2 = "-l";\n  char *str3 = "/tmp";\n\n  /* One common trick to using "system()" is */\n  /* to "sprintf()" the arguments into a buffer */\n  {\n    char buffer[100];\n    sprintf(buffer, "%s %s %s", str1, str2, str3);\n    system(buffer);\n  }\n\n  return 0;\n}
187023
Use MRTG. It will give you nice graphs on various ports. See http://oss.oetiker.ch/mrtg/\n\nYou can also get Windows based version if you do not have unix boxes.
327372
Basic Linux Commands:\nhttp://www.comptechdoc.org/os/linux/usersguide/linux_ugbasics.html\n\nAn A-Z Index of the Linux BASH command line\nhttp://www.ss64.com/bash/
663087
www.grep.ws/list.html\n\n\nI think
310567
Unfortunately, all of the unix exec functions (execv,execvp,execl,execlp,etc.) have the property that once they exec they lose the local variables and file descriptors of their parent process. In other words, the two file descriptors created by the pipe system call, although they carry over to the child process during the fork, are lost in the exec. \n   In order for prog2 to get prog1's pipe, prog2 could be a part of prog1(some functions never called except when prog1 forks). That way, the child process(prog2) would retain all of prog1's file descriptors(hence, the pipe). A basic idea -\n\n\nif (fork()) {\n     wait();\n}\nelse {\n     prog2main();\n}
164483
You could use either "bc" or "expr", but there's\nnot much point in using both.\n\nHere's a Bourne shell example:\n\n#!/bin/sh\n\nif [ $# -ne 2 ] ; then\n    echo "You need to enter two numeric arguments"\n    exit 1\nfi\n\nsum=`/bin/expr $1 + $2`\necho $sum\n\n\n\nAnd then to test it:\n\n$ add 1 2 3\nYou need to enter two numeric arguments\n\n\n$ add 123 456\n579