Skip to Content
自造手冊:新工業革命實務指南
book

自造手冊:新工業革命實務指南

by Paolo Aliverti, Andrea Maietta
March 2017
Intermediate to advanced
232 pages
4h 44m
Chinese
GoTop Information, Inc.
Content preview from 自造手冊:新工業革命實務指南
開工囉!
179
操作檔案與目錄
請 用 mkdir(
make directory
) 指 令 來 建
立一個目錄,後面加上您想要為這個目
錄取的名稱。這裡要介紹兩個指令;第
一個要確保在執行後續所有練習題之前,
要先回到您的家目錄(如果單純只輸入
cd,就會直接回到家目錄):
pi@raspberrypi ~ $ cd
pi@raspberrypi ~ $ mkdir test
現在進入這個指令,並用 touch 指令建立
一個空白檔案;接著用 ls 指令檢查系統
是否確實建立了這個檔案:
pi@raspberrypi~ $ cd test
pi@raspberrypi~/test $ touch hello.txt
pi@raspberrypi~/test $ ls
hello.txt
pi@raspberrypi~/test $ ls -l
total 0
-rw-r--r-- 1 pi pi 0 Feb 15 19:42 hello.
txt
cp 指令,代表
copy
,可用來複製檔案,
後面加上您所要複製的檔案名稱以及複
製的 目 的 地。 請 用 以 下 指 令 將
hello.txt
檔案複製到
home/pi
目錄中:
pi@raspberrypi ~/test $ cp hello.txt /
home/pi
由於 home 目錄比現在的目錄高一層,您
也可以這樣寫:
pi@raspberrypi ~/test $ cp hello.txt ..
由於 ~ 是您的家目錄捷徑,上述指令也
可以這樣寫:
pi@raspberrypi
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

優雅的SciPy|Python科學研究的美學

優雅的SciPy|Python科學研究的美學

Juan Nunez-Iglesias, Stéfan van der Walt, Harriet Dashnow
Presto实战

Presto实战

Matt Fuller, Manfred Moser, Martin Traverso

Publisher Resources

ISBN: 9789864763238