Archivo de la categoría: Nix

xtermc Profile Edit ( macosx terminal problem )

bash-3.00$ vi ~/.profile -bash-3.00$ cat ~/.profile #       This is the default standard profile provided to a user. #       They are expected to edit it to meet their own needs. MAIL=/usr/mail/${LOGNAME:?} export TERM=xtermc

Copy Paste YANK VI

The command ‘Y’ or ‘yy’ copies (yanks) one or more lines. To copy one line, two lines, 10 lines, and all lines to the end of the file, respectively: Y 2Y 10Y yG To paste the text contained in the buffer above (uppercase P) or below the current cursor position (lowercase p), respectively: P p… Leer más »

Categoría: Nix

A Quick Guide to vi

by Wei-Meng Lee 02/21/2003Jaguar includes a few text editors for your editing work. Of these applications, many experienced Unix users will prefer vi (Visual Editor). While users of GUI systems are more familiar with «user friendly» word processors and text editors, vi is a powerful and feature-rich text editor that is lean and efficient. However,… Leer más »

Categoría: Nix

Setting up NX Server for Solaris

Setting up NX Server for Solaris Prepared by: Gian Filippo Pinzari N°: D-405/2-NXS-DOC Approved by: Gian Filippo Pinzari Signature: Date: 20/05/2004 Amended: B Setting up NX Server for Solaris Index Setting up NXServer for Solaris Download Installation Enabling PAM Authentication with NX Download Download the ‘NX Server for Solaris’ package along with the prerequisite ‘NX… Leer más »

mount iso solaris

Given an ISO image in /export/temp/software.iso, a loopback file device (/dev/lofi/1) is created with the following command: lofiadm -a /export/temp/software.iso /dev/lofi/1 The lofi device creates a block device version of a file. This block device can be mounted to /mnt with the following command: mount -F hsfs -o ro /dev/lofi/1 /mnt These commands can be… Leer más »

Change IP address solaris 0

Adding or editing the IP address on a Solaris 10 server is different from the previous versions of the OS (Solaris 9, Solaris 8 etc). In the previous versions of the Solaris Operating System, you need to edit the /etc/hosts file and add/edit the entry for the IP address and the hostname. Example: 192.168.1.1   sun1… Leer más »