• skip to content

andunix.net

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: andunix.net » bash
Trace: • MySQL: Remove User • OpenSSL • Convert a Key • CloudTable • Print Information about a Key • base-repo-get-service • Project PDA • base-repo-get-value

bash
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.

Starts with
  • Exact match
  • Starts with
  • Ends with
  • Contains
@info:script
  • Any namespace
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Matching pagenames:

  • root login with bash

Fulltext results:

root login with bash
7 Hits, Last modified: 13 years ago
====== root login with bash ====== On our systems, the ''root'' account is set to be a role, so you can... urne 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 - root -c /bin/bash"' I set it up as an alias in ''.bashrc'': ali
DynDNS Updates without a Client
4 Hits, Last modified: 13 years ago
lient 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 "$... yndns.cfg''. Here an example config file: <file bash dyndns.cfg> LOGIN="jdoe:secret" UPDATE_URL="http:
Shell Script Variables
3 Hits, Last modified: 10 years ago
er ===== Get the last character of ''$a'': <code bash> ${a: -1} </code> ===== Remove Slash from the En... ===== Remove a trailing slash from ''$a'': <code bash> a=${a%/} </code> {{tag>scripting bash sysadmin variable}}
Compare directories
3 Hits, Last modified: 7 years ago
f the directories, generate a digest file: <code bash> find DIR -type f -exec shasum {} + | LC_ALL=C so... er 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 shasums1.txt shasums2.txt </code> {{tags>c
Change Encoding with iconv
1 Hits, Last modified: 13 years ago
=== Convert All Files in a Directory ===== <code bash> for f in $(find . -type f) do iconv -f iso-885

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