Fulltext results:
- VBoxManage (The VirtualBox CLI) @info:virtualbox
- e Corporation All rights reserved. </code> ===== Usage: ===== VBoxManage [<general option>] <comma... s|hdds|dvds|floppies| usbhost|usbfilters|systemproperties|extpacks| groups showvminfo ... o|<mac>] [--mouse ps2|usb|usbtablet [--keyboar
- MySQL: Create User @info:mysql:user
- ====== MySQL: Create User ====== ==== Create User ==== <code sql> CREATE USER '{user}'@'%' IDENTIFIED BY '{passwd}'; </code> ==== Create User and Database ==== * Usually, ''
- localeadm @info:solaris
- e and get a matching DVD or ISO image. If you're using an ISO image, you have to mount it (insert you... -F hsfs ${LOFIDEV} /mnt </code> Note: If you're using the bourne shell (instead of bash or ksh), then use backticks in the second line: ''LOFIDEV=`lofiadm -a ${ISOIMG}`'' Now you can use localeadm. ===== Examples ===== ==== List Inst
- MySQL: Change Password @info:mysql:user
- * Replace ''{passwd}'' with the password of the user. * Replace ''{user}'' with the name of the user. <code sql> GRANT USAGE ON *.* TO '{user}'@'%' IDENTIFIED BY '{passwd}'; FLUSH PRIVILEGES; </code>
- Generate a Test Key @info:cryptography:openssl
- tkey.key -out testkey.crt Informations about the used arguments from the OpenSSL man page: * ''[[h... stead of a certificate request. This is typically used to generate a test certificate or a self signed... ified in the configuration file. Unless specified using the set_serial option 0 will be used for the serial number. * ''[[http://www.openssl.org/docs/ap
- MySQL: Remove User @info:mysql:user
- ====== MySQL: Remove User ====== ==== Remove User ==== <code sql> DROP USER '{user}'@'%'; </code> ==== Remove User and Database ==== * Usually, {user} == {db} <code sql>
- jps - Java Virtual Machine Process Status Tool @info:java
- ommand. ''jps'' lists all ''java'' Processes of a user. You can find the man page at [[http://java.sun... om/j2se/1.5.0/docs/tooldocs/share/jps.html]]. I'm using it with the parameters ''-l'' (long listing) and ''-m'' (arguments) most of the time: /usr/java/bin/jps -lm Here are some more examples: ... s </code> Long listing: ''jps -l'' <code> 55719 /Users/andreas/.my/pkg/hourglass-0.6.1/lib/hourglass.
- Oracle: List Accounts with Objects @info:oracle
- counts with Objects ====== To list all accounts (users) the objects (like tables), you can query them... unts, you can query them with: <code sql> SELECT USERNAME FROM ALL_USERS ORDER BY USERNAME; </code> Or, if you only want the DBAs: <code sql> SELECT USERNAME FROM DBA_US
- MySQL: Backup @info:mysql:database
- ==== <code bash> # set or replace the variables $USER, $PASS and $DB mysqldump --add-drop-table -u${USER} -p${PASS} ${DB} </code> ===== Export all Datab... ==== <code bash> # set or replace the variables $USER and $PASS DATE_YMD=$(date "+%Y-%m-%d") DATABASES=$(mysql --batch -u${USER} -p${PASS} mysql --execute='show databases') fo
- Cleanup Packages @info:linux:debian
- ove: <code bash> deborphan --help </code> <code> Usage: deborphan [OPTIONS] [PACKAGE]... The followi... -h This help. --status-file, -f FILE Use FILE as statusfile. --version, -v ... .. Never report PKGS. --keep-file, -k FILE Use FILE to get/store info about kept packages. --li... Try all of the above. --guess-only Use --guess options only. See also: deborphan(1), o
- Oracle: EXP @info:oracle
- ount ===== Enter the account name insteand of ''{user}''. <code bash> exp USERID=\'/ as sysdba\' FILE={user}.dmp FULL=N OWNER={user} </code> {{tag>admin exp oracle}}
- Virtual Network Visualization @info:solaris
- tion ====== OpenSolaris supports virtual networks using virtual interfaces connected with virtual swit... generates a dot-File, which then can be rendered using [[http://www.graphviz.org/|Graphviz]]. **Upda... sted in the [[http://blogs.sun.com/observatory/en_US/entry/crossbow_virtual_wire_demo_tool|Crossbow Vi... Tool]]. ===== dladm2dot.pl ===== <code perl> #! /usr/bin/perl $STYLE{'etherstub'} = "shape=box"; $ST
- Command Line Audio @info:mac
- at home, I needed a command line tool which I can use via ssh. I've found it here: [[http://osxdaily.c... article.php?story=20081002080543392|macosxhints - Use a built-in command line audio player]]. You just... play file.wav </code> More information on how to use afplay is available via afplay -h. {{tag>audio
- Print all certificates in a file @info:cryptography:openssl
- This command is especially helpful if you want to use Tomcat-/Java-Keystore-Certificates with the Apache webserver. Use the -print_certs to print all the certificates a... rint_certs -out certs.pem Informations about the used arguments from the OpenSSL man page: * ''[[h
- root login with bash @info:script
- 't login as root, just ''su'' to ''root'' from an user which has the ''root'' role. Also, the ''root'' user has the bourne shell (''/bin/sh''), but working with ''/bin/bash'' is much easier. Using this command, you can directly log in as ''roo