Experiences With Open Source

Linux, Android, Python…

  • About

Tag: find

find the total of files in the directory

By admimin
January 20, 2017LinuxLeave a Comment on find the total of files in the directory

There is a command in linux console to count total files in the directory. ls | wc -l The result will show a number. Actually the wc command is to print newline, word, and byte counts for each file. Here are the option for wc command -c, –bytes print the byte counts -m, –chars print the character […]

Continue Reading

search file by content using grep

By admimin
January 8, 2017January 8, 2017LinuxLeave a Comment on search file by content using grep

in any Linux, there are lots of rich command that we can use it through the console / command mode. Like searching for the text inside the file. Here is my example. $grep ‘text’ *.doc And many others.

Continue Reading

Archives

Categories

  • Android (5)
  • Articles (6)
  • Blogwalking (1)
  • Iseng (7)
  • Linux (452)
  • Programming (20)
  • Python (6)
  • ReactJs (1)
  • Slackware (1)
  • Thoughts (3)
  • Windows (13)
  • Wordpress (8)
© Copyright 2021 Experiences With Open Source. Powered by WordPress.