hpr0953 :: LiTS 003: cut

Dann
Ngôn ngữ: English
Source:
Now Playing

1/1hpr0953

00:00
00:00
1 Chương
  • 1. hpr0953

Giới thiệu

Summary: Using the cut command

Series: Linux in the Shell

Source: [http://hackerpublicradio.org/eps.php?id=0953](http://hackerpublicradio.org/eps.php?id=0953)

In the third in his series Dann, shows us the benefits of the cut command:

The cut command, as the man page states, "removes sections from each line of a file." The cut command can also be used on a stream and it can do more than just remove section. If a file is not specified or "-" is used, the cut command takes input from standard in. The cut command can be used to extract sections from a file or stream based upon a specific criteria. An example of this would be cutting specific fields from a csv (comma separated values) file. For instance, cut can be used to extract the name and email address from a csv file with the following content:

[http://www.linuxintheshell.com/2012/03/28/episode-003-cut](http://www.linuxintheshell.com/2012/03/28/episode-003-cut)/ for the complete shownotes, including video.

Bình luận

Hãy là người đầu tiên bình luận

Chưa có bình luận nào về nội dung này. Hãy bắt đầu cuộc trò chuyện!

Thẻ: hpr0953 :: LiTS 003: cut audio, hpr0953 :: LiTS 003: cut - Dann audio, free audiobook, free audio book, audioaz

SPONSORED AD