TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How can I incorporate programming in a linuxadmin job?

10 pointsby shivajikobardanalmost 2 years ago
I'm working with Linux and SQLs. How can I incorporate programming, learn programming in my job? Something like bash shell scripting and?

4 comments

techn00almost 2 years ago
Replace bash scripts that are more than 100 lines with Python or Go binaries. Use ansible for configuration.<p>Make your infrastructure as immutable as possible.
评论 #36269920 未加载
评论 #36269312 未加载
atmosxalmost 2 years ago
&gt; How can I incorporate programming, learn programming in my job?<p>Find repetitive tasks and try to automate them tasks. For simple scripts shell (bash) is great. For more complicated scripts that require error handling, API access, parallelisation, etc. use Golang, Python, Perl or Ruby.
davidgrenieralmost 2 years ago
F# is extremely expressive, has algebraic datatypes and just about everything C# has to offer. It has a REPL so you can write your code interactively and make fast and safe progress. .net is practically first class on Linux now.<p>Start your .fsx script with: #!&#x2F;usr&#x2F;bin&#x2F;dotnet fsi<p>When startup time becomes a problem you can compile the file to an assembly instead.
评论 #36269927 未加载
评论 #36269443 未加载
adhvaryualmost 2 years ago
I&#x27;d recommend Perl, it&#x27;s closely tied to bash&#x2F;Linux and has many powerful features that can help a sysadmin, native regex support for one.
评论 #36278961 未加载