Set Indentation Width to 2 or 4 Spaces (or Tab) in Vim
Prefer tabs to spaces? Here's how to set indentations to use spaces instead of tabs in Vim.
ยท Abhishek Prakash
Make Directory Only if it Doesn't Exist Already in Linux
It's better to be careful and prevent errors while creating directories in case there are files or directories with the same name in the same location.
ยท Abhishek Prakash
LHB Linux Digest #22.07: Vim Buffers, Killing Process, Free Docker Book and More
ยท Abhishek Prakash
Show File Transfer Progress With Rsync
By default, rsync doesn't show any output while files are being transferred. Here's how you can see the transfer status.
ยท Abhishek Prakash
Move Cursor to Beginning or End of Line in Vim
Learn some basic cursor movement in Vim editor.
ยท Abhishek Prakash
How to Change Ownership of Files and Folders Recursively
Learn how to use the chown command to recursively change the user and group ownership of files and directories in Linux command line.
ยท Abhishek Prakash
ls -lrt Linux Command Explained
You'll often use the "ls -lrt" command, especially while dealing with a large number of files. Here's what it does and how it works.
ยท Abhishek Prakash
Kill a Process in Linux Command Line
Found a misbehaving process? Here's how to teach a lesson to it by terminating it using various commands.
ยท Abhishek Prakash
Go to a Specific Line in Vim
To effectively use Vim, you need to master the navigation. Here are a few tips on quickly navigating inside Vim editor.
ยท Abhishek Prakash
LHB Linux Digest #22.06: grep, ripgrep, Vim Color Schemes and More
ยท Abhishek Prakash
rmdir Command Examples
Learn everything about the rmdir command in Linux which is used for deleting folders in Linux command line.
ยท Abhishek Prakash
How to Set Timeout in cURL
Downloading with curl taking too long? Set a timeout with curl command, so you don't have to wait long.
ยท Abhishek Prakash
How to Rename a Directory in Linux Command Line
Renaming a directory is the same as renaming the files. You use the mv command.
ยท Abhishek Prakash
How to Sort Files by Size in Linux Command Line
Learn to sort files by their size using the ls command in the Linux terminal. Also learn about finding the biggest files.
ยท Abhishek Prakash
Curl Downloading HTML Instead of The Actual Zip File? Here's What to Do
Used Curl to download a Zip file from GitHub but got an HTML file instead? That download link is not broken. Here's what you need to do.
ยท Abhishek Prakash
Using ripgrep (rg) Command in Linux
Rust based ripgrep may not be an exact replacement for the classic grep command, it provides plenty of useful search features like the grep command.
ยท Abhishek Prakash
Color Schemes in Vim: How to Change and Use Them
Dark or light or something else? The all-rounder Vim editor lets you set color schemes of your preference. Here's how achieve that.
ยท Abhishek Prakash
Enable Syntax Highlighting in Vim
Using Vim for reading or writing scripts and code? Enable syntax highlighting in Vim for a better experience.
ยท Abhishek Prakash
Making Nested Directories in Linux
Learn to make nested directories so that if a directory in the given path doesn't exist, it is created automatically.
ยท Abhishek Prakash
LHB Linux Digest #22.05: Intro to Syslog, Rootless Docker and More Linux Tips
ยท Abhishek Prakash
Delete Multiple Lines in Vim
Want to delete multiple lines or all lines or all empty lines in Vim? Here are a few tips to know about line deletion in Vim.
ยท Abhishek Prakash
What's the difference between kill and killall commands?
Both kill and killall commands are used for force stopping (killing) processes in Linux. Learn the difference between the two similar commands.
ยท Abhishek Prakash
How to Check Open Ports in Linux?
Which ports are occupied by which service? How many open ports are there? Learn to scan for open ports on your Linux system or any remote system.
ยท Abhishek Prakash
Show Hidden Special Characters in Vim
Wondering if it is 2 spaces or tabs? You can show special characters in Vim and easily identify them.
ยท Abhishek Prakash
LHB Linux Digest #22.04: AWS Exam Tips, FinOps, Vim Tips and More
ยท Abhishek Prakash
Solving 'manifest not found' Error While Pulling Docker Images
Here are some tips on troubleshooting the common 'unknown manifest' error while pulling a Docker image.
ยท Abhishek Prakash
Go to Beginning or End of File in Vim
Knowing to move to top or bottom of a file is extremely useful while dealing with large text files in Vim.
ยท Abhishek Prakash
How to Show Line Numbers in Vim
Do you know Vim can show absolute, relative and hybrid line numbers? Here's how to set it up.
ยท Abhishek Prakash
Changing the Color of the echo Command's Output
Using colors with the echo command could make your shell scripts more user friendly and attractive.
ยท Abhishek Prakash
LHB Linux Digest #22.03: Docker Tips, EduOps and Free Linux Command Line Book
ยท Abhishek Prakash