Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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
  • 17,350 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
  • 17,350 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
  • 17,350 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