0% found this document useful (0 votes)
31 views2 pages

Linux Command

The document lists Linux commands and provides a brief description of each command. It covers commands for checking the hostname, IP address, Linux version, installing, updating, starting, stopping, and checking the status of software.

Uploaded by

YASH
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views2 pages

Linux Command

The document lists Linux commands and provides a brief description of each command. It covers commands for checking the hostname, IP address, Linux version, installing, updating, starting, stopping, and checking the status of software.

Uploaded by

YASH
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Linux command

1:> Hostname -checking the Host machine name.

2:>ifconfig- To check the ip address of host system

3:>cat /etc/os-release- To check the linux version

4:> yum install https –for instsll any s/w(httpd by default download apache)

5:>yum update httpd- for update s/w

6:> service httpd start –for starting the installed s/w

7:> service https status- for checking the status of s/w

8:>chkconfig httpd on –

9:> chkconfig httpd off-

10:> which-

11:>echo- flashing the message Ex. echo “……”

Redirect message ex. Echo “Welcome” >tes2

Cat test

Echo “Wel”

12:>whoami

13:> yum list installed

14:> grep- list for finding particular work Eg: grep sap (for searching)

15:sort-for sorting the data in alphabetically.

You might also like