Linuxでコマンドの結果をファイルに出力する方法

Linuxでコマンドの結果をファイルに出力する方法

Linuxでコマンドの結果をファイルに出力する方法

■OS

Ubuntu 10.04

■作業

Linuxでコマンドの結果をファイルに出力する

■方法

リダイレクト記号を使用する

■Linuxでコマンドの結果をファイルに出力する方法

ls -la >> test.txt

※ls -laの結果をtest.txtに出力する場合