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

[SOLVED] crontab /usr/bin/vim exited with status 127 when editing crontab

Explaining how to fix the vim error exited with status 127 while editing crontab -e

Ubuntu

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)

Shell Scripting

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.

Shell Scripting

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.

Shell Scripting

MobaXterm persistent home directory not working, How to fix it?

Fixing MobaXterm home directory issue

MobaXterm

5 Examples for bash if else in shell script

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

Shell Scripting

How to get JSON value using WGET vs Invoke-WebRequest

How to use wget and Invoke-WebRequest in powershell, examples to fetch some JSON data from a remote URL, it can be HTTP or HTTPS.

PowerShell

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.

DockerKubernetesShell Scripting

How to copy files from windows to Linux using SCP command

Exploring how to copy files from Windows to Linux using the SCP command, inside powershell.

PowerShell

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.

DateShell Scripting

How to switch between tabs in the MobaXterm (shortcut)

How to switch between tabs in the MobaXterm terminal tool using keyboard shortcut keys.

MobaXterm

How to comment multiple lines together in vscode?

Keyboard shortcut to comment multiple lines in vscode. You will save a lot of time in commenting or uncommenting multiple lines using this shortcut key, instead of adding comments for each line, one by one.

VSCode

How to install VirtualBox guest additions on Ubuntu 20.04 VM command line?

How to install VirtualBox guest additions in Ubuntu 20.04, steps with images for command-line installation of vbox guest addition.

Virtual MachineVirtualBox

Visual Studio Code Keyboard Shortcuts collection

Visual Studio Code Keyboard Shortcuts collection. This list is a comprehensive list of shortcuts which can improve your coding productivity.

VSCode

How to hide minimap (preview bar) in visual studio code?

Explaining how to disable the right side page preview or minimap in vscode.

VSCode

How to delete a line using the keyboard shortcut in vscode?

Keyboard shortcut to delete an entire line in vscode editor.

VSCode

How to copy line up/down in vscode (shortcut )?

Keyboard shortcut to duplicate a line in vscode editor.

VSCode

How to set git bash default directory?

Exploring several possible ways to set gitbash directories, setting default directory when you open gitbash and by creating aliases.

Git

How to create a new user with a home directory in Ubuntu?

Create an ubuntu user with home directory from commandline.

Ubuntu

How to create a bash alias with arguments

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

Shell Scripting

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

Shell Scripting

How to set date in Ubuntu using terminal?

Explaining how to change system date command line Ubuntu

Shell Scripting

VSCode multiple cursors keyboard shortcuts

How to use multiple cursors simultaniously in vscode, using keyboard shortcuts

VSCode

How to split a string by delimiter in PowerShell?

Splitting string in Powershell defining a delimiter

PowerShell

How to show hide activity sidebar in vscode?

Step by step guide to configure a keyboard-shortcut to toggle (show/hide) Activity bar.

VSCode

How to install Docker in Ubuntu 20.04 (Docker host setup guide)

Explaining how to setup Docker in an Ubuntu server or desktop.

Docker

How to create a local repository using git bash (git init)?

Git-bash git init examples, explaining all required steps with practical scenarios and related commands in git bash.

Git

A Simple Powershell script to Print hello world

A simple powershell script to print hello world. also print in color

PowerShell

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

DateShell Scripting

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.

Shell Scripting

Linux force user to Change Password on the first login

Explaining with examples for a linux user password change when the user login for the first time. This is enforced.

Ubuntu

How to set user password to never expire in Linux/Ubuntu/Docker

Explaining the required steps on how to set user password to never expire in linux. Exploring other practical options with examples.

Ubuntu

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.

Shell Scripting

How to restart the computer from PowerShell

How to restart the computer from Powershell.

PowerShell

Powershell script to rename computer with prompt

Explaining how to rename a computer using powershell prompting for the new name.

PowerShell

Windows terminal WSL copy-paste

Windows terminal and WSL copy paste keyboard shortcuts explained.

WSL

Home WiFi network setup ideas for Work From Home

WFH WiFi network optimization tips and tricks

Networking

[SOLVED] Ubuntu XRDP authentication is required to create a color-managed device

Troubleshooting Ubuntu RDP connection error- Ubuntu XRDP authentication is required to create a color-managed device

Ubuntu

How to change DNS in Windows 10 to Google DNS

Explaining how to configure your Windows 10 DNS to Google DNS

Networking

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

DateShell Scripting

MobaXterm remote desktop (RDP). How to connect to a Windows Desktop or server

