University of California San Diego
Linux Tools for Text Processing
University of California San Diego

Linux Tools for Text Processing

Robert Sinkovits

位教师:Robert Sinkovits

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
初级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
初级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • Use of basic and advanced tools for searching and manipulating text in a Linux environment

  • Regular expressions in the context of awk, sed and grep

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

October 2025

作业

12 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有7个模块

In this module, we start by providing some background on Linux tools, the prerequisites for the course, Linux flavors, the motivation for automating tedious and repetitive tasks, and accessing the GitHub repository. We also provide optional instructions for Mac users who wish to access the standard version of the tools that are distributed with Linux distros.

涵盖的内容

2个视频5篇阅读材料

In this module, we dive in and cover the simpler tools in roughly their order of increasing complexity: head, tail, wc, expand, tac, paste, nl, tr, sort, shuf, uniq, split and cut. Along the way, we discuss the similarities and differences between the tools, potential pitfalls, limitations and linking tools together to create simple workflows.

涵盖的内容

9个视频1篇阅读材料5个作业

This module explores three of the more powerful Linux text processing tools: grep, awk and sed. We start with using grep to find matches in a file. We then cover awk, which is actually a full programming language, but will limit our treatment to one-liners for extracting fields and records from a file. The module concludes with sed, a stream editor that can operate efficiently on arbitrarily large files.

涵盖的内容

4个视频3个作业

This module introduces regular expressions and the key features such as character classes, quantifiers, groups, anchors, alternation and word boundaries. These features are all covered in the context of grep, but we'll see later that they carry over to awk and sed.

涵盖的内容

6个视频1个作业

This module continues our discussion or regular expressions, going into some of the more advanced features that are only available in Perl compatible regular expressions, such as lazy matching, lookahead, lookbehind and backreferences. We also show how regexes can be used with awk and sed.

涵盖的内容

6个视频2篇阅读材料2个作业

This is the last mandatory module of the course and includes the final exam and some closing remarks.

涵盖的内容

1个视频1篇阅读材料1个作业

This module contains the lecture notes used during the production of the videos. This is not required reading and is provided for those who wish to supplement the videos or who find that they learn better from written materials. Unlike the transcripts, these PDFs contain the commands that were executed during the videos. Note that while the videos generally follow the lecture notes, there will not be an exact correspondence between the videos and notes.

涵盖的内容

25篇阅读材料

位教师

Robert Sinkovits
University of California San Diego
1 门课程19 名学生

提供方

从 Data Analysis 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题