| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 2 years, 2 months |
| seen | 4 hours ago | |
| stats | profile views | 45 |
|
Apr 22 |
awarded | Popular Question |
|
Jan 9 |
awarded | Notable Question |
|
Oct 10 |
comment |
How do you configure the MTU for all network adapters via a script? Because it's going to be part of an installer script that will be used on many machines. |
|
Oct 8 |
revised |
How do you configure the MTU for all network adapters via a script? added 233 characters in body |
|
Oct 8 |
comment |
How do you configure the MTU for all network adapters via a script? @itsbruce, ah thanks for the clarification regarding your changes being non-persistent. I updated and further clarified the "persistent" aspect of the question. |
|
Oct 8 |
comment |
How do you configure the MTU for all network adapters via a script? does ip* set mtu 4096* require a service network restart for changes to take effect? |
|
Oct 8 |
comment |
How do you configure the MTU for all network adapters via a script? I was thinking to myself: 1. list all the /etc/sysconfig/network-scripts/ifcfg-eth* files 2. iterate over the list 3. add a new line for each config file MTU=4096 4. optionally do a service network restart |
|
Oct 8 |
asked | How do you configure the MTU for all network adapters via a script? |
|
Oct 5 |
awarded | Popular Question |
|
Sep 5 |
accepted | How do you colorize only some keywords for a bash script? |
|
Sep 5 |
awarded | Notable Question |
|
Aug 30 |
awarded | Yearling |
|
Aug 29 |
comment |
How do you colorize only some keywords for a bash script? @angus, what is the line of code shift $(($OPTIND - 1)) doing? |
|
Aug 29 |
comment |
How do you colorize only some keywords for a bash script? @angus, yep your new revision achieves the same thing my edits do and is a little cleaner than mine! good job. i'm gonna chalk that up to my inexperience of shell scripting =). |
|
Aug 29 |
comment |
How do you colorize only some keywords for a bash script? @angus, dash, in this context, is ubuntu's default shell? that is why your script specifies /bin/sh instead of /bin/bash? |
|
Aug 29 |
revised |
How do you colorize only some keywords for a bash script? deleted 8 characters in body |
|
Aug 29 |
comment |
How do you colorize only some keywords for a bash script? I changed the script a little to get the behavior I wanted. |
|
Aug 29 |
revised |
How do you colorize only some keywords for a bash script? added 519 characters in body |
|
Aug 29 |
comment |
How do you colorize only some keywords for a bash script? @angus, when I specify -b white the background color is actually gray instead of white. I think that is a function of my shell/OS/terminal... bash/fedora15/gnome-terminal is what I am using. |
|
Aug 29 |
comment |
How do you colorize only some keywords for a bash script? @angus, there is a problem with the script that does need to be fixed. when you omit the -b option it defaults to "black" background --> this should be fixed to be "no background is specified" instead of specifying a background color always (having a default background color of black would be good for when the user has a black background but would be bad for when the user has a white background). |