DEV Community

Cover image for Increase Productivity with Commands and Shortcuts
jones268
jones268

Posted on

Increase Productivity with Commands and Shortcuts

Commands and shortcuts can boost your productivity 🔥

If you are a developer, commands and shortcuts are everywhere. Knowing the commands and shortcuts saves you a lot of time.

As a programmer, you most likely use git or will have to use git. Git is a version control system that is often used to work with code.

Vim, a programmers editor, heavily uses commands/shortcuts. The w to jump to the next word, b to jump backwards, / to search, d2w to delete two words and so on.

You probably have to learn SQL if you use databases. Nearly all web apps use a database and SQL is the language that interacts with databases.

Linux commands are the most important part for the study of Linux. Without the knowledge of these commands, a normal Linux user cannot compete with an advance or an expert!

You can practice git, practice linux and others online instead of going through hundreds of manuals or blogs 😄

Show me commands

Some Linux commands are shown below. The ls command lists the contents of directories

$ ls
Enter fullscreen mode Exit fullscreen mode

The tree command lists the contents of directories in a tree-like format.

$ tree
Enter fullscreen mode Exit fullscreen mode

The du command shows disk usage for a directory and its subdirectories.

$ du
Enter fullscreen mode Exit fullscreen mode

The find command find files.

$ find . -name "*.mkv"
Enter fullscreen mode Exit fullscreen mode

The tail command just prints the last 10 lines of a file.

$ tail ~/.bash_history
Enter fullscreen mode Exit fullscreen mode

The head command prints the first 10 lines of a file.

$ head ~/.bash_history
Enter fullscreen mode Exit fullscreen mode

Discussion (0)