Find Files by Modification Time in linux

find command linux

Find Files by Modification Time in linux In Unix-like and some other operating systems, find is a command-line utility that searches one or more directory trees of a file system, locates files based on some user-specified criteria and applies a user-specified action on each matched file. The find command contains the ability to filter a directory hierarchy … Read more

Find Files Based on their Permissions in Linux

find command linux

 Find Files Based on their Permissions in Linux In Unix-like and some other operating systems, find is a command-line utility that searches one or more directory trees of a file system, locates files based on some user-specified criteria and applies a user-specified action on each matched file. Let’s have some example Find Files With 777 … Read more

Find Linux Command : Basic

find command linux

In Unix-like and some other operating systems, find is a command-line utility that searches one or more directory trees of a file system, locates files based on some user-specified criteria and applies a user-specified action on each matched file. Find is a command for recursively filtering objects in the file system based on a simple … Read more

grep : Linux Command

grep linux command

Searching Inside the File/Files in Linux  grep prints the matching lines Let’s have some example to understand this: Example 1: To Search for the given string in a single file  Let me create a file eduguru.sh. $ cat eduguru.sh #!/bin/bash fun() echo “This is a test.” # Terminate our shell script with success message exit 1 fun() Now … Read more

rsync : Linux Command

rsync command

rsync = Remote Sync This is a remote and local file synchronization tool. It uses an algorithm that minimizes the amount of data copied by only moving the portions of files that have changed. This is a very flexible network-enabled syncing tool. Due to its ubiquity on Linux and Unix-like systems and its popularity as … Read more

cd : linux command

cd command

cd : Change Directory The cd command, which stands for “change directory”, changes the shell’s current working directory. It is a builtin command, which means that it is executed directly by your shell, instead of launching an external program. cd is a command-line OS shell commandused to change the current working directory in operating systems such as … Read more

CP : Linux Command

cp command

cp command under a Linux, UNIX-like, and BSD like operating systems is used to copy files and directories . cp is the command entered in a Unix and Linux shell to copy a file from one place to another, possibly on a different filesystem. The original file remains unchanged, and the new file may have the same … Read more

PWD : Linux Command

pwd

pwd prints the full pathname of the current working directory. In Unix based system like linux and some other operating systems, the pwd command writes the full pathname of the current working directory to the standard output. pwd = print working directory.