linux 常用100個(gè)命令
cat vim less head tail more env printenv uname
sed awk grep find regex which whereis locate
help man info type history
lshw lscpu free lspci lsblk df du mount umount
ping ifconfig netstat traceroute host ip
data lsusb ls tree cd pwd touch cp scp rm rmdir chmod mv tar wget
su sudo uname whoami useradd userdel usermod id groups groupadd groupmod gpasswd passwd newgrp
ps pstree top kill killall vmstat fuser lsof jobs fg bg & nohup at crontab
systemctl journalctl chkconfig service
export source fork exec sh lsmod lslogins lsns
configure make install sha256sum
echo od cut paste tr sort uniq
lsb_release systemctl iotop
timeout trap
ldd ldconfig ln gpg ssh-keygen gnome-terminal
for file_nm in `cat /opt/test.txt` ;do echo $file_nm; done
for file_nm in $(cat /opt/test.txt) ;do echo $file_nm; done
timeout可以在指定時(shí)間內(nèi)運(yùn)行腳本并終止,而 trap 則能捕獲超時(shí)信號(hào)
python常用100個(gè)庫(kù)匯總
<02>: rosbag rosbags
<07>: cv2 (opencv) open3d cv_bridge PIL< Pillow> scikit-image tkinter ffmpeg
<11>: math numpy scipy pandas Scikit-learn decimal typing re random base64 statsmodels
<11>: json csv xml pyarrow.parquet PyYAML openpyxl geojson pickle uuid ConfigParser lxml
<06>: tarfile zipfile ctyptography lz4.frame struct dataclass
<09>: duckdb sqlite TinyDB kuzu pymysql sqlmodel SQLAlchemy sqlparse sqlglot
<05>: argparse Matplotlib Gooey gradio curses
<09>: os system subprocess glob pathlib shutil tempfile time datatime
<06>: asyncio multiprocessing threading concurrent.futures queue schedule
<03>: ray celery sched
<10>: socket requests BeautifulSoup Selenium nicegui fastapi sanic Jinja2 PyJWT Pydantic
<05>: torch torchvision jieba spaCy LangChain
<10>: pdb venv importlib pip conda wheel pytest unittest logging mock PyPi IPython
<04>: setuptools pyinstaller ctypes distutils
<02>: binarytree igraph
C++庫(kù)
pybind #include <pybind11/pybind11.h>
OpenSSL OpenCV SQLite Eigen
#include <pthread.h>
參考
https://docs.python.org/zh-cn/3/library/
https://docs.python.org/zh-cn/3/contents.html