symbolic link

No Comments

Symbolic link (also symlink or soft link) is a special type of file that contains a reference to another file or directory in the form of an absolute or relative path and that affects pathname resolution. A symbolic link, also termed a soft link, is a special kind of file that points to another file, much like a shortcut in Windows or a Macintosh alias. Unlike a hard link, a symbolic link does not contain the data in the target file. It simply points to another entry somewhere in the file system. This difference gives symbolic links certain qualities that hard links do not have, such as the ability to link to directories, or to files on remote computers networked through NFS. Also, when you delete a target file, symbolic links to that file become unusable, whereas hard links preserve the contents of the file.

To create a symbolic link in Unix, at the Unix prompt, enter:

ln -s source_file myfile

ln -s source_directory

vi or vim Bash editor for linux

No Comments

VI Editor Commands

Vi has two modes insertion mode and command mode.

The editor begins in command mode, where cursor movement  and copy/paste editing occur.

Most commands execute as soon as typed except for “colon” commands which execute when you press the return key. More

A-Z Bash Commands

No Comments

An A-Z Index of the Bash command line for Linux.
  adduser  Add a user to the system
  addgroup Add a group to the system
  alias    Create an alias •
  apropos  Search Help manual pages (man -k)
  apt-get  Search for and install software packages (Debian/Ubuntu)
  aptitude Search for and install software packages (Debian/Ubuntu)
  aspell   Spell Checker
  awk      Find and Replace text, database sort/validate/index More

Newer Entries