rpm2cpio some.rpm | cpio -id
Tuesday, December 16, 2008
Sunday, December 14, 2008
replace notepad with notepad2
notepad2
replacenotepad2.bat
replacenotepad2.bat
copy notepad2.exe C:\WINDOWS\notepad.exe
copy notepad2.exe C:\WINDOWS\system32\notepad.exe
copy notepad2.exe C:\WINDOWS\ServicePackFiles\i386\notepad.exe
copy notepad2.exe C:\WINDOWS\system32\dllcache\notepad.exe
copy notepad2.exe C:\WINDOWS\system32\notepad.exe
copy notepad2.exe C:\WINDOWS\ServicePackFiles\i386\notepad.exe
copy notepad2.exe C:\WINDOWS\system32\dllcache\notepad.exe
Monday, December 08, 2008
Friday, December 05, 2008
mount a samba fileshare in linux
how to mount a linux samba fileshare back into another linux box
edit /etc/fstab, add the line:
replace host with [host]
/shared/ with the folder shared
/home/shar/ with where you want to mount it
u with the samba username
p with the samba password
(when complete, 'mount -a' should apply the fstab changes).
edit /etc/fstab, add the line:
//host/shared/ /home/shar/ cifs username=u,password=p,_netdev,uid=root,gid=users 0 0
replace host with [host]
/shared/ with the folder shared
/home/shar/ with where you want to mount it
u with the samba username
p with the samba password
(when complete, 'mount -a' should apply the fstab changes).
Subscribe to:
Posts (Atom)