Editing Terminal
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 305: | Line 305: | ||
=== Networking === | === Networking === | ||
- | The user PATH does not include /sbin for some reason by default on NITs, which is annoying as | + | The user PATH does not include /sbin for some reason by default on NITs, which is annoying as yoou need to type in <code>/sbin/ifconfig</code> when normally just <code>ifconfig</code> would be sufficient. You can create a symlink to <code>/usr/bin</code> to make things easier: |
- | ~ $ ln -s /sbin/ | + | ~ $ ln -s /sbin/ifcongig /usr/bin/ifconfig |
Example use of <code>grep</code>, which outputs the entire line matching the pattern, in this case "inet addr" which is piped into it from the output of <code>ifconfig</code>: | Example use of <code>grep</code>, which outputs the entire line matching the pattern, in this case "inet addr" which is piped into it from the output of <code>ifconfig</code>: |
Learn more about Contributing to the wiki.