Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
linux:commands [2006/12/15 12:51] cyril created |
linux:commands [2024/04/19 13:59] (current) cyril [List] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| + | |||
| + | ===== Links ===== | ||
| + | |||
| + | User management :\\ | ||
| + | [FR] [[http:// | ||
| + | |||
| + | |||
| + | |||
| + | ===== List ===== | ||
| ^ Command | ^ Command | ||
| + | ^ General | ||
| + | | pwd | print the current path | | ||
| + | | which < | ||
| + | | write < | ||
| ^ Kernel modules | ^ Kernel modules | ||
| - | | lsmod | | | + | | lsmod | list modules | |
| - | | rmmod | | | + | | insmod nvidia / modprobe nvidia | insert the module (modprobe higher level) |
| - | ^ Boot scripts | + | | rmmod nvidia / modprobe -r nvidia |
| - | | rc-update | | | + | ^ Boot scripts |
| + | | rc-update | ||
| + | | rc-update add script.sh boot | add the script to the boot level | | ||
| + | ^ Manage users ^^ | ||
| + | | adduser -m -s /bin/zsh -g < | ||
| + | | passwd cyril | change the password of user cyril (or yours if no user specified) | | ||
| + | | groupadd < | ||
| + | | /etc/passwd | contains UID of users, home directory and shell used | | ||
| + | | /etc/shadow | contains crypted passwords of users | | ||
| + | | /etc/group | contains groups GIDs and list of users in | | ||
| + | | usermod -a -G < | ||
| + | | chsh -s /bin/zsh | change default shell of user | | ||
| + | | userdel | delete user | | ||
| + | | groupdel | delete group | | ||
| + | ^ Manage permissions | ||
| + | | chmod -R [u/ | ||
| + | | chmod -R 0222 | change permissions (octal : rwx=1+2+4 / ugo) | | ||
| + | | chown -R < | ||
| + | | chgrp -R < | ||
| + | ^ Monitoring | ||
| + | | top / htop / ps / free | processes (cpu, mem) | | ||
| + | | nettop / jnettop | network | | ||
| + | | lsof | opened files | | ||
| + | | w | connected users | | ||
| + | | pidstat | | | ||
| + | | atop | | | ||
| + | ^ System | ||
| + | | lspci | | | ||
| + | | lsusb | | | ||
| + | | lshw | | | ||
| + | ^ File content manipulation | ||
| + | | '' | ||
| + | | '' | ||
| + | | grep -r < | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | iconv -f iso-8859-15 -t utf8 < | ||
| + | | convmv -f iso-8859-15 -t utf8 -r < | ||
| + | | paste | merge files by concatenating columns | | ||
| + | | numfmt --to=iec --format=" | ||
| + | ^ Programming | ||
| + | | nm [-D] / objdump / ldd / readelf [-s] | check infos about link and symbols in exe and libs | | ||
| + | | strace | list system calls a program issues | | ||
| + | |||
| + | tr ' | ||