A perfect alternative for Windows RDP or MSTSC connection, MobaXterm

MobaXterm

How to change DNS in Windows 10 to Cloudflare DNS

Explaining how to configure your Windows 10 DNS to Cloudflare DNS

Networking

How to install git on MobaXterm?

Explaining how to install git (gitbash) inside your MobaXterm client

DevOpsGitGitHubMobaXterm

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)

Shell Scripting

Print screen shortcut Windows 10. How to take a screen capture?

Explaining in windows 10, how to take screenshot using keyboard shortcut

Windows

Windows 10 best keyboard shortcuts

Windows 10 keyboard shortcuts

Windows

How to configure OneDrive download only when needed

Configuring Onedrive to download only when needed

Windows

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

Explaining how to print full date in bash using shortcode

Shell Scripting

Installing LAMP on Ubuntu 20.04.1 LTS Desktop or Server

Explaining how to install and confire the LAMP stack, Linux Apache MySQL and PHP on Ubuntu

Ubuntu

WSL SSH key and password less login

SSH, how to configure password less login. Step-by-step instructions from WSL client to remote server.

WSL

How to grep for the pattern at the end of the line?

grep-ing pattern at the ending of a text file

Shell Scripting

How to grep for the pattern at the beginning of the line

grep-ing pattern at the beginning of a text file

Shell Scripting

How to remove spaces from a string variable in bash?

Quicly replaces multiple spaces from a string variable in bash. This works well in Linux, Bash, Docker containers, centos, rhel etc.

Shell Scripting

How to install git on windows 11? (step by step)

Explaining, how to install git (gitbash) on windows 11, which can work along with vscode.

Git

How to get the Powershell version

A how to guide for determining Windows Powershell version from Powershell.

PowerShell

Linux bash until loop examples

This is an example script for shell script bash, until loop

Shell Scripting

Linux while true loop example in bash

Example script for shell script bash, while loop

Shell Scripting

Bash assign a default value to a variable if it is empty

Bash variable set a default value

Shell Scripting

bash tr-command to delete single or multiple characters

Examples for deleting multiple characters using tr command in bash.

Shell Scripting

Pages:

1 2

Latest Updates

  • Functional and non-Functional Testing | Comparison (today)
  • groovy script for jenkins pipeline (today)
  • The best groovy ide and why to choose the one? (today)
  • What is TestComplete and how to use it for automated UI testing? (today)
  • What is SoapUI and how to use it for API Testing? (today)
  • WebDriver (Selenium) and Playwright comparison | Who Should Choose What? (today)
  • How to configure local terminal .bashrc in MobaXterm? (today)
  • Mobaxterm Rsync practical examples using a bash terminal (today)
  • [SOLVED]Failed to set time zone invalid or not installed time zone ‘IST’ (today)
  • How to open multiple instances of MobaXterm in Windows 11? (today)
  • MobaXterm copy-paste keyboard shortcut keys and how to paste using right-click (today)
  • [SOLVED] google-chrome-stable:amd64 : Depends: libasound2:amd64 (>= 1.0.17) but it is not installable (today)
  • Playwright for Python getting started guide (today)
  • Playwright example script to take a Screenshot (today)
  • How do you open a Windows command prompt using MobaXterm?
  • How to select code blocks vertically in vscode?
  • How to open a windows PowerShell using MobaXterm?
  • Web Scraping with Selenium running out of memory problem | How to prevent memory leak?
  • How do you change the default window size in git bash?
  • Selenium Chrome driver download and install (step by step on Windows)
  • How to save terminal output on MobaXterm screen without selecting manually
  • How to list all namespaces in microk8s?
  • MobaXterm split-screen shortcut keys (and how to exit split-screen)
  • How to connect to WSL via MobaXterm
  • How do you save the Terminal output to a file in vscode?
  • Enabling sudo NOPASSWD for a user in Just one command!
  • How to install Airflow on Windows (Apache Airflow installation steps)
  • How to Run an Ubuntu Linux Virtual Machine on macOS running M1/M2 processor.
MobaXtermDevOpsVSCodePythonWebdriverDateSeleniumPowerShellWSLUbuntuShell ScriptingCode RefactoringDockerGitVirtual MachineVirtualBoxAnsibleGitHubKubernetesAnsible-PlaybooksBitBucketpip3AzureCareerJSONUTMVirtual Machine Mac M1 M2Ansible-Python
Codetryout.com is curating experiments with DevOps, Cloud Services, and Practical Coding examples.
© 2021 - 2025 Codetryout.com | Terms | About | Privacy | WordPress | Contact