You are not logged in.
Pages: 1
Topic closed
Create a file called a1.A in ~/uli101.a1, containing Unix commands which
will create a directory structure as shown on the following tree diagram:
.
`-- temp
`-- music
This is the question i am having difficulty with. I have created the a1.A file in the uli101.a1 directory, although I am having trouble being able to get into the file and write the intructions to make this tree. Can anyone help?
Offline
i'm not really sure what it has to the with the .A file, but you are looking for:
mkdir -p temp/musicthis will create the full given path
Offline
Yes that is the command aswell i believe but i need to put that inside the a1.A file, that is what i am having difficulty doing.
Offline
Hello, I think it is better not answer homwerk questions explicitly, so I will just direct you to the right sources:
type the command
man catin the terminal, and try to find the relevant parts.
You can also do a Google search for "linux output redirection".
HTH
Edit: you can also use an editor, like nano, vim, ... (nano is easier to use) to type the commands into the file.
Last edited by dartagnan (2009-11-02 18:25:39)
Offline
Normally I will use VI because that is what we use at school, and the command is correct although everytime I put it in it creates in inside the uli101.a1 directory instead of the a1.A file.
Please anyone give there ideas if they have any!
Last edited by kielliott (2009-11-02 19:34:08)
Offline
Sorry but we don't do home work assignments. Read the forum rules
.
Welcome to the forums BTW - but I hope you didn't just register because of this
.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Pages: 1
Topic closed