Archive for the ‘UNIX’ Category

Unix Terminal Colors

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: [...]

Creating a linked file in UNIX

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

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

solaris

Solaris Mount an ISO CD Image via lofiadm: Solaris Mount an ISO CD Image.

How to mount a windows share in Linux

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

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

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

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

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)

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 [...]

Powered by WordPress | Shop Free T-Mobile Phones Online | Thanks to Verizon Phones without Contract, MMORPG Games and Sell Car

Switch to our mobile site