Visit Our UNIX and Linux User Community


Need some help with this...


 
Thread Tools Search this Thread
Top Forums Programming Need some help with this...
# 36  
Old 10-02-2007
I am still wondering if I will be able to get the alias to work without changing the shells.... I don't understand why it isn't working...
# 37  
Old 10-03-2007
Quote:
Originally Posted by Legend986
I don't understand why it isn't working...
Have you found a program called "alias"? If not then "alias" is an internal command. The "popen" program uses the default shell, if this does not support "alias", it will fail.
# 38  
Old 10-03-2007
Oh.. No I didn't find it... I really should learn more before I ask all these doubts I guess... Hehe... Sorry for the trouble though... and thank you...
# 39  
Old 10-03-2007
No problem, it is important to realise there are internal and external commands.

In theory you should only need about three internal commands, "cd", "exit" and "exec". Smilie

It gets confusing with things like "echo" where it's typically internal and external and behaves differently depending on the shell or your path.
# 40  
Old 10-03-2007
Yup.. I'm seeing that slowly... OSes have evolved so much my god! Smilie
# 41  
Old 10-03-2007
Quote:
Originally Posted by Legend986
Yup.. I'm seeing that slowly... OSes have evolved so much my god! Smilie
Or not really, this stuff is over quarter of a century old here.
# 42  
Old 10-03-2007
Smilie Yeah yeah.. I bet they'll improve a thousand times in a couple of more decades...

Previous Thread | Next Thread
Test Your Knowledge in Computers #380
Difficulty: Medium
Apple's macOS (previously known as Mac OS X or OS X) is a UNIX 03 registered product.
True or False?

Featured Tech Videos