# Day3- Linux Basic command

1. pwd: Print the name of the current working directory
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1719897235391/38116afc-9808-4ac1-b205-f92b7e8c0b3b.png align="left")
    
2. ls: List information about the FILEs (the current directory by default) and sort entries alphabetically if none of options are specified
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1719898022805/8084ed1a-2c43-4dfc-b73e-107689483a2d.png align="left")
    
    if nothing is returned in the output that means the directory is blank
    
3. mkdir - Create the DIRECTORY(ies), if they do not already exist
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1719898391575/62736e6d-a4ed-485a-8de9-e1fca450aa5e.png align="center")
    
4. cd- Change the shell working directory
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1719898627979/69f44063-7fb5-4b16-a7fd-35f49661e1ee.png align="left")
    
5. cp - copy files and directories
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1719920614182/0d2bf93f-20cb-4118-9ae8-6b9c9f58c869.png align="center")
    
6. mv - move (rename) files
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1719920824825/2f48ffb4-568f-4f82-b0ae-5cb349f46007.png align="center")
    
7. Head: Print the first 10 lines of each FILE to standard output
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1719924251388/d73a0bd6-7107-45ea-9118-de1d267f3be4.png align="center")
    
8. Tail: Print the last 10 lines of each FILE to standard output
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1719925231084/a6715b50-586f-47e5-ad22-dc911f4a8c00.png align="center")
