Blog

Latest Articles

Browse the latest tutorials, guides, and practical examples across Linux, DevOps, security, databases, and programming on GoLinuxCloud.

Explore the latest tutorials and guides across Linux, DevOps, programming, and more.

You can also browse content by category below:

  • Linux: Commands, administration, troubleshooting, and system operations
  • DevOps: CI/CD, Kubernetes, containers, and automation
  • Programming: Coding tutorials, scripting, and development concepts
  • Security: Ethical hacking, system security, and best practices
  • Databases: MySQL, MariaDB, PostgreSQL, and database management
  • Networking: Network setup, troubleshooting, and protocols
  • Storage: Disk management, file systems, and storage solutions
  • System Administration: User management, services, and system-level tasks
  • Tools: Useful tools and utilities for productivity
  • Cheat Sheet: Quick reference guides for commands and tools
  • Interview Questions: Common interview questions with answers

2076 articles

How to append to a slice in Golang [SOLVED]

Different ways in golang to append to slice. We can append one slice to another, strings, byte string, int, elements to a slice.

By tuannguyen · 4 min read · programming

bash: curl: command not found [SOLVED]

The most common causes for bash: curl: command not found error is either curl package is not installed or the PATH variable does not contain the path to curl …

By omercakmak · 3 min read · linux

Declare new error in Golang [SOLVED]

There are various ways to declare new error in golang such as using errors.New() function or Using Errorf() with fmt package to return an error, Define a custom …

By tuannguyen · 4 min read · programming

Golang sha512 Hashing Examples

Use golang sha512 package to generate sha512 encrypted hash for text, string and files.

By tuannguyen · 3 min read · programming

Golang io.ReadCloser Examples

Golang io.ReadCloser interface is built out of an io.Reader and an io.Closer:

By tuannguyen · 4 min read · programming

How to pass default parameter to golang function?

Golang does not support optional parameters (can not set default values for parameters). But there are different methods to add golang default parameter.

By tuannguyen · 3 min read · programming

How to use cin for an array in C++ [SOLVED]

In c++ cin array is not performed in one cin statement. In this article we will learn about array input in c++. To understand array input, we first need to

By azkaiftikhar · 4 min read · system-administration

Using not (!) inside 'if' statement in JS [SOLVED]

If you want to negate a if statement, we can do so using the NOT operator which reverses the Boolean value, and so changes it from true to false or from false …

By olorunfemiakinlua · 2 min read · programming