📢 Webサイト閉鎖と移転のお知らせ
このWebサイトは2026年9月に閉鎖いたします。
新しい記事は移転先で追加しております。(旧サイトでは記事を追加しておりません)
| (同じ利用者による、間の1版が非表示) | |||
| 88行目: | 88行目: | ||
# ~/hogeディレクトリ内の.c拡張子のファイル群を、~/piyoディレクトリにコピーしている | # ~/hogeディレクトリ内の.c拡張子のファイル群を、~/piyoディレクトリにコピーしている | ||
find ~/hoge -name "*.c" -exec cp {} ~/piyo \; | find ~/hoge -name "*.c" -exec cp {} ~/piyo \; | ||
<br> | |||
==== chmodコマンド ==== | |||
findコマンドは、chmodコマンドと組み合わせて使用することができる。<br> | |||
# ディレクトリのパーミッションを755に変更 | |||
find . -type d -exec chmod 755 {} \; | |||
find . -type d -print -exec chmod 755 {} \; # より安全に実行する場合 | |||
説明: | |||
-type d | |||
ディレクトリのみを検索する | |||
-exec chmod 755 {} \; | |||
見つかった各ディレクトリに対してパーミッションを755に変更する | |||
{} | |||
findで見つかったディレクトリのパスが入る | |||
\; | |||
execオプションの終了を示す | |||
<br><br> | <br><br> | ||
{{#seo: | |||
|title={{PAGENAME}} : Exploring Electronics and SUSE Linux | MochiuWiki | |||
|keywords=MochiuWiki,Mochiu,Wiki,Mochiu Wiki,Electric Circuit,Electric,pcb,Mathematics,AVR,TI,STMicro,AVR,ATmega,MSP430,STM,Arduino,Xilinx,FPGA,Verilog,HDL,PinePhone,Pine Phone,Raspberry,Raspberry Pi,C,C++,C#,Qt,Qml,MFC,Shell,Bash,Zsh,Fish,SUSE,SLE,Suse Enterprise,Suse Linux,openSUSE,open SUSE,Leap,Linux,uCLnux,Podman,電気回路,電子回路,基板,プリント基板 | |||
|description={{PAGENAME}} - 電子回路とSUSE Linuxに関する情報 | This page is {{PAGENAME}} in our wiki about electronic circuits and SUSE Linux | |||
|image=/resources/assets/MochiuLogo_Single_Blue.png | |||
}} | |||
__FORCETOC__ | __FORCETOC__ | ||
[[カテゴリ:RHEL]][[カテゴリ:SUSE]][[カテゴリ:Raspberry_Pi]][[カテゴリ:PinePhone]] | [[カテゴリ:RHEL]][[カテゴリ:SUSE]][[カテゴリ:Raspberry_Pi]][[カテゴリ:PinePhone]] | ||