The Linux operating system is gaining popularity every day as a good alternative to Microsoft's Windows systems. Linux is most often used on servers and is also in demand among programmers and software developers. The system is stable and secure, but it has many differences from Windows, including in the implementation of file operations due to differences in the used file systems.
Instructions
Step 1
Modern Linux distributions most often have a graphical shell that allows you to manage files directly through an interface that is enough for the average user. To find a file in the shells of Unity, GNOME, KDE, xFCE, etc., you can open any folder and use the search bar at the top of the window or through the item "Edit" - "Search".
Step 2
To search at the command prompt, enter the following command:
find / -name file
and press Enter. This query will list all files on the system ("/" is used to specify a search for all folders) named file. The –name parameter performs a case-sensitive search, ie. the program will recognize uppercase and lowercase letters. To run a case-insensitive search, enter the -iname attribute:
find / -iname file
Step 3
Use the “*” index to get a list of system files that start with specific letters. For example:
find / -iname ‘file *’
Step 4
To see files of a specific extension, use "*.format":
find / etc -iname ‘*.jpg’
This command will list images with “.jpg” resolution in the “/ etc” folder of the system.
Step 5
There are also other commands for browsing lists and searching for files. For example, the ls command will list all the files in the current directory. You can also set the parameter:
ls / etc
This will allow you to view the contents of a specific / etc directory. You can use the du command to list the folders in the current directory, which has a syntax similar to ls.