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: Copy Paste YANK VI »

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: A Quick Guide to vi »

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: Setting up NX Server for Solaris »

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: mount iso solaris »

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: Change IP address solaris 0 »

mounting solaris

Mounting the new filesystem Following the letter of the law now you should fsck your new filesystem prior to mounting it – feel free. What you really want to do however is mount it so that you check it out. You can actually mount a filesystem on ANY directory, though it ought to be an… Leer más: mounting solaris »