Top 5 Reasons to Install Linux on a Laptop / 3 Simple Commands to Search the File in Linux
If you’re an adventurer, Linux has a lot of features that can bring many features to your device. Perhaps the best part of every Linux operating system is the ability to install as a live disk,
which allows you to try various software and environments, and then completely remove your hard drive from that operating system.
Linux is released in many different distributions, and each of these is also your own choice. Ubuntu can be widely spaced as the most popular desktop distribution for novices, and will continue to focus on this operating system.
1. You do not need to leave Windows or Mac
To use your Linux operating system on a laptop, you do not need to delete your Windows or Mac operating system.
You can get your favorite Linux distribution and install it as a dual boot using a USB drive on a laptop along with Windows or Mac.
Follow the instructions on Ubuntu’s website. To install this operating system, you need an empty DVD or a 2 GB memory flash drive. The installation process is also very straightforward.
The benefits of using USB and DVD to install the operating system make it possible to use or test the operating system alive, without the space of your hard drive being occupied.
2. Easy setup
In the past, installing software and codecs known in Linux was hard even for those who knew a lot about computers, but now it’s not.
For example, Ubuntu at the right time prompts you to download the audio and video codecs you need, and in many modern systems you can instantly identify and connect to the Wi-Fi network.
Of course, you should not expect to feel completely comfortable with Windows or Mac after migrating to Linux, as you are now entering a completely new environment that has rules and even different user environments.
After migrating to Linux, try to stimulate a little bit of your curiosity so you can get more out of the environment you’re in.
3. Access to required items
Ubuntu comes with default Firefox, Thunderbird client for email and LibreOffice for editing or editing documents, GIMP for editing or making images and coding for home theater management.
Other commonly used software in different versions of Linux include Google Chrome, VLC, Slack, Telegram, Dropbox, Skype and Spotlight.
Of course, web apps such as Google Play Music, Microsoft Office and more can be added to this list.
4. High security
Few people are using their Linux desktop system, so there’s a small number of hackers to sabotage the operating system.
So Linux is known as a very secure operating system. This system is made securely from the base.
Linux, of course, resembles the rest of the operating system, but the fact that there is a small amount of malware for this platform makes it possible for this operating system to be considered appropriate for security reasons.
5 Support for free and open source software
Linux is much more than an operating system, and can be described as a philosophy. Linux not only supports free software such as Google Chrome and other applications, but also the source code of all of them is open and free.
When you use Linux, it’s actually supported by a global and global community that generates free software for installation and use.
This philosophy has helped create a lot of creativity on both the web and other operating systems, such as Windows and MacOS.
If you like free space with free software and security, you can now use Ubuntu and other Linux distributions.
3 Simple Commands to Search the File in Linux
The Linux file system is different from Windows, which is why users are more likely to be involved with the Linux file system, and this often brings with it serious problems.
If you’ve worked with the Linux terminal, you’ll probably notice the power that you can easily do with everything.
One of the things that everyone might face once is to search files in the Linux environment; there are several commands along with switches that can be used to locate the exact location of files in the Linux system.
One of the most important and practical Linux commands is the find command, its use to find a list of files and folders based on specific terms specified by the user.
For example, the user can do a search based on the level of access, users, groups, file type, date, size, and other possible criteria.
Which command
The command is the easiest command between the three commands described in this article. But this is a bit of simplicity with various switches that make the command unique.
In the Linux system, any command you enter in the terminal,
when the command is executed, is referred to a specific library.
In fact, when you type a command, this binary file is a command that runs. The command that shows the path of another command.
For example, by entering the command with the desired command,
the output is the path where the second binary file is located there.
The picture above illustrates this. In this example, next to the sudo command that has a separate application itself,
the output of this command represents the sudo command line, which is located in the usr / bin / sudo / path.
The command that has the ability to simultaneously display the path of multiple files. To do this,
after typing that and entering the first command, then the space and the second command, you can get the path of both commands.
The same command exists that provides more information. The whereis command does not just display the path of
the binary file and displays the path of the source files of the commands.
Also,
keep in mind that this command is the same as the one that can display the results of multiple commands simultaneously.
The only major difference between which and whereis is that it executes the search command in all the directories in the current path,
while whereis performs search in all system folders.
Locate command
The locate command uses pre-built databases to search,
which makes it quicker to search. In fact, the concept of this command is more like the search of an index in Windows.
This type of search is far faster than the entire disk search,
but the only problem is that indexes may sometimes not update and file changes are not saved.
Although its Linux system occasionally updates its index list, it is also possible to manually update them.
You can use the updatedb command to do this,
but keep in mind that running this command will be a bit too timely.
To use the locate command, all you need to do is enter the phrase and query to search.
After this step, the results will include all indexed folders. If you want the output to be just the desired result and you actually want to restrict the command,
use the b-parameter in this case.
If you also want the results to be case sensitive,
use the i-parameter, and you can use the # parameter to limit the number of results.
The command Find
The find command is one of the most awesome Linux commands. With this command you can do some very interesting things. This command is used to find the file in a specific branch and all its subcategories.
Searches can be very diverse and the features of the program are very detailed. If you enter the find command without any arguments and options,
it will print the list of all files in the current directory and its subcategories.
You can enter the path you want to search there immediately after the command; the above example searches in the tmp directory and displays all the files in that directory and its subfolders.
This command can be used to find files based on file names by basic found commands,
find files based on access levels, search files by Owner and Groups, search files and folders by date and time,
and search by volume. Files done The use of the Find command is very extensive and has many parameters.