1.

Solve : Need help with linux command? (Solved)?

Answer»

Hi..

I need to do my assignment related to linux command by testing them and do a screenshot.

The question that i got stuck is

1. Create a file, namely “operating_system” with zero size


I tried using these commands and its failed.I tried ubuntu and opensuse.Plz help me.

I got these information from a website on which command to USE for my problem but i still can't get the command to work.

Plz help me..Thanks in advance.

Try the information HERE

Did you try any Internet searches?i think you already no this
when you are using "operating system" shell will TAKE it as different words
so type

1. vi "operating \system "


"operating \system"====>>>seems to be one word to the shell
(*if it is a command you must include the path i.e., your current command path must be included in the $PATH *)


trywhat do u mean by
$operating sytem ls -l new.fileHe's trying to list the file with the ls -l command to see if the file was created.

Are you trying to tell him to use the vi editor to create the file?I AM trying to ask is why he use "operating system "before ls -lYes -- I see it now! I missed it before.

I never thought about using vi -- I guess it would work that way, too!
QUOTE from: Aegis on June 07, 2008, 12:14:12 AM

Try the information HERE

Did you try any Internet searches?

Yeah.I already tried that link earlier and i got those commands which i tested from there.I already google but failed.I hope you can help me.

Quote from: #groff -Tascii -man yakub on June 07, 2008, 12:21:55 AM
i think you already no this
when you are using "operating system" shell will take it as different words
so type

1. vi "operating \system "


"operating \system"====>>>seems to be one word to the shell
(*if it is a command you must include the path i.e., your current command path must be included in the $PATH *)


try

I don't really understand what you're trying to explain mate.I need to create a file name called operating system with zero size.So, i tried that command which i showed in the ubuntu screenshot.I'm not sure if i typed it correctly or not.plz correct me ID i'm wrong.thanks in advance.

Quote from: Aegis on June 07, 2008, 12:34:32 AM
He's trying to list the file with the ls -l command to see if the file was created.

Are you trying to tell him to use the vi editor to create the file?

Yeah.I was trying to see if the file is created or not.sorry if i did it wrongly and plz fell free to correct me.Tq.Quote from: Aegis on June 07, 2008, 12:47:29 AM
Yes -- I see it now! I missed it before.

I never thought about using vi -- I guess it would work that way, too!


I need to use the terminal in order to show my screenshot for that question.Plz show.Thanks in advance.

So, at the command prompt, you tried


$ touch operating_system


and it didn't create the file?let me try and give a reply back.thanks alot for your help. Quote from: Aegis on June 07, 2008, 06:32:13 PM
So, at the command prompt, you tried


$ touch operating_system


and it didn't create the file?

It works perfectly!It works.Thanks alot for all your help.


Discussion

No Comment Found