Is scripting worth learning
Question 1:
Is learing to write scripts an important part of linux, or should i just try and learn to program linux only. Question 2: Is there some command that adds text to the end of a file? Question 3: How do i echo a new line. Like echoing the characters 10 and 13 for carriage return and line feed? |
Personally I feel that scripts are an integral part of sysadmin skills. Most (all?) distros use scripts to perform the startup and cron duties, so knowing what's going on will be a benefit when you want to make some changes.
Part 2 of your question. In bash shell use the '>>'. Code:
echo "the stuff you type" >> yourfile |
Re: Is scripting worth learning
Quote:
Quote:
cheers Jamie... |
I think when you learn how to create scripts it will be very useful! It makes most things easyer, but learn is not the right word. Just play a bit with script-files.
|
All times are GMT -5. The time now is 06:15 AM. |