Saturday, August 13, 2016
git
I keep forgetting the commands to start git, here is an example
echo "# cscourses" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/DelHart/cscourses.git
git push -u origin master
Tuesday, July 12, 2016
ldap search
This is a useful query to see what the ldap has from the commandline
ldapsearch -h HOSTIP -D "cn=DAEMONUSER,ou=Process Accounts,dc=blah,dc=ntds" -w DAEMONPASS -b "ou=People,OU=blah,dc=blah,dc=ntds" "(|(memberOf=cn=ntds.blah.managed.blah.blah.blah,ou=Groups,ou=blah,dc=blah,dc=ntds)(memberOf=cn=ntds.blah.blah.blah.lab_access,ou=Groups,ou=blah,dc=blah,dc=ntds))" \* \+
ldapsearch -h HOSTIP -D "cn=DAEMONUSER,ou=Process Accounts,dc=blah,dc=ntds" -w DAEMONPASS -b "ou=People,OU=blah,dc=blah,dc=ntds" "(|(memberOf=cn=ntds.blah.managed.blah.blah.blah,ou=Groups,ou=blah,dc=blah,dc=ntds)(memberOf=cn=ntds.blah.blah.blah.lab_access,ou=Groups,ou=blah,dc=blah,dc=ntds))" \* \+
Monday, January 25, 2016
Note: boot to console
add "text" in the /etc/default/grub file @ GRUB_CMDLINE_LINUX_DEFAULT="quiet splash". Run update-grub to rebuild the cfg file. Lastly reboot.
Note: multibootusb
Note: Using the program multibootusb to carry multiple live "cds" on one usb stick.
Subscribe to:
Posts (Atom)