• skip to content

andunix.net

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: andunix.net » code
Trace: • opensource • Eclipse • Android Backup • MySQL: Create User • ReLAX • programming • VBoxManage (The VirtualBox CLI) • ReLAX • Notes for the Solaris 10 System Administration Exam (CX-310-200 & -202) • Download a Server Certificate

code
Please note, that this is an old archived version of this site. Check out the new version at andunix.net!

Search

You can find the results of your search below.

Ends with
  • Exact match
  • Starts with
  • Ends with
  • Contains
@info
  • Any namespace
  • info:mysql (9)
  • info:mac (6)
  • info:linux (6)
  • info:oracle (6)
  • info:script (4)
  • info:cryptography (3)
  • info:java (3)
  • info:sysadmin (3)
  • info:android (2)
  • info:javascript (2)
  • info:solaris (2)
  • info:code (1)
  • info:virtualbox (1)
  • info:webdesign (1)
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Matching pagenames:

  • WiFi Config QR-Code
  • Git
  • Coding
  • andunix Infos
  • URL Encoding
  • Eclipse
  • Specify Java VM for Eclipse
  • andunix Infos

Fulltext results:

Cleanup Packages @info:linux:debian
16 Hits, Last modified: 12 years ago
ed (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 -f1) </code> ===== Remove Orphans ===== If a packages is in
localeadm @info:solaris
14 Hits, Last modified: 13 years ago
o mount it (insert your path in the first line. <code bash> ISOIMG="/share/iso/sol-10-u8-ga-sparc-dvd.i... OFIDEV=${LOFIDEV} mount -F hsfs ${LOFIDEV} /mnt </code> Note: If you're using the bourne shell (instead... xamples ===== ==== List Installed Locales ==== <code bash> localeadm -lc </code> Example output: <code> Checking for installed packages. This could take a
Mercurial
12 Hits, Last modified: 13 years ago
s ==== Ignore ''.DS_Store'' and ''._*'' files: <code> (^|/)\._[^/]+$ (^|/)\.DS_Store$ </code> ==== NetBeans ==== These expressions exclude the directories... n the top directory, but not in subdirectories: <code> ^build$ ^dist$ ^nbproject/private$ </code> Only in the second level directory, but not in subdirector
MacPorts @info:mac
10 Hits, Last modified: 10 years ago
= ===== 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 onl
Oracle: Recovery Manager @info:oracle
8 Hits, Last modified: 13 years ago
ager ====== ===== 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
8 Hits, Last modified: 13 years ago
o 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}.o... path 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
Disable a Service @info:linux:debian
8 Hits, Last modified: 9 years ago
Disable 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 <service>
Virtual Network Visualization @info:solaris
8 Hits, Last modified: 13 years ago
tual 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... 0 isc2 vnic 9000 up isc_net0 </code> == dladm show-linkprop -o link,value -p zone ==
Setting the Timezone @info:linux:debian
8 Hits, Last modified: 13 years ago
etc/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 b
jps - Java Virtual Machine Process Status Tool @info:java
8 Hits, Last modified: 13 years ago
more 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 51299 ... 56042 sun.tools.jps.Jps 51610 org.netbeans.Main </code> List arguments: ''jps -m'' <code> 55719 hourgla
MySQL: Create User @info:mysql:user
6 Hits, Last modified: 10 years ago
ySQL: Create User ====== ==== Create User ==== <code sql> CREATE USER '{user}'@'%' IDENTIFIED BY '{passwd}'; </code> ==== Create User and Database ==== * Usually, ''{user}'' == ''{db}'' <code sql> CREATE USER '{user}'@'%' IDENTIFIED BY '{pas... ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> Simpler Alternative: <code sql> CREATE DATABAS
JAX-WS Debugging @info:java
6 Hits, Last modified: 11 years ago
m property to set depends on your Java version. <code> com.sun.xml.ws.transport.http.client.HttpTranspo... nternal.ws.transport.http.HttpAdapter.dump=true </code> The most common option seems to be ''com.sun.xm... yout JVM arguments (e.g. to the command line): <code> -Dcom.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump=true </code> Java 8 on OS X needs this: <code> -Dcom.sun.xml
rmdir for OSX @info:mac
6 Hits, Last modified: 10 years ago
ctories from the command line quite complicated: <code bash> $ rmdir test rmdir: test: Directory not empty $ rm test/.DS_Store $ /bin/rmdir test </code> I wrote a small bash function to remove directo... together with the contained ''.DS_Store'' file: <code bash> rmdir() { for d in "$@" do f="${d%/}/.DS_S... fi /bin/rmdir "${d}" || ls -al "${d}" done } </code> With this function you can remove the directory
Compare directories @info:script
6 Hits, Last modified: 7 years ago
ach 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> meld
Android Backup @info:android
6 Hits, Last modified: 13 years ago
ically 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 ... ckup"), check the listing of connected devices: <code bash> adb devices </code> Which may result in a listing like this: <file> List of devices attached ?
Oracle: Resize Instance @info:oracle
6 Hits, Last modified: 13 years ago
Oracle: List Accounts with Objects @info:oracle
6 Hits, Last modified: 13 years ago
WiFi Config QR-Code
5 Hits, Last modified: 10 years ago
Make your Mac feel at Home @info:mac
5 Hits, Last modified: 10 years ago
Shell Script Variables @info:script
4 Hits, Last modified: 10 years ago
Command Line Audio @info:mac
4 Hits, Last modified: 13 years ago
Automatic Submission of a Form if an Element is changed @info:javascript
4 Hits, Last modified: 13 years ago
SSH @info:sysadmin
4 Hits, Last modified: 10 years ago
List Open Ports @info:sysadmin
4 Hits, Last modified: 9 years ago
Increase the Tomcat Upload Limit @info:sysadmin
4 Hits, Last modified: 9 years ago
MySQL: Backup @info:mysql:database
4 Hits, Last modified: 13 years ago
MySQL: Create Database @info:mysql:database
4 Hits, Last modified: 13 years ago
MySQL: Remove User @info:mysql:user
4 Hits, Last modified: 13 years ago
MySQL: Change Password @info:mysql:user
4 Hits, Last modified: 12 years ago
VBoxManage (The VirtualBox CLI) @info:virtualbox
3 Hits, Last modified: 12 years ago
Android Apps @info:android
3 Hits, Last modified: 13 years ago
Comapct Sparse Image @info:mac
2 Hits, Last modified: 10 years ago
Reload Page @info:javascript
2 Hits, Last modified: 13 years ago
Download a Server Certificate @info:cryptography:openssl
2 Hits, Last modified: 11 years ago
Print Information about a Signature @info:cryptography:openssl
2 Hits, Last modified: 11 years ago
Set a Mac's Hostname @info:mac
2 Hits, Last modified: 10 years ago
MySQL: Revoke Permissions @info:mysql:permissions
2 Hits, Last modified: 13 years ago
Change Encoding with iconv @info:script
2 Hits, Last modified: 13 years ago
MySQL: Grant Permissions @info:mysql:permissions
2 Hits, Last modified: 13 years ago
pargs for Linux @info:linux
2 Hits, Last modified: 12 years ago
MySQL: View Permissions @info:mysql:permissions
2 Hits, Last modified: 13 years ago
MySQL: Remove Database @info:mysql:database
2 Hits, Last modified: 13 years ago
Specify Java VM for Eclipse @info:code:eclipse
2 Hits, Last modified: 12 years ago
Install the Java-Plugin for Firefox @info:java
2 Hits, Last modified: 11 years ago
DynDNS Updates without a Client @info:script
2 Hits, Last modified: 13 years ago
Thunderbird Extendsions
2 Hits, Last modified: 13 years ago
Disable Core Dumps @info:linux
2 Hits, Last modified: 12 years ago
Oracle: EXP @info:oracle
2 Hits, Last modified: 13 years ago
Oracle: SQLplus Scripting @info:oracle
2 Hits, Last modified: 13 years ago
Cursor Size @info:linux:gnome
2 Hits, Last modified: 10 years ago
Debug Server Certificate from Client @info:cryptography:openssl
1 Hits, Last modified: 12 years ago
URL Encoding @info:webdesign
1 Hits, Last modified: 12 years ago

Page Tools

  • Show page
  • Old revisions
  • Backlinks
  • Back to top
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 4.0 International
CC Attribution 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki