Friday, November 22, 2019

Linux Red Hat Commands

                                                            Download pdf


1.      who = It will display a list of users who are connected with their time and
          priority. If priority is 1 Log in , If 0 log Out.

2.      who am i = It will display current login details.

3.      stty = It will display the status of machine.

4.      tty = It  will display terminal where current user is working.

5.      cd = It is used for different purpose.

          a.      only Cd is type = back to prev folder
          b.      cd folder-name it will call specific directory which is already available.
          c.      cd folder-names it will create new folder

6.      pwd = It will display current path

7.      ls = It will display all the available files and folder in a specific location.

8.      ls -l = It will display all files with their permission and properties.
           Permission:
                    read(1) write(2) Execute(4)

9.      mkdir <dirname> = to create a new directory

10.   cat>file_name = to create txt file

11.   gedit filename = to create wordfile and other format file

12.   rm filename = remove file

13.   rm -f filename = remove file forcely

14.   rm -r dir = remove directory

15.   rm -rf dir = remove dir forcely

16.   w = will display current login user

17.   ps = to display current process

18.   Top =to display top files

19.   Touch filename = create file

20.   Gedit filename = edit file

21.   Cp file1 file2 = used to copy file from 1 to 2 file

22.   Mv file1 file2 = to move file1 to file 2

23.   Mv -r dir dir = to move directory

24.   Cp -r dir dir = copy dir

25.   Tail = used to display content last 10

26.   Head = used to display first 10 output

27.   Changing Permission
i)       Chmod rwx file-name                     
ii)      Chmod 777 file-name                          
iii)    Chmod 735 filename

Owner User Group
1         2        4

No comments:
Write comments

Popular Posts

Translate

TOPICS