Showing 21-30 of 67 items.

Find Files Larger Than 1GB in Linux

Last updated on Dec 29, 2019 in Linux

If you need to find all the big files under the given folder, you can use `find` command.

Find Files Smaller Than X KB in Linux

Last updated on Dec 29, 2019 in Linux

If you have to find files that are smaller than a particular file size, you can use `find` command to do the job.

Count Lines in File in Linux

Last updated on Dec 29, 2019 in Linux

Counting lines of a text file can be done with a one simple Linux command `wc`, which stands for *word count*, but with parameter `-l` it counts also lines.

Count Words in File in Linux

Last updated on Dec 29, 2019 in Linux

Counting words of a text file can be accomplished with a command `wc`, which stands for word count.

Count Characters in File in Linux

Last updated on Dec 29, 2019 in Linux

To count characters of a text file can be done with a `wc` command, which stands for *word count*, but you can count charactes as well.

Count Word Occurences in File in Linux

Last updated on Dec 29, 2019 in Linux

When you need to count word occurences in a text file, you have at least two options: open the file in your favorite text editor and use its built-in tools, or do it directly from the terminal using some basic Linux commands such `grep` and `wc`.

Search Files Recursively With Locate in Linux

Last updated on Dec 30, 2019 in Linux

If you are not sure where the file could be found in your Linux file system, you can use efficient `locate` command. It store information about file locations in embedded database, so locating any file is very fast.

Search Files Recursively in Linux

Last updated on Dec 30, 2019 in Linux

There are many ways to find files from a Linux file system, but one useful method is to use `find` command with `grep`. This tutorial will explain this in more detail.

Find and Replace Text Within File in Linux

Last updated on Dec 30, 2019 in Linux

You can find and replace text within a file or multiple files with a single one-liner in Linux. The command we are using is `sed`.

MySQL Export Database to File in Linux

Last updated on Dec 30, 2019 in MySQL, Linux

It is very useful to know how to export MySQL database from Linux command line by using `mysqldump`. You just need to know MySQL user's username and password, and the database name that you want to export.