Which scripting language for server upkeep?

What scripting do you make use of for standard server upkeep sort of jobs, e.g. backups, relocating documents around, and so on? Do you adhere to slam, ruby, perl, another thing, or do you mix-and-match for various demands? What are the toughness and also weak points of your selection (s)?

I'm directly curious about * nix web servers, yet possibly the inquiry can be pertinent to Windows web servers too.

0
2019-05-04 17:35:51
Source Share
Answers: 4

I can generally do my upkeep with unimportant bash/ksh (relying on server) manuscripts. When I require any kind of sort of reasoning or something that obtains sorta complicated in such a covering however, I favor making use of Ruby. Possibly my favored attribute of Ruby for this is just how very easy it is to execute an exterior command

directories=`ls -l`
0
2019-05-08 02:40:47
Source

BASH is possibly mosting likely to your most globally mounted on the majority of *nix systems today.

PERL is for extreme message parsing, possibly not the most effective for standard server admin things.

RUBY or PHP for server admin? That's an originality.

Several of the devices you'll additionally intend to equip on your own with are AWK and also SED. They'll make parsing things a little less complicated.

All the best.

0
2019-05-08 02:18:23
Source

I make use of the Bourne shell for transportability, Bash for its better power than sh (selections, and so on), ksh when Bash is not readily available and also Python when I require rate and also better power than Bash.

I do additionally make use of full-fledged AWK manuscripts (along with fragments in shell manuscripts) for area and also document adjustment. And also I such as to forge ahead with sed occasionally. It's Turing full, yet its manuscripts are a bear to read after time has actually expired.

0
2019-05-08 01:57:40
Source

no love for python in your little checklist there I see? its a really functional language for both scripting and also server admin in the right-hand men. here's something to get you begun if your interested

0
2019-05-08 01:50:20
Source