Results 1 to 2 of 2

Thread: How do I make a file in the shell in root/var?

  1. #1
    Join Date
    May 2009
    Posts
    81
    Rep Power
    4

    Default How do I make a file in the shell in root/var?

    I'm demanding to activate apache2 as well as one of the steps on is to "sudo mv basic.html /var/www/basic.html". The response I receive is that basic. Html is not established. How do I generate this in the var/www file?

  2. #2
    David Gower is offline Member
    Join Date
    May 2009
    Posts
    75
    Rep Power
    4

    Default

    You don't have to make the file as apache contain a default file that state "It works!"

    But if you required making a test file, you can do it like this: touch /var/www/basic.html

    If you hunted somewhat in that file: nano /var/www/basic.html
    (control x, after that y when done to save)

Similar Threads

  1. 22 GB File make on Windows 7
    By Edward perriera in forum Windows 7/2000/NT
    Replies: 1
    Last Post: 07-28-2010, 08:21 PM
  2. make an ISO file a bootable CD
    By FosterWood in forum Operating System
    Replies: 1
    Last Post: 01-21-2010, 06:16 PM
  3. How do I make Initial scan file for PCI tuner?
    By harddisk6564 in forum Linux/Free BSD
    Replies: 1
    Last Post: 10-09-2009, 12:53 PM
  4. Shell
    By vandana43 in forum Operating System
    Replies: 0
    Last Post: 03-19-2008, 11:42 AM
  5. Using Explorer as Shell
    By techno23 in forum Applications
    Replies: 0
    Last Post: 02-05-2008, 02:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48