Celebrate the Big Data Problems – #4

Celebrate the Big Data Problems – #4

Celebrate the Big Data Problems – #4

What are the possible ways of command level searching in Linux?

The dataottam team has come up with blog sharing initiative called “Celebrate the Big Data Problems”. In this series of blogs we will share our big data problems using CPS (Context, Problem, Solutions) Framework.

Context:
Search in Linux environment is powerful tool and it yields efficiency and productivity of user and developers. One of the biggest problems is users run into when first dealing with a Linux machine is how to find the files, text, and ptah they are looking for.

Problem:
What are the possible ways of command level searching in Linux?

Solutions:
Use the below commands we can able to multiple searching options in Linux environment.

  • apropos – Often a wrapper for the “man -k” command, the apropos command is used to search all manual pages for the string specified. This is often useful if one knows the action that is desired, but does not remember the exact command or page name. In simple it’s search man pages for topic.
  • egrep – Search for a pattern using extended regular expressions. egrep is essentially the same as running grep with the -E
  • fgrep – Search a file for a fixed-characterstring.
  • find – search the system for files by name and take a range of possible actions.
  • grep – search file for text patterns.
  • locate – search a preexisting database to show where files on the system.
  • look – search file for string at the beginning of lines.
  • strings – search binary files for text patterns.
  • updatedb – update the locate database.
  • whereis – Find command. 

Read More ...

Sanjeev Singh

Building Gensol EV | GenAI Advisor in Startups ??

9 年

Grt learning thanks

回复

要查看或添加评论,请登录

Kumar Chinnakali的更多文章

社区洞察

其他会员也浏览了