26 Temmuz 2015 Pazar

Windows7 de eski sürücüleri (Drivers) silmek

Another option (the Microsoft way, without doing random unknown deletings in the registry) is to start CMD as "run as admin" and then list all installed drivers in the Windows 7 driver store via:

 pnputil -e 

if this caused a longer list you can pipe that into a file via: 

 pnputil -e > C:\driverexport.txt 

If you have found now the driver you need to remove use the following command: 

 pnputil.exe -d OemNUMBER.inf 

replace NUMBER with your number from your example. 

You might try to use -F to force the uninstallation. 
Once a reboot is done the driver should be gone. 

 For printer drivers, you may need to remove Printer Server driver following the stages below; 

Windows 7: 
Go to 
 Control Panel -> 
 Administrative Tools -> 
 Print Management ->
 Printer Servers ->

14 Şubat 2011 Pazartesi

Linux - Bir dizindeki dosyalarin uzantilarini toplu degistirme


Dizindeki DAT uzantili dosyalarin uzantisini mrc yapar.

for f in *.DAT; do mv ./"$f" "${f%DAT}mrc"; done





9 Şubat 2011 Çarşamba

Linux - VI editoru icinde bos satirlari silme ...


:g/^$/d


Linux - bir dizini makinalar arasi hizli transfer etme


tar -cvf - [src-dir] | ssh user@host "cd [trg-dir]; tar xf -"


Linux a Windows surucu veya paylasimi mount etmek


mount -t smbfs -o username=[username], password=[password] //windows/share \mnt\disk


Linux Iptables kurallarini yedekleme ve geri yukleme ...

Kurallarin iptables.txt dosyasinda oldugunu varsayalim.
iptables-save (Kurallari goruntuleme)
iptables-restore < iptables.txt (iptables.txt den kurallari geri yukleme)

Bu durumda iptables kural degisiklikleri txt dosyada duzeltilip, yeniden yuklenerek yapilabilir.

Linux ta bir programi trace etmek

Linux ta bir programi trace etmek icin

strace -fo dosyaismi -p[PID] komutu verilir.

-fo : file out.

bkz: ltrace.