Difference: LinuxHints (9 vs. 10)

Revision 102019-04-08 - TimMcDonald

Line: 1 to 1
 

Linux Hints

  • Problem: Moving files into a web directory, even after changing permissions reporting a permission error when clicked on from web:
Line: 20 to 20
 
    • chage -d 0 {username}
  • Copy disk image
    • sudo dd if=/path/of/source of=/path/of/destination bs=1M
Added:
>
>
  • Allow http/https through firewall
    • sudo firewall-cmd --add-service=http
    • sudo firewall-cmd --add-service=https
 

Kmail

Kmail won't open folders

Line: 28 to 31
 

PDF

Merging PDF documents

Deleted:
<
<
gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=outputfile.pdf doc1.pdf doc2.pdf doc3.pdf ... docN.pdf
 
Added:
>
>
gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=outputfile.pdf doc1.pdf doc2.pdf doc3.pdf ... docN.pdf
 

OpenSUSE disk issues

Snapper / btrfs

Line: 40 to 42
 # limit for number cleanup NUMBER_MIN_AGE="1800" NUMBER_LIMIT="2-3"
Changed:
<
<
NUMBER_LIMIT_IMPORTANT="3-5"
>
>
NUMBER_LIMIT_IMPORTANT="3-5"
 
  • Use the following commands to see what is present and disk usage;
snapper list
Changed:
<
<
btrfs fi usage /
>
>
btrfs fi usage /
 
  • Then manually run the cronjobs, if the system gets turned off sometimes they don't run...
Deleted:
<
<
 
/etc/cron.daily/suse.de-snapper
Changed:
<
<
/etc/cron.weekly/btrfs-balance
>
>
/etc/cron.weekly/btrfs-balance
 

Comments

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback