Basic vi Commands Unix Visual Editor

Basic vi Commands Unix Visual Editor What is vi? The default editor that comes with the UNIX operating system is called vi (visual editor). [Alternate editors for UNIX environments include pico and emacs, a product of GNU.] The UNIX vi editor is a full screen editor and has two modes of operation: Command mode commands which cause action to be taken on the file, and Insert mode in which entered text is inserted into the file. In the command mode, every character typed is a command that does something to…

Read More

CHMOD Options

CHMOD Options: -c, –changes Print info about files that are changed -f, –silent, –quiet Do not notify user of files that chmod cannot change (stops chmod printing warnings on the console) –help Prints the help message -R, –recursive Traverse subdirectories recursively, apply changes (meaning chmod will change the file permissions of all the files & dir’s in the below directories) –reference=filename Change the permissions to match those associated with filename (it will change the permissions t o match those of the specified file name -v, –verbose Print info about each…

Read More