• skip to content

andunix.net

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: andunix.net » sh
Trace: • apple • generator • certificate • fstyp • service • wikitable • Travian Analyzer Bookmarklet • geocache • Package Repositories • rmdir for OSX

sh
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
Any namespace
  • Any namespace
  • info (36)
  • z (11)
  • blog (10)
  • tag (2)
  • wiki (2)
  • p (1)
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Matching pagenames:

  • SSH
  • bash
  • bashrc
  • share
  • shell
  • ssh
  • OpenSolaris / VirtualBox: Mount Shared Folder
  • root login with bash
  • SSH
  • Shadows
  • base-ssh-login
  • base-ssh-mount
  • base-ssh-umount

Fulltext results:

Travian Map Download Script @z:travian
15 Hits, Last modified: 13 years ago
to the database. ===== config.inc ===== <code bash> # # database DB_USER="travian" # set this to you... MAP_DIR=${HOME}/opt/travian DUMP_DIR=/srv/glassfish/domains/domain1/docroot/sql # # executables MYSQL... output " </code> ===== cron.hourly ===== <code bash> #! /bin/sh echo `date +'%Y-%m-%d %H:%M'`: $0 for w in de7 do ${HOME}/opt/travian/bin/get.sh ${w}
ZFS Playground @blog:2009
10 Hits, Last modified: 17 years ago
, but they are only files for this demo. <code bash> cd /var/tmp mkfile 200m c0d0 c0d1 c0d2 c1d0 c1d1 c1d2 </code> ===== Create Pool ===== <code bash> pfexec zpool create demo /var/tmp/c0d0 zpool st... disk to the existing, creating a mirror. <code bash> pfexec zpool attach demo /var/tmp/c0d0 /var/tmp/... llers. So, let's replace c0d1 with c1d0. <code bash> pfexec zpool replace demo /var/tmp/c0d1 /var/tmp
localeadm @info:solaris
9 Hits, Last modified: 13 years ago
it (insert your path in the first line. <code bash> ISOIMG="/share/iso/sol-10-u8-ga-sparc-dvd.iso" L... e: 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 l... ===== ==== List Installed Locales ==== <code bash> localeadm -lc </code> Example output: <code> C
root login with bash @info:script
9 Hits, Last modified: 13 years ago
====== root login with bash ====== On our systems, the ''root'' account is set to be a role, so you c... o, 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 ''root'' with a ''bash'' shell. ssh demo.lab.example.com -t "su - roo
How To Create a Moveable VM with VirtualBox @blog:2010
8 Hits, Last modified: 16 years ago
he extensions for the generated scripts. <code bash> VBOX="/usr/bin/VBoxManage" SCRIPT_EXT="command" ... meters in case the user enters no value. <code bash> RAM="512" DISK_SIZE="8196" DISK_TYPE="vdi" </cod... example, the question for the disk size: <code bash> echo -n "Enter disk size in MiB [${DISK_SIZE}]: ... gured according to the parameters above. <code bash> mkdir -p "${VM_DIR}" ${VBOX} -q createvm --nam
Formatting Syntax @wiki
8 Hits, Last modified: 5 years ago
ssible, too. Just add the section name behind a hash character as known from HTML. This links to [[syn... /lang.php> <?php /** * Customization of the english language file * Copy only the strings that needs... 4'' | | Audio | ''ogg'', ''mp3'', ''wav'' | | Flash | ''swf'' | If you specify a ... toconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf
Cleanup Packages @info:linux:debian
7 Hits, Last modified: 12 years ago
not purged) packages with this command: <code bash> dpkg --get-selections | grep 'deinstall$' </code... ectly to aptitude to purge the packages: <code bash> aptitude purge $(dpkg --get-selections | grep 'd... First, you have to install ''deborpan'': <code bash> aptitude install deborphan </code> Then you can get the list of orphans: <code bash> deborphan </code> If you want, you can even mor
SSH @info:sysadmin
7 Hits, Last modified: 10 years ago
====== SSH ====== ===== SSH with Public Key Authentication only ===== === /etc/ssh/sshd_config === Make sure that your SSH config file (''sshd_config'') contains these settings: <cod
Shell Script Variables @info:script
5 Hits, Last modified: 10 years ago
===== Get the last character of ''$a'': <code bash> ${a: -1} </code> ===== Remove Slash from the End of a Variable ===== Remove a trailing slash from ''$a'': <code bash> a=${a%/} </code> {{tag>scripting bash sysadmin variable}}
DynDNS Updates without a Client @info:script
5 Hits, Last modified: 13 years ago
ent for my OpenSolaris Home Server, but a small bash script does the job as good as any other client. <code bash dyndns-update.sh> #! /bin/bash . ${HOME}/.dyndns.cfg DOMAINS=$(cat ${HOME}/.dyndns.domains) echo "$(date '+%Y-%m-%
IPS Repository Appliance @blog:2010
4 Hits, Last modified: 15 years ago
terminal and check the repository path. <code bash> df -h ls -d /media/*/repo </code> {{osolrepo06.... ds with adequate privileges. Use "su", "sudo", "pfsh" or "pfexec" to obtain root privileges. <code bash> svccfg -s application/pkg/server setprop pkg/ins... nd replace ''{IP}'' with the IP address. <code bash> pkg set-publisher -O http://{IP} opensolaris.org
rmdir for OSX @info:mac
4 Hits, Last modified: 10 years ago
from the command line quite complicated: <code bash> $ rmdir test rmdir: test: Directory not empty $ ... ore $ /bin/rmdir test </code> I wrote a small bash function to remove directories together with the contained ''.DS_Store'' file: <code bash> rmdir() { for d in "$@" do f="${d%/}/.DS_Store"... ion you can remove the directory at once: <code bash> $ rmdir test removing test/.DS_Store </code> {{
MacPorts @info:mac
4 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 =... ou can see a list of all installed ports: <code bash> port echo installed </code> After you run MacPo... of duplicate ports. You can clean these: <code bash> sudo port uninstall inactive </code> {{tag>admi
base-ssh-login @z:relax:api:base
4 Hits, Last modified: 13 years ago
====== base-ssh-login ====== Logs into a remote host using ssh. This can be used to open a remote sesssion, but usus... ly execute a command. ===== Usage ===== base-ssh-login SERVICE [ COMMAND ] * ''SERVICE'': a key... resent, an interactive shell will be opened by ''ssh''. ===== Returns ===== Returns the output of th
Git @info:code
4 Hits, Last modified: 7 years ago
ch -d BRANCH === Delete Remote Branch === git push origin -d BRANCH === List unmerges branches === L... flow feature start FEATURE git flow feature finish FEATURE === Release === git flow release start RELEASE [BASE] git flow release finish RELEASE === Hotfix === git flow hotfix start VERSION [BASENAME] git flow hotfix finish VERSION ===== Diff ===== If you only want the cha
Disable a Service @info:linux:debian
4 Hits, Last modified: 9 years ago
Oracle: SPFile and PFiles @info:oracle
3 Hits, Last modified: 13 years ago
OpenSolaris / VirtualBox: Mount Shared Folder @blog:2009
3 Hits, Last modified: 17 years ago
Android Backup @info:android
3 Hits, Last modified: 13 years ago
Compare directories @info:script
3 Hits, Last modified: 7 years ago
ssh @tag
3 Hits, Last modified: 12 years ago
SSH @info
3 Hits, Last modified: 13 years ago
bash @tag
3 Hits, Last modified: 10 years ago
Oracle: Recovery Manager @info:oracle
3 Hits, Last modified: 13 years ago
Command Line Audio @info:mac
3 Hits, Last modified: 13 years ago
Debug Server Certificate from Client @info:cryptography:openssl
3 Hits, Last modified: 12 years ago
Setting the Timezone @info:linux:debian
3 Hits, Last modified: 13 years ago
Memory Usage of a Solaris Container (Zone) @blog:2010
2 Hits, Last modified: 16 years ago
base-net-load-url @z:relax:api:base
2 Hits, Last modified: 13 years ago
Upgrade Solaris 11/OpenSolaris from Text to Graphical @blog:2010
2 Hits, Last modified: 15 years ago
Drupal: Reverse Proxy @blog:2010
2 Hits, Last modified: 13 years ago
Oracle Errors @info:oracle
2 Hits, Last modified: 13 years ago
MySQL: Change Password @info:mysql:user
2 Hits, Last modified: 12 years ago
MySQL: Backup @info:mysql:database
2 Hits, Last modified: 13 years ago
Home Server Goals @blog:2010
2 Hits, Last modified: 10 years ago
base-exec-user @z:relax:api:base
2 Hits, Last modified: 13 years ago
base-ssh-umount @z:relax:api:base
2 Hits, Last modified: 13 years ago
base-ssh-mount @z:relax:api:base
2 Hits, Last modified: 13 years ago
base-exec-superuser @z:relax:api:base
2 Hits, Last modified: 13 years ago
VBoxManage (The VirtualBox CLI) @info:virtualbox
2 Hits, Last modified: 12 years ago
andunix-tool @p:andunix-tool
2 Hits, Last modified: 13 years ago
Start and Stop the Apple File Server from Command Line @blog:2011
2 Hits, Last modified: 10 years ago
Firefox Extensions @info:prog:firefox
1 Hits, Last modified: 12 years ago
Clear DNS Cache @info:mac
1 Hits, Last modified: 10 years ago
Travian @z:travian
1 Hits, Last modified: 13 years ago
pargs for Linux @info:linux
1 Hits, Last modified: 12 years ago
Make your Mac feel at Home @info:mac
1 Hits, Last modified: 10 years ago
Install the Java-Plugin for Firefox @info:java
1 Hits, Last modified: 11 years ago
Simulating slow network connections with trickle @blog:2014
1 Hits, Last modified: 12 years ago
Disable Core Dumps @info:linux
1 Hits, Last modified: 12 years ago
Cursor Size @info:linux:gnome
1 Hits, Last modified: 10 years ago
base-repo-get-service @z:relax:api:base
1 Hits, Last modified: 13 years ago
Comapct Sparse Image @info:mac
1 Hits, Last modified: 10 years ago
Oracle: EXP @info:oracle
1 Hits, Last modified: 13 years ago
base-repo-get-value @z:relax:api:base
1 Hits, Last modified: 13 years ago
host-user-list @z:relax:api:host
1 Hits, Last modified: 13 years ago
List Open Ports @info:sysadmin
1 Hits, Last modified: 9 years ago
Change Encoding with iconv @info:script
1 Hits, Last modified: 13 years ago
Set a Mac's Hostname @info:mac
1 Hits, Last modified: 10 years ago
Print Information about a Signature @info:cryptography:openssl
1 Hits, Last modified: 11 years ago
Download a Server Certificate @info:cryptography:openssl
1 Hits, Last modified: 11 years ago
DokuWiki @wiki
1 Hits, Last modified: 5 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