- 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
- 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.
- Create a file
index.html
in\Geekster1\Html
- 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
mkdir Geekster1
cd Geekster1
mkdir Html
mkdir CSS
mkdir JavaScript
mkdir React
// create the file index.html in Html folder
mv index.html ../React/
- 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.
- Create
f1.txt
file in TS folder as shown below. - Move
f1.txt
file toGeekster2/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. 👇🙂