Зарегистрируйтесь сейчас для лучшей персонализированной цитаты!

Can't remember the Linux command you ran earlier? Let history repeat itself

13 Марта 2023 года Hi-network.com
Tony Anderson/Getty Images

History does repeat itself. At least with regards to the Linux command line interface (CLI). Although modern Linux distributions don't require users to ever open a terminal window (which is a good thing), if you ever decide to adopt Linux as a server operating system or just want to get even more flexibility and power out of the OS, the command line will be your friend.

Also: 8 things you can do with Linux that you can't do with MacOS or Windows

I've been using Linux for a very long time, so the terminal window is second nature to me. Because of that, I run a lot of commands. Sure, I could do everything I need with a GUI, but sometimes the terminal is just faster (for me). 

However, there are days when I find myself staring at the terminal window, scratching my head and trying to remember the command I ran the previous day. Thankfully, with Linux, there are a number of ways to locate the command. I tend to use two methods. The first is to use the up and down arrow keys to scroll through the last few commands I ran. Although that method is my go-to, there are times when I have to scroll so far back in my history that it's not exactly the most efficient use of my time. 

Also: The best Linux laptops you can buy

There's another way to view those previously run commands. With a nod to irony, the method of viewing previously run commands is yet another command

tag-icon Горячие метки: Услуги и программное обеспечение Открытый исходный код

Copyright © 2014-2024 Hi-Network.com | HAILIAN TECHNOLOGY CO., LIMITED | All Rights Reserved.