bash

seq 連番を作成します。 NAME cat -- concatenate and print files SYNOPSIS cat [-benstuv] [file ...] github githubのjupyter notebook形式のファイルはこちら google colaboratory google colaboratory で実行する場合はこち
expand ファイルを読み込み、タブを半角スペースに変換します。 github githubのjupyter notebook形式のファイルはこちら google colaboratory google colaboratory で実行する
cut テキストファイルを読み取り、特定の文字列で分割します。タブで分割されたファイルなどから特定の列の値を抽出します。 NAME cut -- cut out selected portions of each line of a file
echo 文字列を標準出力に表示します。 github githubのjupyter notebook形式のファイルはこちら google colaboratory google colaboratory で実行する場合はこちら 環境 筆者の
paste テキストファイルを列方向に結合します。catの列板です。 NAME paste -- merge corresponding or subsequent lines of files SYNOPSIS paste [-s] [-d list] file ... github githubのjupyter notebook形
cat ファイルを連結します。ファイルの中身を表示するのによく使用します。 ヒアドキュメントなど、複数行にわたるファイルを作成するのに利用します。 NAME
split ファイルの分割を行います。 NAME split -- split a file into pieces SYNOPSIS split [-a suffix_length] [-b byte_count[k|m]] [-l line_count] [-p pattern] [file [name]] github githubのjupyter notebook形式のファイルはこちら google colaboratory
unexpand 与えられたファイルのスペースをタブに変換します。結果を標準出力に表示します。 NAME expand, unexpand -- expand tabs to spaces, and vice versa SYNOPSIS expand [-t tab1,tab2,...,tabn] [file ...] unexpand [-a | -t tab1,tab2,...,tabn] [file ...] github github
ls ファイルやディレクトリを表示します。 以下の様にオプションがたくさんあるので、覚えるのは無理です。 自分がよく使うものを使えこなせれば良いかと
sort ファイルを読み込み、降順、昇順に並び替えをします。 NAME sort -- sort or merge records (lines) of text and binary files SYNOPSIS sort [-bcCdfghiRMmnrsuVz] [-k field1[,field2]] [-S memsize] [-T dir] [-t char] [-o output] [file ...] sort --help sort --version github githubのjupy