Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Please help...I dont understand......


  • Please log in to reply

#1
MEGGER456

MEGGER456

    New Member

  • Member
  • Pip
  • 4 posts

Hello,

I had one of my class substituted with my current class which focuses on command line.....I have zero clue about this type of stuff can anyone help with some lab questions?

1.Navigate to the user account home directory. Use the command line to create a file named test.txt with the text “HI I AM A TEST FILE”. Output the contents of the file using a command line program to verify that the file contains what it should.


  • 0

Advertisements


#2
RKinner

RKinner

    Malware Expert

  • Expert
  • 24,625 posts
  • MVP

(I use extra spaces in the code boxes so you can see where a single space goes.  The forum software tends to squeeze things together)

 

Navigate to the user account home directory:

cd  %userprofile%

Use the command line to create a file named test.txt with the text “HI I AM A TEST FILE”:

echo  "HI I AM A TEST FILE"  >  test.txt

Output the contents of the file using a command line program to verify that the file contains what it should:

type  test.txt

  • 1

#3
MEGGER456

MEGGER456

    New Member

  • Topic Starter
  • Member
  • Pip
  • 4 posts

Thank you so much.....Thats helpful! I literally have no idea with this at all.....if your willing I have a few more questions in the lab...let me know. Thanks again


  • 0

#4
RKinner

RKinner

    Malware Expert

  • Expert
  • 24,625 posts
  • MVP

  Are you a student or a substitute teacher?


  • 0

#5
MEGGER456

MEGGER456

    New Member

  • Topic Starter
  • Member
  • Pip
  • 4 posts

Im a College Student...the original class I registered for (and bought book for) was cancelled last minute due to lack of enrollment. This was the substitute class...I switched from Cybersecurity to Economic Crime purley based on class like this one....command line and coding is just one of those things that no matter how much I read on it, I just dont comprehend.


  • 0

#6
MEGGER456

MEGGER456

    New Member

  • Topic Starter
  • Member
  • Pip
  • 4 posts

I should also note this is an online class so getting help from the prof. is difficult.


  • 0

#7
RKinner

RKinner

    Malware Expert

  • Expert
  • 24,625 posts
  • MVP

http://www.cs.princeton.edu/courses/archive/spr05/cos126/cmd-prompt.html might help a bit.  Also

 

http://simplyadvance...command-prompt/

 

and complete references:

 

http://ss64.com/nt/

 

http://www.windows-commandline.com/


  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP