Site Tools


linux:general:basics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:general:basics [2022/04/25 12:43] – [Linux Commands] lunetikklinux:general:basics [2022/12/16 10:41] (current) lunetikk
Line 71: Line 71:
 |  du -hs * %%|%% sort -h %%|%% head    show files by size and sort by size  | |  du -hs * %%|%% sort -h %%|%% head    show files by size and sort by size  |
 |  rm !(*.log)    remove all files except for *.log  | |  rm !(*.log)    remove all files except for *.log  |
 +|  ps -f -p <PID> -o lstart=  |  show starttime of process  |
 +|  install -d -o <user> -g <group> -m <mode> <path>  |  mkdir with specific user, group and rights  |
  
 ==== Save textfile with password (VIM) ==== ==== Save textfile with password (VIM) ====
Line 131: Line 133:
 |  yum repolist  |  Show enabled repositorys  |\\ |  yum repolist  |  Show enabled repositorys  |\\
 |  yum clean all  |  Clean all packages and meta data from cache  |\\ |  yum clean all  |  Clean all packages and meta data from cache  |\\
 +|  rm -rf /var/cache/yum  |  Clean all packages and meta data incl. orphaned data from cache  |\\
 |  yum update  |  Update all installed packages  |\\ |  yum update  |  Update all installed packages  |\\
 |  yum update %%<%%PACKAGE%%>%%  |  Update PACKAGE  |\\ |  yum update %%<%%PACKAGE%%>%%  |  Update PACKAGE  |\\
linux/general/basics.1650883420.txt.gz · Last modified: 2022/04/25 12:43 by lunetikk