Linux coredump 设置
注意:需要有普通用户写入权限的路径。
 | 
 | 
- %% 单个%字符
 - %p 所dump进程的进程ID
 - %u 所dump进程的实际用户ID
 - %g 所dump进程的实际组ID
 - %s 导致本次core dump的信号
 - %t core dump的时间 (由1970年1月1日计起的秒数)
 - %h 主机名
 - %e 程序文件名
 
注意:需要有普通用户写入权限的路径。
 | 
 | 
Linux systemd 学习总结
simple vs oneshot:
When you are deciding which service type to choose between simple and oneshot, here is some guidance:
新加一块 4T 硬盘挂载(非逻辑盘,没有 vgdisplay 的概念,就是简单的挂载到某个路径)
Win 键调出 keyboard 设置界面Custom Shortcuts 点击添加 flameshot,其中 Name 可以自己写,然后在 Command 填写: /usr/bin/flameshot gui
update: /usr/bin/flatpak run –branch=stable –arch=x86_64 –command=flameshot org.flameshot.Flameshot launcherPrtScr参考:How to change screenshot application to Flameshot on Ubuntu 18.04?
 | 
 | 
关于使用 bash/shell 编程的总结。