Search Results
Advanced .bash_profile with functions and aliases to help system administrators and bash hackers.
Webmasters often use SSH to remotely admin web sites and servers, learn how to make your shell colorful and powerful using my sample .bash_profile and you
Aug 23, 2009 askapache-bash_profile-th. Custom bash_profile for Advanced Shell Users askapache-bash_profile. This entry was posted on Sunday,
Aug 23, 2009 AskApache Bash_Profile Shell Script. FREE THOUGHT · FREE SOFTWARE · FREE WORLD. ← Custom bash_profile for Advanced Shell Users
Custom bash_profile for Advanced Shell Users binbash source ~bash_profile &devnulll pmPM is a function to output nice messages with color ynAre you
Jul 8, 2007 Custom Pretty DreamHost .bash_profile. This entry was posted in . Bookmark the permalink. Follow any comments here with the RSS feed for
Add this to your .bash_profile or other shell startup script, or just type it at the prompt. Now just run wget from the command line as usual, i.e. wget
Custom bash_profile for Advanced Shell Users Advancedbash_profile with functions and aliases to help system administrators and bash hackers
otherwise I would want to sync a backup to happen automatically every X number of logins or days (test logfile time in bash_profile?).
The next command simply appends your last command to the history file Usually this is ~bash_profile or whateverHISTFILE is This makes sure you never lose
So I decided that to standardize and create a bash_profile containing the most time-saving and helpful functions that I could use on all the various hosting
Firefox Add-ons for Web DevelopersCustom bash_profile for Advanced Shell Users » Custom bash_profile for Advanced Shell Users »
Custom bash_profile for Advanced Shell UsersHTTP Status Codes and .htaccess ErrorDocuments » .. Custom bash_profile for Advanced Shell Users
Tags:301 Redirect, admin, Advanced, Ajax, Anti-Spam, Apache, askapache, bash, bash_profile, Cache, caching, cheatsheet, chmod, Cookies, CSS, debugging,
2010-03-25T15:20:41+00:00 monthly 0.2 http://www.askapache.com/linux-unix/bash_profile-functions-advanced-shell.html 2010-03-19T02:31:07+00:00 monthly
it's very enlightening to compare the ulimits on different hosts…. here's a func from my bash_profile, it's interesting to run this from different
using Rsync over SSH ·Redirecting RSS to Feedburner ·Speed up your site with Caching and cache-control ·Custom bash_profile for Advanced Shell Users
PortaPutty Auto-Reconnecting SSH Tunnels on an Encrypted TrueCrypt Portable USB Key w GPG ·Custom bash_profile for Advanced Shell Users ·Automated Folder
I personally just stick the askapache command at the end of this script and that way it is executed every time I log in. askapache-bash_profile
I give you my .bash_profile file. You should edit it to fit your needs, (especially the exported vars like PATH, LDFLAGS, if you don't understand something
towards making things even more portable in order to move from host to host from server to server without issues ie my portable .bash_profile. []
Add this to your .bash_profile file in your dreamhost shell account export
To make managing privileges easier in interactive sessions “umask 007″ command can be specified in your .bash_profile - this makes all new files carry xx0
In order to show you the most relevant results, we have omitted some entries very similar to the 23 already displayed.If you like, you can repeat the search with the omitted results included.
This amazing bash linux prompt does more than meets the eye. If you want to know how to become really good with technology, linux is the secret sauce behind the AskApache articles. Open Source is elixir of the web. Thanks to everyone who helped me for the past 20 years. I use linux/bsd because homey don’t play, so this is geared to be as productive a prompt as I can make it.
Don’t have much time.. or just don’t care? Not a problem, here are the 3 lines to copy and paste – you can just paste them right in your shell to test it, or add to a startup script.
export AA_P="export PVE=\"\\033[m\\033[38;5;2m\"\$(( \`sed -n \"s/MemFree:[\\t ]\\+\\([0-9]\\+\\) kB/\\1/p\" /proc/meminfo\` / 1024 ))\"\\033[38;5;22m/\"\$((\`sed -n \"s/MemTotal:[\\t ]\\+\\([0-9]\\+\\) kB/\\1/p\" /proc/meminfo\`/ 1024 ))MB\"\\t\\033[m\\033[38;5;55m\$(< /proc/loadavg)\\033[m\";echo -en \"\""
export PROMPT_COMMAND="history -a;((\$SECONDS % 10==0 ))&&eval \"\$AA_P\";echo -en \"\$PVE\";"
export PS1="\\[\\e[m\\n\\e[1;30m\\][\$\$:\$PPID \\j:\\!\\[\\e[1;30m\\]]\\[\\e[0;36m\\] \\T \\d \\[\\e[1;30m\\][\\[\\e[1;34m\\]\\u@\\H\\[\\e[1;30m\\]:\\[\\e[0;37m\\]\${SSH_TTY} \\[\\e[0;32m\\]+\${SHLVL}\\[\\e[1;30m\\]] \\[\\e[1;37m\\]\\w\\[\\e[0;37m\\] \\n(\$SHLVL:\\!)\\\$ " && eval $AA_P
Tags: .bashrc, 404 Not Found, admin, Advanced, Apache, askapache, bash, bash_profile, CommandLine, Dig, Examples, Forms, GET, grep, HowTo, Kung-Fu, Linux, Login, mysql, Port, Prompt, PROMPT_COMMAND, PS1, Putty, ram, Redirect, server, servers, Shell, Shell History, SPEED, SSH, SSI, stat, trick, Username, Web Hosting
Posted in Apache, DreamHost, Featured, Hacking, Htaccess, Linux Unix BSD, Making Money, Security, Server Administration, Shell Scripting, Web Hosting, Webmaster, WiredTree | Published on 05/25/2010 |7 Comments »
Ok I just came back up to write the intro.. I’m trying to keep it short to avoid getting bogged down by the coolness of each step. Here is what goes on. When I logon to my XP machine at work, I bring my usb key and plug it in first. On logging a window pops up first and it’s a password prompt to mount my encrypted drive leonardo. It also checks a keyfile that is located on my usb key, but all I do now is type in my password. That causes my encrypted folder to be accessible to me like a normal drive, and it autoruns a startup batch file.
The batch file causes Portable versions of Firefox (all my bookmarks, my settings) to load, and launches Portable Mozilla Thunderbird (IMAP makes this work well), which is my favorite program (great GPG features and open-source!). Also Some Adobe CS4 software is loaded from the hard drive, like DreamWeaver. In the background, a service we created executes a PortaPuttY plink command to create forwarded tunnels from various remote servers and accounts, all using key-based encryption. These tunnels are automatically reconnected if they are disconnected, meaning you can use a socks 5 if you want or even better!
Part 1 of 5
Tags: 401, Apache, askapache, ASP, Backups, Bandwidth, bash, bash_profile, Boot, compression, curl, Defrag, Email, encryption, filesystem, Firefox, Flash, GET, Google, GPG, Hard Drive, ionice, Linux, Login, Nice, PageDefrag, password, Performance, Pipelining, Plink, Port, post, Prompt, Putty, ram, rsync, Security, server, servers, Shell, SOCKS, SPEED, SSH, SSH Tunnels, SSI, stat, trick, TrueCrupt, tutorial, USB Drives
Posted in Apache, Cache, Featured, Hacking, Htaccess, Linux Unix BSD, Making Money, Security, Web Design, Web Hosting, Web Tools, Webmaster, WiredTree | Published on 02/23/2010 |7 Comments »
Unix file permissions are one of the more difficult subjects to grasp.. Well, ok maybe “grasp” isn’t the word.. Master is the right word.. Unix file permissions is a hard topic to fully master, mainly I think because there aren’t many instances when a computer user encounters them. I’ve done a lot of research on it the past couple weeks… and now here’s everything I’ve learned so far.. cuz you guys AskApache Regs Rock!
Tags: 301 Redirect, 302 Redirect, 401, 403 Forbidden, 404 Not Found, 500, 503, Apache, askapache, ASP, Backups, bash, bash_profile, Cache, chmod, Dig, DreamHost, fifo, File Permissions, File System, filesystem, Fsockopen, GET, Hacking, Htaccess, httpd, Linux, Login, password, Perl, PHP, php.ini, Port, Python, ram, Scripts, Security, server, servers, Sessions, Shell, Socket, Source Code, SSH, SSI, stat, trick, umask, Web Hosting
Posted in Apache, Featured, Hacking, Linux Unix BSD, PHP, Security, Server Administration, Shell Scripting, Web Hosting, Webmaster | Published on 11/19/2008 |5 Comments »
Webmasters often use SSH to remotely admin web sites and servers, learn how to make your shell colorful and powerful using my sample .bash_profile and you can be up and running in 30 seconds!
Tags: admin, Advanced, Apache, askapache, bash, bash_profile, DreamHost, GET, Google, HowTo, Linux, Login, PDF, PHP, Port, Prompt, PS1, server, servers, Shell, shell script, Shell Scripting, SSH, stat, umask
Posted in DreamHost, Linux Unix BSD, Shell Scripting, Webmaster | Published on 07/04/2007 |No Comments »