Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 912 Bytes

README.md

File metadata and controls

56 lines (40 loc) · 912 Bytes

linux-commands

CNTLM

cntlm -u USER -d DOMAIN -H

sudo vi /etc/cntlm.conf

VBOX

sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) Downloads /media/sf_Downloads
wmic diskdrive list brief 

VBoxManage internalcommands createrawvmdk -filename c:\PLEXTOR.vmdk -rawdisk \\.\PHYSICALDRIVE1

VBoxManage modifyvm "Ubuntu" --natdnshostresolver1 on

PROMPT

export PS1="\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n$"

Kill JAVA

ps -ef | grep java | grep -v grep | awk '{print $2}' | xargs -r kill -9

no strict host checking

Host localhost
   StrictHostKeyChecking no
   UserKnownHostsFile=/dev/null

Host 127.0.0.1
   StrictHostKeyChecking no
   UserKnownHostsFile=/dev/null

github proxy

host github.com
    user git
    hostname github.com
    port 22
    proxycommand socat - PROXY:localhost:%h:%p,proxyport=3128,proxyauth=: