1.pwd: This command gives you the print working directory : Which means it will give you the path where you are currently standing.
$ pwd
/usrdev/username/ENV4/eodbatch/prd
username@servername:/usrdev/username/ENV4/eodbatch/prd
2.uname: This command will give you the flavor name ,which is Sun Solaris in this case
$ uname
SunOS
3.whoami: will tell you the username with which you are logged in
username@servername:/usrdev/username/ENV4/eodbatch/prd
$ whoami
username
4.uname -a will give you all the details of the flavor in this case its Solaris
username@servername:/usrdev/username/ENV4/eodbatch/prd
$ uname -a
SunOS servername 5.10 Generic_150400-09 sun4u sparc SUNW,SPARC-Enterprise Solaris
5.ls will list down the files and directories in the current path
$ ls
Run_PreviousDay_Batch.sh log4j.properties quantum.batch.runtime.props.ITD-ENV4 startEODScheduler.NB.AU-ENV4 temp
jfe_properties.txt logs startEODScheduler startEODScheduler.NB.ITD-ENV4 temp1
jfe_properties.txt.AU-ENV4 nohup.out startEODScheduler.AU-ENV4 stopScheduler.AU-ENV4 tep
jfe_properties.txt.ITD-ENV4 quantum.batch.runtime.props.AU-ENV4 startEODScheduler.ITD-ENV4 sybinit.err
6.users:will tell you all the users who are currently looged into this server
$ users
imagined imagined imagined username username username username username username mwang10 mwang10
7.who:will give you the details of all the users on the server
username@servername:/usrdev/username/ENV4/eodbatch/prd
$ who
username pts/1 Aug 12 15:41 (ntsydasp1834.pc.internal.macquarie.com)
imagined pts/2 Aug 7 18:25 (aa850026.pc.internal.macquarie.com)
username pts/3 Aug 12 15:10 (ntsydasp1834.pc.internal.macquarie.com)
username pts/5 Jul 23 15:24 (aa903078.pc.internal.macquarie.com)
mwang10 pts/8 Jul 30 15:34 (aa849147.pc.internal.macquarie.com)
mwang10 pts/9 Jul 30 15:35 (aa849147.pc.internal.macquarie.com)
username pts/10 Aug 12 15:41 (ntsydasp1834.pc.internal.macquarie.com)
username pts/11 Aug 12 02:49 (aa878339.pc.internal.macquarie.com)
username pts/12 Aug 12 09:43 (aa104691.pc.internal.macquarie.com)
imagined pts/17 Aug 12 13:15 (msghkapd01.macbank)
imagined pts/18 Aug 8 16:21 (aa850685.pc.internal.macquarie.com)
$ pwd
/usrdev/username/ENV4/eodbatch/prd
username@servername:/usrdev/username/ENV4/eodbatch/prd
2.uname: This command will give you the flavor name ,which is Sun Solaris in this case
$ uname
SunOS
3.whoami: will tell you the username with which you are logged in
username@servername:/usrdev/username/ENV4/eodbatch/prd
$ whoami
username
4.uname -a will give you all the details of the flavor in this case its Solaris
username@servername:/usrdev/username/ENV4/eodbatch/prd
$ uname -a
SunOS servername 5.10 Generic_150400-09 sun4u sparc SUNW,SPARC-Enterprise Solaris
5.ls will list down the files and directories in the current path
$ ls
Run_PreviousDay_Batch.sh log4j.properties quantum.batch.runtime.props.ITD-ENV4 startEODScheduler.NB.AU-ENV4 temp
jfe_properties.txt logs startEODScheduler startEODScheduler.NB.ITD-ENV4 temp1
jfe_properties.txt.AU-ENV4 nohup.out startEODScheduler.AU-ENV4 stopScheduler.AU-ENV4 tep
jfe_properties.txt.ITD-ENV4 quantum.batch.runtime.props.AU-ENV4 startEODScheduler.ITD-ENV4 sybinit.err
6.users:will tell you all the users who are currently looged into this server
$ users
imagined imagined imagined username username username username username username mwang10 mwang10
7.who:will give you the details of all the users on the server
username@servername:/usrdev/username/ENV4/eodbatch/prd
$ who
username pts/1 Aug 12 15:41 (ntsydasp1834.pc.internal.macquarie.com)
imagined pts/2 Aug 7 18:25 (aa850026.pc.internal.macquarie.com)
username pts/3 Aug 12 15:10 (ntsydasp1834.pc.internal.macquarie.com)
username pts/5 Jul 23 15:24 (aa903078.pc.internal.macquarie.com)
mwang10 pts/8 Jul 30 15:34 (aa849147.pc.internal.macquarie.com)
mwang10 pts/9 Jul 30 15:35 (aa849147.pc.internal.macquarie.com)
username pts/10 Aug 12 15:41 (ntsydasp1834.pc.internal.macquarie.com)
username pts/11 Aug 12 02:49 (aa878339.pc.internal.macquarie.com)
username pts/12 Aug 12 09:43 (aa104691.pc.internal.macquarie.com)
imagined pts/17 Aug 12 13:15 (msghkapd01.macbank)
imagined pts/18 Aug 8 16:21 (aa850685.pc.internal.macquarie.com)
No comments:
Post a Comment