Basic Unix commands

Basic Unix Commands

1. vi - vi command is useful to open any file and it will be useful to edit file.

Usage:  vi filename

2. cd - cd means changing directory, cd is useful to enter into any directory.

Usage: cd directoryname
            cd directoryname/subdirectory

3. cat - if we would like display any content of a file we can use cat command, but it will display the content we can not edit the data like vi.

Usage: cat filename

4. chmod - if you would like to change any file permissions we can use chmod command


Comments