This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
notes:linux [2009/03/02 22:23] render |
notes:linux [2019/03/27 12:22] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| * find . -name "*.sty" | * find . -name "*.sty" | ||
| - | * lsof | less : list open files | + | * lsof | less : list open files, more information with fuser |
| * rpm -qil --whatprovides --provides php | * rpm -qil --whatprovides --provides php | ||
| * dpkg -L paketname : list files installed by paketname; more see AptDpkg | * dpkg -L paketname : list files installed by paketname; more see AptDpkg | ||
| Line 7: | Line 7: | ||
| * less file.txt : pressing v in less mode enters vi | * less file.txt : pressing v in less mode enters vi | ||
| * ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub : gives fingerprint of my system written into ~/.ssh/known_hosts | * ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub : gives fingerprint of my system written into ~/.ssh/known_hosts | ||
| + | * typing CRTL+A jumps to the beginning of the shell line | ||
| + | * visudo : change /etc/sudoers | ||
| + | * echo $PATH : ask values of variable PATH | ||