官术网_书友最值得收藏!

  • Raspberry Pi Zero Cookbook
  • Edward Snajder
  • 188字
  • 2021-07-09 19:12:13

Chapter 3. Programming with Linux

Now that we have our operating system installed and our Raspberry Pi Zero on our home network, we can pe into some basic Linux commands. You will find knowing these commands useful any time you are working on a Linux machine. In this chapter, we'll start prepping with some Linux recipes:

  • Navigating a filesystem and viewing and searching the contents of a directory
  • Creating a new file, editing it in an editor, and changing ownership
  • Renaming and copying/moving the file/folder into a new directory
  • Installing and uninstalling a program
  • Downloading a file from the Internet and deleting a file
  • Changing to root and using superpowers
  • Extracting a zipped file and zipping it back
  • Searching executed code from the terminal's history
  • Changing RPZ configuration settings from the command line
  • Checking running processes and killing a process running in the background
  • Creating our first shell program and automating a process
  • Syncing with NTC servers to update the current time
  • Running a background process in Linux
  • Setting a file to run automatically on startup
  • Using crontab to run a script automatically at predefined intervals
主站蜘蛛池模板: 山西省| 嘉义市| 白山市| 舞阳县| 嘉禾县| 博爱县| 吉木萨尔县| 岳阳市| 彭水| 克拉玛依市| 乌鲁木齐市| 高台县| 温宿县| 湾仔区| 云南省| 广南县| 南岸区| 马尔康县| 和硕县| 东山县| 扬中市| 拜城县| 资兴市| 河东区| 宁陵县| 伊金霍洛旗| 镇坪县| 新建县| 荣昌县| 大宁县| 云阳县| 汉源县| 张北县| 福州市| 都安| 福州市| 蒙阴县| 综艺| 高淳县| 临湘市| 临泉县|