0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

linuxの基本操作、学籍番号と名前をプリントアウトして「はんこ」を貰う(例題の為の例題)(arduinoインストールのおまけ)

Last updated at Posted at 2024-12-29

x 過去ログを見よ!!!
x だいたい、あっている!!!

目的
Utunbu、ArduinoIDEのカウンターが上がらないのは、
激ムズだからと思ったので例題の為の例題

o_coq717.jpg

例題

仮に学籍番号と名前は、「2025E046 YAMADA TARUO」
プリンターコマンドは、「lpr」のパイプとする。
ディレクトリーは、OUT_d
ファイルは、OUT_d.txt

まず、ユーザーディレクトリに戻る


cd

ディレクトリーを作成する


mkdir OUT_d

ディレクトリーの移動


cd OUT_d

タグファイル?バトンファイル?ミニファイル?を作成する


echo 2025E046 YAMADA TARUO > OUT_d.txt

ファイルを確認する

ls


ファイルの中身を確認する


cat OUT_d.txt

プリントアウトする


cat OUT_d.txt | lpr


一個したのディレクトリーに戻る


cd ..

プリントした紙をもって、ハンコを貰ってチェックしてもらう

「おわり」

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?