DEBUGSFS DUMP FULL CURROPT VOLUME TO DIRECTORY SCRIPT (READ ARTICLE BELOW FIRST) NOTE: first read article below First put in a USB /samba share / ntfs / iscsi and note its fullRead More…
Debian – Gnome – Create Desktop Shortcut
apt-get install gnome-panel gnome-desktop-item-edit /root/Desktop/ –create-new Thats for root, for other users ~/Desktop can be put instead of /root/Desktop apt-get install gnome-panel gnome-desktop-item-edit ~/Desktop/ –create-new
dd_rescue VS ddrescue (gddrescue BEST)
GOOD LINK: http://www.gnu.org/software/ddrescue/manual/ddrescue_manual.html Just so your not confused right off the bat, the better one is gddrescue (which has the command name: ddrescue and package name: gddrescue), and the older not as good one isddrescue (whichRead More…
dd progress & dd progress with pv
This article is all about getting a progress bar, or progress output (usually dd is silent). DD PROGRESS OUTPUT ################## To get dd progress, launch dd and then get its pid ddRead More…
WINDOWS / CYGWIN – kill a process
TO KILL A PROCESS – this is all from taskkill /? TASKKILL /IM notepad.exe TASKKILL /PID 1230 /PID 1241 /PID 1253 /T TASKKILL /F /IM cmd.exe /TRead More…
cut and awk – delimit text
RULE OF THUMB FOR AWK: awk runs once per line (unless BEGIN or END script in which it runs once in start or end of script, or if you use /grep-search-expression/ thenRead More…
MBR and GPT copy partition tables between drives
AKA: clone partition tables When to use: Sometimes a drive might lose its partition tables for unknown reasons. Sometimes you need to setup a partition table to be identical to a driveRead More…
Copy files with TAR, PV, NC & SSH
#################### TAR PV NC fileserver #################### Pre Requisites: At File Server Router: Portforwards port 50002 from router to 50002 on File Server At both locations: apt-get install netcat tar pv Read More…
LINUX – CLI Internet Connection Speed Tests
[last update 2014-11-14, before that 2013-7-29] speedtest-cli new install script as the git repo changed for it alittle, also a little cool script to test local server and a few other serversRead More…
LINUX – bytes to human readable command
Surprising to me this isnt a program yet… Anyhow the credit goes all to: http://www.linuxjournal.com/article/9293?page=0,1 – Simon Sweetwater is the author of this script – good job if your reading this 🙂 #!/bin/ksh bytestohr()Read More…