find – POFTUT

Tagged: find

0

What Is mtime In Linux and Find Command?

Linux operating system and related technologies and tools provide modification time of the files, folders, executables etc. mtime is an attribute used by files, directories and different type of files like text, binary etc. In this tutorial, we will learn how to use mtime attribute with Linux find and related commands. Modification Time (mtime) Files and folders are modified in different time during the usage of Linux system. This modification...

How To Delete File In Linux? 0

How To Delete File In Linux?

Deleting files in Linux can be sometimes tricky. We have a tool named rm which is the shortcut for the remove word. In this tutorial, we will look at how to remove or delete a file in Linux with different examples and way. rm Command Syntax rm  command syntax is the same as the most the Linux command. We can provide options before specifying the file and directories we cant to...

0

How To Find File By Name In Linux?

Linux provides different tools to find file for different attributes. We can find files according to their size, name, modification time location etc. But one of the most used metric is finding file according to its name. In this tutorial we will look different tools to find files by name in Linux. Using find find  is the most feature-full tool to find files according to its name. find provides a lot...

0

How To Use Find Exec Command In Linux Bash?

Linux find command provides a lot of features to search and filter files in file system. One of the most popular and useful feature of find command is exec option. exec option is used to to run commands with founded search results. Linux Find Command With Examples Run Command We will with a simple example where we will just provide single command to run with results. We will use -exec...

0

How To Use Grep Command Recursively Through Sub-Directories In Linux?

grep is very useful command to search files and directories. What makes grep powerful is that it can search file contents. We can search file content according to extension. Recursive behavior makes it more powerful by looking sub directories and files. Introduction to Linux Grep Command With Examples Recursive -r Option We will start with a simple example and only specifying recursive option -r which is shortcut for “recursive”. In...

How To Find Files, Folders and Directories In Linux From Command Line? 0

How To Find Files, Folders and Directories In Linux From Command Line?

Linux provides different ways to find and locate files and folders. We can use GUI tools like GNOME and KDE file managers or other 3’rd party applications designed for finding files. In this tutorial, we will look at how to find files, folders, and directories from the command line. Tools As stated previously there are a lot of tools that can be used to find files and folders. We will...

0

How To Find and List Large Files and Directories In Linux?

One of the important job for System Administrators is finding and deleting large and unneeded files from Linux operating system. In this tutorial we will look how to find, sort and delete large and trash files from Linux distributions like Ubuntu, Debian, Mint, Fedora, CentOS and RHEL etc. Large Files Directories In Linux distributions there are some directories and paths where files generally holds a lot of disk space. These...

0

How To Change File and Directory Permissions with Chmod Recursively

We have an archive which is archived by someone else and we want to change file and directory permissions. In order to change all sub files and directories permissions we need to run chmod recursively. Recursively means please apply given permissions all given files and folders and their sub files and folders. -R or –recursive Option In order to change files and directories permissions recursively chmod provides recursive feature with -R or –recursive options....

0

Python String Find Tutorial with Examples

Python provides a lot of string functions and functionalities. But finding string in a string or text is popular use case in the application developers. In this tutorial we will look different usage of find function of string type. Just Find We will use find function and provide the string we are searching for. As we know find function is provided by string types where we will search in. In this example we...

0

Search Text Files Content With Findstr Command In Windows

Windows provides findstr tool to search file contents. These file contents expected to be text and string but binary binary files are accepted too. But searching binary files and content will not give good results. In this tutorial we will look different usage types of the findstr command. Keep in mind that this is different than Windows find command which can be found following tutorial. How To Find Specified Strings In...

Enjoy this blog? Please spread the word :)