Fulltext results:
- localeadm @info:solaris
- mount it (insert your path in the first line. <code bash> ISOIMG="/share/iso/sol-10-u8-ga-sparc-dvd.i... IDEV=${LOFIDEV} mount -F hsfs ${LOFIDEV} /mnt </code> Note: If you're using the bourne shell (instead... mples ===== ==== List Installed Locales ==== <code bash> localeadm -lc </code> Example output: <code> Checking for installed packages. This could take
- Cleanup Packages @info:linux:debian
- (but not purged) packages with this command: <code bash> dpkg --get-selections | grep 'deinstall$' </code> You can feed this list directly to aptitude to purge the packages: <code bash> aptitude purge $(dpkg --get-selections | grep 'deinstall$' | cut
- Mercurial
- ==== Ignore ''.DS_Store'' and ''._*'' files: <code> (^|/)\._[^/]+$ (^|/)\.DS_Store$ </code> ==== NetBeans ==== These expressions exclude the directories ''build'', ''dist'' and ''nbproject/p... on your project setup, you may want to also exclude ''bin'', ''gen'', ''nbbuild'' or the complete ''n
- VBoxManage (The VirtualBox CLI) @info:virtualbox
- the output of ''VBoxManage'' without options. <code> Oracle VM VirtualBox Command Line Management Int... -2013 Oracle Corporation All rights reserved. </code> ===== Usage: ===== VBoxManage [<general opti... uppress the logo [--settingspw <pw>] provide the settings password [--settingspwfile <file>] provide a file containing the settings password ===== C
- MacPorts @info:mac
- ===== List Ports ===== list requested ports: <code bash> port echo requested | cut -d ' ' -f 1 | uniq </code> list installed ports: <code bash> port -qv installed </code> ===== Housekeeping ===== When ports are updated, the old port is o
- Virtual Network Visualization @info:solaris
- al Wire Demo Tool]]. ===== dladm2dot.pl ===== <code perl> #! /usr/bin/perl $STYLE{'etherstub'} = "sh... \"$2\"; }\n"; } } close INPUT; print "}\n"; </code> ===== Example ===== {{ dladm2dot.png|Example's Result}} === Input === == dladm show-link == <code> LINK CLASS MTU STATE OVER e1000g... isc2 vnic 9000 up isc_net0 </code> == dladm show-linkprop -o link,value -p zone ==
- Oracle: Recovery Manager @info:oracle
- er ====== ===== Start Recovery Manager ===== <code bash> rman target / </code> ===== Delete Archive Logs ===== Delete all archive logs but keep the last 45 days: <code sql> DELETE ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE -45'; </code> To remove archive logs older than 3 days withou
- Oracle: SPFile and PFiles @info:oracle
- a PFile, just enter the following in SQLplus: <code sql> CREATE PFILE FROM SPFILE; </code> It will create a PFile ''${ORACLE_HOME}/dbs/init${ORACLE_SID}... ath to the PFile instead of ${PATH_TO_PFILE}. <code sql> SHUTDOWN IMMEDIATE; STARTUP NOMOUNT PFILE='$... CREATE SPFILE FROM PFILE; SHUTDOWN IMMEDIATE; </code> If your PFile is located at ''/db/oracle/config
- Setting the Timezone @info:linux:debian
- c/timezone''. ===== Check the Timezone ===== <code bash> cat /etc/timezone </code> Example: <code> # cat /etc/timezone Europe/London </code> ===== Set the Timezone ===== You can use ''vi'': <code
- jps - Java Virtual Machine Process Status Tool @info:java
- re examples: List all java processes: ''jps'' <code> 55719 hourglass.jar 51299 jEdit 51610 Main 56026 Jps </code> Long listing: ''jps -l'' <code> 55719 /Users/andreas/.my/pkg/hourglass-0.6.1/lib/hourglass.jar 5129... 042 sun.tools.jps.Jps 51610 org.netbeans.Main </code> List arguments: ''jps -m'' <code> 55719 hourgla
- Disable a Service @info:linux:debian
- sable a Service ====== To disable a service: <code bash> service <service> stop update-rc.d <service> enable|disable </code> With ''systemd'' (starting with Debian 8): <code bash> systemctl disable <service> </code> To (re)enable a service: <code bash> update-rc.d <servic
- Android Apps @info:android
- s/details?id=com.google.zxing.client.android|Barcode Scanner]] * [[https://play.google.com/store/apps/details?id=de.fun2code.android.webdrive|DavDrive]] / [[https://play.google.com/store/apps/details?id=de.fun2code.android.lite.webdrive|DavDrive Lite]]
- Compare directories @info:script
- h of the directories, generate a digest file: <code bash> find DIR -type f -exec shasum {} + | LC_ALL=C sort -d -k 2 > shasums.txt </code> It's important to use ''LC_ALL=C'' and the opti... After that, you can diff the two shasums.txt: <code bash> diff shasums1.txt shasums2.txt </code> Or you use Meld as graphical diff tool: <code bash> me
- Oracle: Resize Instance @info:oracle
- rst, change the [[spfile_and_pfiles|SPFile]]: <code sql> ALTER SYSTEM SET pga_aggregate_target = 2G S... LTER SYSTEM SET sga_target = 6G SCOPE=SPFILE; </code> Then, (optionally) export the SPFile to a PFile: <code sql> CREATE PFILE FROM SPFILE; </code> Finally, reboot the instance to activate the change: <code s
- Android Backup @info:android
- ally insert the current date in the filename: <code bash> adb backup -apk -shared -all -f $(date '+%Y-%m-%d').db </code> If you are havong problems with the connection ... up"), check the listing of connected devices: <code bash> adb devices </code> Which may result in a listing like this: <file> List of devices attached