Jump to content

New to Linux environment - help?


Linuxnoob

Recommended Posts

Hi, I am pretty new to linux and dn't really have clue of how to do this problem that was given to me.

The program that I am using is cygwin, an emularor to replace the actual Linux O/S.

 

Ok here we go,

 

I am supposed to create a script that will produce a text file that has a list of the files in the present working directory. I should be able to do the auto execution from the command prompt.

 

 

*as hint, use redirection operators* I guess its  ">"

 

-------------

What i do know is that using vi text editor in cygwin you start off with

#!bin/bash

 

that's all could any of you help me out?

 

I would really appreciate it.  ;)

 

Link to comment
https://forums.phpfreaks.com/topic/126964-new-to-linux-environment-help/
Share on other sites

hello  :),

 

thisis how the script should look like

-------------

#!bin/bash

ls > yaseen

-------------

8)

 

Hi, I am pretty new to linux and dn't really have clue of how to do this problem that was given to me.

The program that I am using is cygwin, an emularor to replace the actual Linux O/S.

 

Ok here we go,

 

I am supposed to create a script that will produce a text file that has a list of the files in the present working directory. I should be able to do the auto execution from the command prompt.

 

 

*as hint, use redirection operators* I guess its  ">"

 

-------------

What i do know is that using vi text editor in cygwin you start off with

#!bin/bash

 

that's all could any of you help me out?

 

I would really appreciate it.  ;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.