-   Linux - Newbie (
-   -   Symbolic links and piping info... (

TechJay 03-06-2013 01:59 AM

Symbolic links and piping info...
So i created a symbolic link...

ln -s /sbin/ifconfig ifconfig
And i want to "pipe" this output onto a file i made in /home/jb/data called mydata.txt

Im not sure what it is called in linux but in programming (perl and java) its piping/ file io, i guess append ? How would i do this ? Thanks !

ifconfig >> mydata.txt ?

dont want to overwrite the 2 lines i have in there btw


chrism01 03-06-2013 02:03 AM

I don't know why you created the link; ifconfig works for me as a non-root user...

Anyway, its not piping into a file, its redirection; in fact 'output to ...' eg

ifconfig >/home/jb/data/mydata.txt
Here's some good links for bash and related stuff.

TechJay 03-06-2013 02:06 AM

thanks for the links...ive been reading a little... the link ws required in the practice asgn im doin

All times are GMT -5. The time now is 12:08 PM.