LINUX Basic 1

LINUX Basic 1

The text provides an overview of various commands and utilities in Linux, including regular expressions, #grep, #find, #wc, #cut, #sort, #cat, #xargs, archiving with tar, package installation with YUM and dnf, and monitoring processes with ps and free. It explains how to use these commands for searching, counting, filtering, sorting, displaying, and archiving data in Linux systems.



correct spelling for below regular expression this regular expression is highley famous among the searching the strings as we can see that in below how we need to look for it we start with the brakets [] and the data in it like [asdasd] this will search the data any words matches in that list like p[ai]n this will match the data like pin and pan not pain as it has only one word p[^ai]n this will match all the coloumns in the data

GREP Command we can use the grep command to search for a file content of the file the line contains the string we can also use the grep to search for search a specific file and string specified

grep --count grep --file grep -- RGREP FOR RECURSIVE FILE grep -e is for regular expression

USING FIND

the FIND utility implement a brute- force approcahe to find files this progrtame finds files by searching through the specified directorye tree, checking filenames, file creations dates.

find --name find -perm mode -size n group name gid GID

Using WC this used for checking the word count of file Using cut -d -c -f

Using the Sort Command to sort the data in a file

Using Cat command cat is used to show the data in the file cat can be used to concat the file output as a single one

Xargs command helps to send one ouput to the input of the other files


2> 2>> &> ,<< <>

Less is to see the file we can use pipe or pipeline |

generating command lines Backtick “ ` ” : this will help to make a seperate command whose result are to be procressed.

Archiving the data

using tar tar is a tape archiver. Tar is used for backup data tp your hard disk or other media -c create an archieve -a append tar to an archive file -r append non-tar files to an archive GZIP bZip XZ

linux package we use YUM, dnf for pacakage installation debangen is apt-get ] like dnf install yumex

ps command to look into the procress which are running free command to check over all

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

SHOAIB SHAIK的更多文章

  • spaCy part 1

    spaCy part 1

    spacy is an interesting production-ready, deployable package that help in the processing the language processing with…

  • Project Nessie

    Project Nessie

    Project Nessie is an open-source transactional catalog for data lakes, built to provide Git-like semantics for data…

  • BIG QUERY- Part 1

    BIG QUERY- Part 1

    Simple Answer to understand Part 1 what is bigquery big query is a fully manged service that helps the user and eng to…

  • Responsibility for the data engineer part 2

    Responsibility for the data engineer part 2

    Technical Responsibilities You must understand how to build architectures that optimize performance and cost at a high…

  • What does the data engineering do.

    What does the data engineering do.

    data engineer do a set of operations aimed at creating interface and mechanisms for flow and access of the information,…

    1 条评论
  • Big Query - GCP

    Big Query - GCP

    What is BigQuery? How does BigQuery work? BigQuery administration and access BigQuery best practices and cost…

  • Deep Learning Intro 1

    Deep Learning Intro 1

    Deep learning is a computer technique to extract and transform data—with use cases ranging from human speech…

  • Hadoop FLUME SQOOP

    Hadoop FLUME SQOOP

    Hadoop NameNode Metadata Discusses the components of Hadoop NameNode metadata, including fsimage and edits files, and…

  • SQL Basic 1

    SQL Basic 1

    Client/Server Architecture After the era of mainframes, the shift was towards client/server systems where a main…

  • Python Basic Questions

    Python Basic Questions

    \ Parser: What is the position of the parser we use the parser to have the code translated to the byte code level…

社区洞察

其他会员也浏览了