Open E-School

Male
Friday, February 24, 1984

Linux and Windows command to create a folder and a file

Category: Technology World Date: Thursday, September 21, 2017

For Linux

Open the terminal using ctrl + alt + t

Copy , paste and run these commands

 

cd /
cd tmp
mkdir WebWars
cd WebWars
touch index.html
echo '<!-- Welcome to Web Wars 1.0. Please write your HTML and CSS code in this file and run it on any browser on this computer -->' > index.html
gedit index.html

 

For Windows

Open command prompt and copy paste these commands

cd \
cd c:
mkdir WebWars
cd WebWars
echo ^<^!-- Welcome to Web Wars 1.0. Please write your HTML and CSS code in this file and run it on any browser on this computer --^> > index.html
notepad index.html

Rate this article and help us improve

Please Login to rate
Overall ratings: 0 | Rating: out of 5
Previous Article Next Article

Quick Links

E-Magazines

@

Total Followers
Study Group Created
Study Group Joined
Following Teacher
Following Organization
Blog Articles Added
Questions Asked
Questions Answered
Jobs Posted
Total Members in Group
Questions asked by members
Tasks added in this Group

Please wait..

Ok

Login to Open ESchool OR Create your account    Login   SignUp