help with unix


Recommended Posts

first of all

sorry because I don't know where do post this kind of questions, that's why I decided to put it here

mods feel free to change it to the correct forum

ok, the question is

my teacher decided to put a homework in Unix

I don't have any clue about Unix, nothing, 0, and now I don't know how to open it

he says that I should type

ls ~shann/930607

and this is where the file is

then cvi ex10.txt

but when I type this in, a blank page comes out

can someone give me a hand please?

i don't know what to do

thanks guys

Link to comment
Share on other sites

type this:

vi ~shann/930607/ex10.txt

That should open the file so you can read it. Or you can do:

cd ~shann/930607

vi ex10.txt

As long as you have permission to enter that folder.

Link to comment
Share on other sites

:huh: It it a text file ?  Are you using a Windows PC somewhere ?  Notepad should be able to open it.

yes, it is a text file

yes I use a Windows PC

how do i open it with notepad?

Link to comment
Share on other sites

type this:

vi ~shann/930607/ex10.txt

That should open the file so you can read it. Or you can do:

cd ~shann/930607

vi ex10.txt

As long as you have permission to enter that folder.

tried this and it only comes three lines with a bunch of un-understandable things

numbers and letters

any other ideas?

Link to comment
Share on other sites

Try:

cd ~shann/930607

pico ex10.txt

Pico and vi are both just text editors. If the file really is a .txt file and it doesn't display properly in pico or vi then there is something wrong with it.

Link to comment
Share on other sites

Try:

cd ~shann/930607

pico ex10.txt

Pico and vi are both just text editors. If the file really is a .txt file and it doesn't display properly in pico or vi then there is something wrong with it.

thanks

it works

you saved my day

:D

thanks a lot

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.