• skip to content

andunix.net

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: andunix.net » sh
Trace: • exif • _template • service • plan • info • blogging • settings • cli • Make your Mac feel at Home • travian

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
@info
  • Any namespace
  • info:mac (7)
  • info:linux (6)
  • info:script (5)
  • info:oracle (4)
  • info:cryptography (3)
  • info:mysql (2)
  • info:sysadmin (2)
  • info:android (1)
  • info:code (1)
  • info:java (1)
  • info:prog (1)
  • info:solaris (1)
  • info:virtualbox (1)
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Matching pagenames:

  • SSH
  • root login with bash
  • SSH
  • Shadows

Fulltext results:

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
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
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
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
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-%
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> {{
Disable a Service @info:linux:debian
4 Hits, Last modified: 9 years ago
a Service ====== To disable a service: <code bash> service <service> stop update-rc.d <service> ena... th ''systemd'' (starting with Debian 8): <code bash> systemctl disable <service> </code> To (re)enable a service: <code bash> update-rc.d <service> enable|disable service <se... th ''systemd'' (starting with Debian 8): <code bash> systemctl enable <service> </code> {{tag>linux
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
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
Command Line Audio @info:mac
3 Hits, Last modified: 13 years ago
I needed a command line tool which I can use via ssh. I've found it here: [[http://osxdaily.com/2007/0... from the command line]]. It's as easy as <code bash> sudo osascript -e "set Volume 10" </code> You c... mand line audio player]]. You just enter <code bash> afplay file.wav </code> More information on how
SSH
3 Hits, Last modified: 13 years ago
====== SSH ====== ===== Export public key from secret key ===== The public key ''andunix.pub'' which... s to the secret key ''andunix'' is extracted. ssh-keygen -y -f andunix > andunix.pub {{tag>security cryptography ssh sysadmin}}
Oracle: SPFile and PFiles @info:oracle
3 Hits, Last modified: 13 years ago
> ===== Initialization Parameters ===== ==== Flash Recovery Area ==== === DB_RECOVERY_FILE_DEST_SIZ... ERY_FILE_DEST_SIZE'' specifies the size of the flash recovery area. * For more inforamtion, see the... tparams063.htm#REFRN10235|11.2]] Example: Set flash recovery area to 8GB. The usage of ''SCOPE=BOTH''
Oracle: Recovery Manager @info:oracle
3 Hits, Last modified: 13 years ago
===== ===== Start Recovery Manager ===== <code bash> rman target / </code> ===== Delete Archive Logs... ng all logs except the last three days): <code bash> #!/bin/bash . ${HOME}/.profile rman target / << __EOF__ DELETE NOPROMPT ARCHIVELOG ALL COMPLETED
Debug Server Certificate from Client @info:cryptography:openssl
3 Hits, Last modified: 12 years ago
Credit for this example goes to "[[http://langui.sh/2009/03/14/checking-a-remote-certificate-chain-wi... ficate Chain With OpenSSL]]" from [[http://langui.sh/|langui.sh]]. openssl s_client -showcerts -connect www.andunix.net:443 Informations about the use
Compare directories @info:script
3 Hits, Last modified: 7 years ago
Android Backup @info:android
3 Hits, Last modified: 13 years ago
Setting the Timezone @info:linux:debian
3 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
VBoxManage (The VirtualBox CLI) @info:virtualbox
2 Hits, Last modified: 12 years ago
List Open Ports @info:sysadmin
1 Hits, Last modified: 9 years ago
Oracle: EXP @info:oracle
1 Hits, Last modified: 13 years ago
Comapct Sparse Image @info:mac
1 Hits, Last modified: 10 years ago
Cursor Size @info:linux:gnome
1 Hits, Last modified: 10 years ago
Disable Core Dumps @info:linux
1 Hits, Last modified: 12 years ago
Install the Java-Plugin for Firefox @info:java
1 Hits, Last modified: 11 years ago
Change Encoding with iconv @info:script
1 Hits, Last modified: 13 years ago
pargs for Linux @info:linux
1 Hits, Last modified: 12 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
Firefox Extensions @info:prog:firefox
1 Hits, Last modified: 12 years ago
Clear DNS Cache @info:mac
1 Hits, Last modified: 10 years ago
Make your Mac feel at Home @info:mac
1 Hits, Last modified: 10 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