Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /home/u596154002/domains/usbusinessreviews.com/public_html/wp-includes/load.php on line 2057

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rank-math domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u596154002/domains/usbusinessreviews.com/public_html/wp-includes/functions.php on line 6114
Two tricks that make using the Linux command line a lot easier - Best Business Review Site 2024

Two tricks that make using the Linux command line a lot easier

[ad_1]

Two penguins walking towards the left

Darrell Gulin/Getty Images

One of the myths surrounding the Linux operating system is that you have to run all sorts of complicated commands to get anything done. Although that may have been the case some time ago, it’s no longer a reality.

You could go your entire life with Linux and never run a single command. That’s how far the Linux desktop has come over the years. 

Also: The best Linux laptops 

However, for some users, the power offered by the Linux CLI (Command Line Interface) can be enticing. And, as someone who’s used Linux for decades, I still revert back to the command line for certain things.

That’s because the CLI can be really efficient. Case in point, there are two features you should know about that make using the Linux command line even easier: Tab completion and history. Let me explain each of these.

How to use tab completion

What you’ll need: The only thing you’ll need for this is a running instance of Linux. It doesn’t matter what distribution you use because both of these features are found in all flavors of the open-source operating system.

Let’s say you know there’s a command you need to run but can’t remember its name. You know it starts with sys, but that’s all you can remember.

Linux commands that start with sys.

Trying to remember the systemctl command is easier with tab completion.

Screenshot by Jack Wallen/ZDNET

Even better, you don’t have to type out the entire command. Say, for example, the command you were looking for was systemctl. You could type systemc, hit Tab, and the remainder of the command will be automatically filled out. 

Also: This tool is my new favorite way to monitor and manage apps on the Linux desktop

This little trick works better if there aren’t as many commands that start with system (because to get it to work for systemctl you have to type all but the final two letters. For example, if you use Samba (for folder shares across your network), you could type smbc and hit Tab to have the entire smbcontrol command completed for you.

How to use command history

1. Scroll through your command history 

Do you remember the last command you typed? If it was a complicated command, you might not want to have to type it again. To avoid that, open your terminal window and hit the up arrow on your keyboard. What you should see is the last command you ran. Hit the up arrow again and you’ll see the command before that. Keep hitting the up arrow on your keyboard and you’ll go through the entire saved history of the commands you’ve issued.

2. Run a command from your history 

When you find the command you want to run, stop on it and hit Enter on your keyboard. That command will run as though you just typed it. This trick comes in very handy when you either don’t feel like typing complicated commands or you can’t remember the exact command you’d previously run. 

Also: Can’t remember the Linux command you ran earlier? Let history repeat itself

To this day, I use both of these tricks with Linux and they never fail to make using the command line a bit easier. Once you start using these handy helpers, you’ll be less fearful of using the Linux CLI.



[ad_2]

Source link

slot gacor slot gacor togel macau slot hoki bandar togel slot dana slot mahjong link slot link slot777 slot gampang maxwin slot hoki slot mahjong slot maxwin slot mpo slot777 slot toto slot toto situs toto toto slot situs toto situs toto situs toto situs toto slot88 toto slot slot gacor thailand slot bet receh situs toto situs toto slot toto slot situs toto situs toto situs toto situs togel macau toto slot slot demo slot pulsa slot pragmatic situs toto deposit dana 10k surga slot toto slot link situs toto situs toto slot situs toto situs toto slot777 slot gacor situs toto slot slot pulsa 10k toto togel situs toto slot situs toto slot gacor terpercaya slot dana slot gacor pay4d agen sbobet kedai168 kedai168 deposit pulsa situs toto slot pulsa situs toto slot pulsa situs toto situs toto situs toto slot dana toto slot situs toto slot pulsa toto slot situs toto slot pulsa situs toto situs toto situs toto toto slot toto slot slot toto akun pro maxwin situs toto slot gacor maxwin slot gacor maxwin situs toto slot slot depo 10k toto slot toto slot situs toto situs toto toto slot toto slot toto slot toto togel slot toto togel situs toto situs toto toto slot slot gacor slot gacor slot gacor situs toto situs toto cytotec toto slot situs toto situs toto toto slot situs toto situs toto slot gacor maxwin slot gacor maxwin link slot 10k slot gacor maxwin slot gacor slot pulsa situs slot 10k slot 10k toto slot toto slot situs toto situs toto situs toto bandar togel 4d toto slot toto slot