[cs615asa] HW #4 - Discussions

Jigneshkumar Patel jpate35 at stevens.edu
Thu Mar 10 06:52:23 EST 2016


In order to run shell script same way as the in-built executable,

- Create a 'bin' directory in your home directory and move your
'ifcfg-data' file into it. Now you can invoke 'ifcfg-data' script from any
directory.

Another way to do it is by adding the directory path of your 'ifcfg-data'
file to your $PATH variable.
e.g. $export PATH=$PATH:directory

On Thu, Mar 10, 2016 at 5:24 AM, Avineshwar Singh <asingh16 at stevens.edu>
wrote:

> Dear Professor,
>
> I can execute my program correctly for "*ifconfig -a | ./ifcfg-data
> -i/n/m*". Can you accept it ?
>
> *ifcfg-data -i/n/m *isn't existing in the path and probably that is
> why there is a "not found error.
>
>
> --
>
>
>
> Student,
> Avineshwar Pratap Singh,
> MS (in CyberSecurity),
> Stevens Institute of Technology
>
> [+] Add me to your address book
> <https://ws.evercontact.com/kwaga-bin/titan/WEB/me.pl/4177400521440368238/i>
>
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs615asa
>
>


-- 
Best,
Jignesh Patel
MS, Computer Science
Stevens Institute of Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs615asa/attachments/20160310/8723cc86/attachment.html>


More information about the cs615asa mailing list