Skip to content

LinuxTect

Linux, Ubuntu, Debian, Mint, CentOS Tutorials

  • Debian
  • Ubuntu
  • Mint
  • CentOS
  • Bash
  • Administration
  • Privacy Policy
  • About

line number

How To Count Lines In Linux?

January 1, 2021 by ismail
How To Count Lines In Linux?

Linux is a file-based operating system that contains a lot of files. Linux generally prefers simple text files for configuration and different purposes for its simplicity and ease to read and write. But how can I count lines in Linux? What Is Line In Linux? A file consists of some data which can be a … Read more

Categories Bash, CentOS, Debian, Mint, Ubuntu Tags awk, cat, grep, line number, nl, sed, wc Leave a comment

Print Line Number For Grep Command

October 21, 2020 by ismail
Print Line Number For Grep Command

grep is a popular tool in order to search and find a given term in files. grep can search multiple files at the same time and match using regular expressions etc. While searching files the matched lines can be printed to the screen with the grep command. In this tutorial, we will examine different ways … Read more

Categories Bash, CentOS, Debian, Mint, Ubuntu Tags grep, line number, regex, search files, vi, vim Leave a comment

LinuxTect Social

  • Facebook
  • LinkedIn
  • RSS
  • Twitter

Recent Posts

  • How To Count Lines In Linux?
  • How To Get Size of Directory/Folder In Linux?
  • What Is TTY and How To Use It In Linux?
  • How To Ignore and Disable SSL/TLS Certificates Check with Curl Command?
  • How To Use Curl Command with HTTPS?

Tect Sites

WiseTut || LinuxTect || PythonTect || WindowsTect || PofTut
© 2021 LinuxTect • Built with GeneratePress