1. 音频设备

aplay -l会列出所有设备
alsamixer灰常实用
/usr/bin/lspci | grep -i audio

2. xargs

通常使用管道的范例:cat test.txt | grep -E '*test*'
但若是前者可以作为后者的参数带入时,可以使用xargs:
echo “*test*” | xargs find / -name
上述若是不加xargs则无法使用
xargs的实际功能是是以行为单位读取输入数据并执行参数变化,于是可以有更强大的用处,例如:
find / -name '*portaudio*' | xargs ls -l

3. 截图

截图可以将PrntScr辅以Shift和Alt键,得到不同效果

4. ssh远程下载上传文件

scp [-P port] username@host:/path/to/remote/source /path/to/local/dest
scp [-P port] /path/to/local/source username@host:/path/to/remote/dest

5. qhost

6. wc

统计词数

7. download

aria2c
ktorrent

8. 校验

md5sum
sha1sum
openssl sha1 filename

9. 默认打开程序

/etc/gnome/defaults.list    (这个文件保存了全局的打开方式)
~/.local/share/applications/mimeapps.list   (这个文件保存了个人的打开方式)

10. Steghide 工具

一个给音频、图像等加密或嵌入文件的小程序,很实用

steghide embed -cf 被加密的文件 -ef 加密的内容文件
steghide extract -sf 被加密的文件