25 Top Ubuntu Commands & Shortcuts: Basic to Advance

Jake Levins March 27, 2020 7 No Comments

25 Top Ubuntu Commands & Shortcuts: Basic to Advance

In Short Hacks: See, “you not only have to be a good coder to create a system like Linux, but you also have to be a sneaky bastard too” Said- Linus Torvalds. Ubuntu is one such OS which lets you make one thing productive and in addition teaches you a number of Coding Stuff. But, Its will not be straightforward for Beginners to grasp it simply. So to make your activity simpler, we’ve had added some Top 25 Most used Ubuntu Commands and Shortcuts of 2019

Top Ubuntu Commands & Shortcuts: Basic to Advance

Top Ubuntu Commands: Most of the individuals who personal a pc, use the Windows working system in it! An working system is a program, which makes it doable for us to work together and provides instructions to the pc. Without an working system, one can’t carry out any activity on the pc.

Windows shouldn’t be the one working system on the planet! But, it is likely one of the most generally used working methods resulting from its user-friendly interface. Apart from Windows, there are numerous different working methods resembling MacOS, Android, Ubuntu, and so forth.

This is a Linux distro, based mostly on Debian. It was initially launched within the yr 2004 and continues to be being utilized by numerous folks all over the world! The default set up of Ubuntu comes with a number of different software program resembling LibreOffice, Firefox, Thunderbird, Transmission, and so forth. Also, there are a number of pre-installed video games resembling Sudoku and chess.

Unlike the Windows working system, this working system has a set of highly effective command traces, which might help you in performing nearly each activity. Using command traces in Ubuntu is quicker than utilizing its graphical interface!

Thus, right here we’re with a set of among the most helpful Ubuntu command traces, for novices!

#1 How to make a listing?

This is likely one of the most elementary issues which you are able to do, through the use of the ‘mkdir‘ command. You can signify the situation the place you want to create this listing.

#2 How to view the contents of a listing?

You could make use of ‘ls‘ command to record all of the contents of a listing in Ubuntu.

Note: It shows the contents of the current working listing.

#3 How to rename/copy/delete a file?

Use the mv command to rename a file. For instance, to rename log.txt to new_log.txt, run the command: mv log.txt new_log.txt.

You may use this command to maneuver a file from one location to a different. For instance, to maneuver log.txt to /residence/folder, run the command ‘mv log.txt /residence/folder.’

To copy a file from one listing to a different, you need to use the ‘cp‘ command. For instance, cp log.txt /residence/folder will create a replica of log.txt within the /residence/folder listing.

To take away a file, one could make use of the ‘rm‘ command. In this command, you might be anticipated to enter a filename as an argument. For instance, rm log.txt will take away the textual content file, if current within the present listing, whereas rm /residence/folder/take a look at/log.txt will take away the textual content file current within the take a look at listing.

To take away a listing, use the -r command line choice with the rm command. For instance, rm -r /residence/folder/take a look at/ will delete the take a look at listing with all its subdirectories and information.

#4 How to seek for a file?

To seek for a file, you may make use of ‘discover‘ command. You have to enter the listing path and filename together with this command. If you don’t specify the listing, discover command searches to your file within the current working listing.

#5 TremendousUserDo (sudo).

This command sudo is an abbreviation for TremendousUserDo. You should use it whereas typing instructions which require permission from the foundation (if you’re not a root consumer). All you’ll want to do is, merely place this command earlier than the command that you simply need to execute with root permission.

#6 Power-off laptop (Poweroff).

This command flashes you to energy off your laptop utilizing the Ubuntu terminal. You can use this command as an alternative choice to the normal technique of turning off your laptop.

#7 How to examine your Disk area?

Since storage is a vital side of a pc, one must preserve observe of the disc area. You can use the ‘df‘ command to get all of the details about your disc area.

Apart from command traces, one may use the keyboard shortcuts in Ubuntu to save lots of your self from the graphical interface.

Also Read: Top 200+ Best CMD Tricks, Tips And Hacks Of 2019 (Command-Prompt Tricks)

Ubuntu Terminal Keyboard Shortcuts
Picture Credit: Reddit

#1 Ctrl + Shift + T- Open new tab on present terminal.

#2 Ctrl + Shift + W- Close the present tab.

#3 Ctrl + R- It lets you search your historical past for instructions matching what you might have typed.

#4 Ctrl + C- Kill the present course of.

#5 Ctrl + Z- Suspend the present course of by sending the sign SIGSTOP.

#6 Ctrl + Shift + C- Copy the highlighted command to the clipboard.

#7 Shift + Insert- Paste the contents of the clipboard.

#8 Up/Down Arrow keys- Used to scroll by way of your command historical past, lets you shortly execute the identical command a number of instances

#9 TAB- One can use it to finish the command you might be typing. If there are a couple of choices, you’ll be able to press it a number of instances to scroll by way of all of the doable completions.

You May Also Like:

Most Useful Ubuntu Commands that it is best to know

Sr. No.Ubuntu CommandFeature
1sudo To run any command as superuser (root)
2passwdTo change password
3sudo -u To run a command as every other consumer
Graphical sudo utility
5sudo visudoTo edit the sudoers file to vary sudo permissions
6apt-get -f set upFix damaged bundle
7apt-cache showpkg Show bundle data
8apt-cache search To seek for a specific bundle
apt-get autoremove To take away a bundle
fsckUtility to examine the filesystem for inconsistency. eg. fsck /dev/sdb
Ctrl+Alt+backspaceRestart X-server whether it is hung
/and so forth/x11/xorg.confX11 configuration file


These had been among the most helpful instructions and shortcuts in Ubuntu for novices 2019! You can use these instructions/shortcuts to execute particular duties with out utilizing the graphical interface. Once you get acquainted with these instructions/shortcuts, you’ll be able to simply execute frequent duties by way of these Ubuntu instructions/shortcuts.

If we’ve missed out on any such helpful Ubuntu command/shortcut for novices, then please tell us about it within the feedback part under. Cheers! 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *