DNACore GitHub io
  • 首页
  • 归档
  • 分类
  • 标签
  • 关于
一个分享交流知识和技术的网站

macOS-macOS的系统信息ioregistry

All of the data in iStat is just from keys in the ioregistry. You can pull a dump of it from the command line using ioreg: 1ioreg -w 0 -l https://apple.stackexchange.com/a/16325 查看电池信息 ioreg -rn Appl
2020-05-07
#macOS #ioreg #ioregistry

Linux-命令dd

Why is “/dev/rdisk” about 20 times faster than “/dev/disk” in Mac OS Xhttps://superuser.com/questions/631592/why-is-dev-rdisk-about-20-times-faster-than-dev-disk-in-mac-os-x 清空磁盘
2020-05-05
#Linux

Linux-Linux中的通配符

https://www.cnblogs.com/ysuwangqiang/p/11364173.html https://www.cnblogs.com/0zcl/p/6821213.html
2020-04-13
#Linux

树莓派-树莓派的BIOS-config.txt

官方文档https://www.raspberrypi.com/documentation/computers/config_txt.html WiKihttps://elinux.org/RPiconfig 编辑文件/boot/config.txt关于 dtoverlay 的详细文档 https://www.raspberrypi.com/documentation/computers/
2020-01-21
#树莓派

树莓派-树莓派常用命令

显示开机信息 1dmesg http://www.shumeipai.net/thread-28928-1-1.html?_dsign=0c7293a1 1234567sudo reboot # 重启shutdown -r now # 重启sudo poweroff # 关机sudo init 0sudo haltsudo shutdown -h now 查看树莓派CPU信息 cpuin
2020-01-21
#树莓派

树莓派-开启ssh连接

默认情况下树莓派的sshd服务是关闭的,我们需要手动开启。 无GUI界面开启sshd服务 在树莓派的TF卡boot分区根目录建立一个名为ssh的空白文件。 将TF卡重新插入树莓派,开机。则sshd服务自动开启。 GUI界面开启 sshd 服务通过 ssh 连接树莓派树莓派默认的用户名和密码是pi和raspberry 1ssh pi@192.168.1.2 修改密码 1# 执行passwd命令修
2020-01-02
#ssh #树莓派

Shell-date时间日期命令

date 时间日期命令123456cur_date="`date +%Y-%m-%d`"cur_dateTime="`date +%Y-%m-%d,%H:%m:%s`"# 时间 Fri Apr 14 23:39:59 CST 2023# 对应的格式:%a %b %d %H:%M:%S %Z %Y# 或者:%a %b %d %T %Z %Y
2019-12-17
#Shell #date

Linux-开机启动自动运行脚本

总的说来,根据系统的不同,有两种实现开机自启的方法:rc.local与systemd。 rc.local树莓派官方文档对rc.local的介绍。值得注意的是:运行一个常驻脚本或者需要执行时间很长的脚本的时候,需要在命令最后加上&来表明这条命令需要后台运行。否则会阻塞rc.local后面的脚本执行。除此之外,不是所有的命令都支持使用rc.local的方式开机运行。https://www.ra
2019-12-09
#Linux #树莓派

macOS-完全退出Finder

123defaults write com.apple.finder QuitMenuItem -bool YES# 或defaults write com.apple.Finder QuitMenuItem 1 重启 Finder 生效
2019-12-02
#macOS #Finder #访达

Linux-挂载卸载U盘

查看系统自动挂载的分区 1cat /etc/fstab 挂载ExFAT分区 1sudo apt-get install fuse-exfat 分区管理命令https://www.cnblogs.com/xiangsikai/p/10683209.html 123fdiskpartprobe 格式化分区命令https://wiki.archlinux.org/index.php/F2F
2019-11-30
#Linux #树莓派 #mount #unmount
1…1213141516…21

搜索

Hexo Fluid