Skip to content

Latest commit

 

History

History

GIT-001-COMMANDLINE

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

GIT-001-01

  • Create a folder called learn_with_geekster.
  • cd into the learn_with_geekster folder.
  • Create a file called first.txt.
  • Put your name in first.txt
  • Display the file content in terminal

You have to write these command and take the screenshot of your terminal (as shown below) and upload it as your answer

image image image


GIT-001-02

  1. Create the folder hierarchy shown below using command line. There is a parent directory called Geekster1, and inside of it are four more directories named HTML, CSS, Javascript, and React.
  2. Create a file index.html in \Geekster1\Html
  3. use the command line to move the file index.html from the \Geekster1\Html directory to the \Geekster1\React directory.
Geekster1
│   
└─── Css
│
└─── Html
│   │____ index.html
│    
└─── Javascript
│   
└─── React

Please test it out on your own first, then refer to the answers below. 👇🙂

Answer

Answer:
    mkdir Geekster1
    cd Geekster1
    mkdir Html
    mkdir CSS
    mkdir JavaScript
    mkdir React

    // create the file index.html in Html folder

    mv index.html ../React/

GIT-001-03

  1. Create the folder hierarchy shown below using command line. Below is a breakdown of the folder structure. Geekster2, the parent directory, contains the directories React and Angular.
  2. Create f1.txt file in TS folder as shown below.
  3. Move f1.txt file to Geekster2/React/Component/ using commandline
Geekster2
│
└─── React
│   │____ Component
|              | -----
│   
└─── Angular
        │____ Services
                  │____ TS
                          │____ f1.txt

Please test it out on your own first, then refer to the answers below. 👇🙂

Answer

Answer:
    mkdir Geekster2
    cd Geekster2
    mkdir React
    mkdir Angular
    cd React
    mkdir Component
    cd ..
    cd Angular
    mkdir Services/TS
    cd Services/TS

    touch f1.txt
    // add yourname in f1.txt

    mv f1.txt ../../../React/Component/