CodeTryout
  Home Docker Ubuntu Webdriver Python VSCode VM Git PowerShell Bitbucket Bash Script Kubernetes MobaXterm DevOps


How to run rsync with dryrun option (–dry-run)

rsync dryrun explained with examples

  DevOps

Rsync Incremental backup (with examples)

backup and sync, rsync incremental with examples

  DevOps

Enabling sudo NOPASSWD for a user in Just one command!

docker linux sudoers nopasswd

  Docker

FFmpeg usage examples (Docker or on Ubuntu)

ffmpeg usage examples

  Docker

40+ BASH commands for everyday use

40+ BASH commands for everyday use

  Bash Script

[SOLVED] tree command not found – fix using alternate commands

Alternatives to Linux tree command, exploring two alternative methods with examples.

  Docker

ISO 8601 date format in bash shell script? yyyy-MM-dd T HH:mm:ss Z

Ho to get bash print date in ISO 8601 date format – yyyy-MM-dd T HH:mm:ss Z including UTC offset.

  Bash Script

Bashrc Alias, what is it and how to use it?

A practical guide on how to use bashrc aliases

  Bash Script

How to SCP files or directories local to remote OR from remote to local?

How do SCP files or directories local to remote OR from remote to local?

  DevOps

How to use rsync to copy files from one server to another?

Step by step guide to use rsync to copy files

  DevOps

How to check if file exists in Linux command line

Bash check a file existance using test command

  DevOps

[SOLVED] bash: tree command not found in CentOS / Linux / Docker

One of the most common errors that Linux users face is the tree command not found error. This article will explain how to troubleshoot this error and fix it.

  Docker

How do I check if a symbolic link exists in Linux (Ubuntu/RHEL/CentOS/Docker/Bash)

How to check if a symbolic link exists in Linux(or in any Linux distros)

  Ubuntu

How to convert lowercase to UPPERCASE in a bash shell script built-in

Quick way to change lowercase to uppercase in bash, we are exploring a way using bash built in features, variable case conversion.

  Bash Script

Bash script to check if file exists on a remote server

A practical script to check whether a file exists on a remote server using bash. The script connects using ssh and verify whether the file exists.

  Bash Script

5 Examples for bash if else in shell script

bash scripting if then else statements. Explained with five sample codes and runtime demos.

  Bash Script

How to check if an environment variable is set and not empty in BASH SHELL

I made this bash script to test if the environment variable is set and not empty. I hope this is helpful to you as well.

  Docker

Bash add the number of days to date OR get a specific future date

Explaining how to print a specific future date corresponding to the current date in bash, or any bash shell such as linux ubuntu or docker.

  Bash Script

Bash date format print yyyymmddhhmmss milliseconds

Bash date print Year, Month, Day, Hour, Minute and Seconds

  Bash Script

How to create a bash alias with arguments

How to create a bash alias with arguments, using aliases and functions

  Bash Script

How to print the last command return code in bash?

How to get the return code of a command in bash. Also listing all reserved exit codes

  Bash Script

How to set date in Ubuntu using terminal?

Explaining how to change system date command line Ubuntu

  Ubuntu

How to print the day before yesterday date in bash shell script

Explaining how to get the date for day-before-yesterday in Linux Bash script

  Bash Script

How to write STDOUT and STDERR to different files in bash scripts

How to write output and error messages to two different files in shell scripts.

  Bash Script

How to remove the directory named with tilde in it (Linux, Ubuntu, Docker)

Exploring steps to delete a directory or folder with a tilde in its file name, explaining practical errors and the final solution.

  Ubuntu

Bash date print X days ago (Linux shell script or in command-line)

Bash date print X days ago (Linux shell script or in command-line)

  Bash Script

How to get the current Unix timestamp or epoch time from a Linux command line

Explaining with examples how to get the current date timestamp or epoch time from a Linux command line, script or bash terminal

  Bash Script

How to un-comment a line in a text file using sed matching a word (Linux command-line)

How to un-comment a line in a text file using sed by matching a specific word or character (Linux command-line)

  Bash Script

How to configure local terminal .bashrc in MobaXterm?

Configuring the MobaXterm local bash terminal

  MobaXterm

Linux bash full date printing, how to print the full date Year-Month-Day?

Explaining how to print full date in bash using shortcode

  Bash Script

The latest

  • 5 ways to checking the performance of Python code
  • Python, how to check a file exists?
  • How to execute a Program (or command) from a Python script?
  • Headless Chrome Selenium (–headless=new)
  • How to run Python on a Chromebook?
  • How to run rsync with dryrun option (–dry-run)
  • Rsync Incremental backup (with examples)
  • Python subprocess (Windows, Linux and MacOS examples)
  • Python Ansible example Playbook and execution
  • Python threading example [2 thread objects]

Tags

  • Python
  • Shell Scripting
  • Virtual Machine
  • Docker
  • Ubuntu
  • Webdriver
  • Git
  • VSCode
  • MobaXterm
  • VirtualBox
  • PowerShell
  • Kubernetes
  • DevOps
  • WSL
  • Ansible
  • Windows
  • Selenium
  • pip3
  • Networking
  • Virtual Machine Mac M1 M2
Codetryout.com is curating experiments with DevOps, Cloud Services, and Practical Coding examples.
© 2021 - 2023 Codetryout.com | Terms | About | Privacy | WordPress | Contact