Linux Workers

Tools and tips for work with Linux

Windows: Sicherheitscenter reparieren

  • Start > Einstellungen > Systemsteuerung > Dienste
  • den Dienst "Windows-Verwaltungsinstrumentation“ beenden
  • unter "C:\Windows\System32\wbem" den Ordner "Repository" löschen
  • den Dienst "Windows-Verwaltungsinstrumentation" starten

Filed under  //   avira   windows  
Posted May 25, 2012

Windows: Remap the floppy drive letters

Open a command prompt and type:

subst a: b: c:\
  • This probably also works in DOS

Filed under  //   dos   windows  
Posted May 22, 2012

Windows: Create a large empty file in a few seconds

Open a command prompt and type:

fsutil file createnew root.disk 18253611008
  • This will create an empty file of 17GB
  • The file is a "sparse" file
  • The file size is in bytes

Filed under  //   files   windows  
Posted May 18, 2012

Windows: Avira Konfigurationsassistent erneut starten

Öffne eine Kommandozeile und tippe:

cd "%ProgramFiles%\Avira\AntiVir Desktop"

avconfig /wizard

Filed under  //   avira   windows  
Posted May 16, 2012

Shell: Calculating with hexadecimal numbers

Open a terminal and type:

echo $((0x15a*12))
  • This works only with integers!
  • You can mix hexadecimal and decimal numbers
  • The result is in decimal

Filed under  //   numbers   shell   strings  
Posted May 16, 2012

Shell: Convert a number from hexadecimal to decimal

Open a terminal and type:

# hexadecimal to decimal
printf '%d' 0x15a

# decimal to hexadecimal
printf '%x' 346

Filed under  //   numbers   shell   strings  
Posted May 16, 2012

Ubuntu: Creating isos from PPAs

Open a terminal and type:

ubuntu-defaults-image --ppa ppa:elementary-os/daily --package elementary-desktop
  • You need to install "ubuntu-defaults-builder"

Filed under  //   elementary-os   ppa   remaster   ubuntu  
Posted May 11, 2012

Shell: Compile a kernel for your hardware

Open a terminal and type:

make localmodconfig
  • You find a list of kernel targets here

Filed under  //   compile   kernel   shell  
Posted May 11, 2012

Shell: Temporarily disable zRam

Open a terminal and type:

sudo swapoff /dev/zram*
  • zRam is previously known as "compcache"
  • To entirely disable zRam read this

Filed under  //   compcache   ramzswap   shell   zram  
Posted May 10, 2012