When using a puTTY or terminal window to a Unix server some people like to set the colors of the text or background, some people dont. Sometimes I like to set the text color to be like to old school Amber monitors. To do this I use following color settings RED: 255, GREEN: 128, BLUE: [...]
Archive for the ‘UNIX’ Category
Creating a linked file in UNIX
November 11th, 2011
Malcolm Chalmers Unix uses links a bit like Windows uses short cuts. Except that the Unix version is more robust. It appears to the system virtually identical to the file it is pointing to. To create a link you need to use the following syntax : #> ln -s
Cron on Linux
November 10th, 2011
Malcolm Chalmers Today I found a very good explaination on how Cron works on linux here : Cron on Linux. It’s well set out and explained. Very helpful.
Mount a ISO file in Solaris
May 26th, 2011
Malcolm Chalmers
Solaris Mount an ISO CD Image via lofiadm: Solaris Mount an ISO CD Image.
How to mount a windows share in Linux
June 23rd, 2010
Malcolm Chalmers 1) Make sure you have following information: ==> Windows username and password to access share name ==> Sharename (such as //server/share) or IP address ==> root level access on Linux 2) Login to Linux as a root user (or use su command) 3) Create the required mount point: # mkdir -p /mnt/ntserver 4) Use the [...]
How to configure NTP on SUN Solaris 10
March 31st, 2010
Malcolm Chalmers cp /etc/inet/ntp.server /etc/inet/ntp.conf edit the ntp.conf file. add server(s), for example: server 0.be.pool.ntp.org server 1.be.pool.ntp.org server 2.be.pool.ntp.org server 3.be.pool.ntp.org svcadm enable svc:/network/ntp SysAdmin: How to configure NTP on SUN Solaris 10.
How to turn on or off colors in bash
February 22nd, 2010
Malcolm Chalmers Type the following command for just this listing, $ ls –color=none Or remove the alias with the unalias command: $ unalias ls via How to turn on or off colors in bash.
Using cpio
February 9th, 2010
Malcolm Chalmers Some files that you get from Oracle download come in cpio format. Here’s what to do with them. First unzip the files: gunzip lnx_920_disk1.cpio.gz gunzip lnx_920_disk2.cpio.gz gunzip lnx_920_disk3.cpio.gz Next unpack the contents of the files: cpio -idmv < lnx_920_disk1.cpio cpio -idmv < lnx_920_disk2.cpio cpio -idmv < lnx_920_disk3.cpio
Prtdiag is Not working in Solaris
February 4th, 2010
Malcolm Chalmers Try running it as root. If this works then check the permisions on /var/run/picld_door The permisions should be set to 444 ie: ls -l /var/run/picld_door Dr–r–r– 1 root root 0 Aug 27 07:40 /var/run/picld_door This is the fix: shell> chmod 444 /var/run/picld_door
ERROR: NMO not setuid-root (Unix-only)
January 22nd, 2010
Malcolm Chalmers Possible Cause : root.sh not run after the EM 10G installation. Fix: Check the permissions and ownership of the nmo and nmb executable in the $ AGENT_OH/bin, where the management agent has been installed: $ ls -al nmo $ ls -al nmb These should be of the form : -rwsr-s— 1 root dba 22465 Apr [...]
RSS Feed
Twitter
Posted in
Tags:

