Go back to fronty page View most popular entries View latest additions Submit tutorials to UnixTutorials.info
UnixTutorials logo

Search results for Tweakin' your Bash Prompt

Linux

Tweakin' your Bash Prompt

Post date: January 6, 2007, 22:01 Category: System Views: 4252 Comments
Tutorial quote: A friendly companion to the Bash-Prompt HOWTO, including a new trick to make the prompt change color dynamically based on your log-in. In the process, the overview could be handy in doing other Bash prompt tricks.
Unix+clones

Bash tips and tricks

Post date: November 26, 2007, 05:11 Category: Software Views: 39567 Comments
Tutorial quote: For the uninitiated, bash is the default shell in many Linux distros, including Fedora, Ubuntu, Redhat etc etc. If you use a Linux based OS, then chances are that you are using bash. For this reason, I outline below a few common annoyances, and the simple ways to overcome them.
Linux

How the One-Liner For-Loop in Bash Goes

Post date: January 6, 2007, 21:01 Category: System Views: 3395 Comments
Tutorial quote: A mini-guide to one of the coolest tricks at the Bash command line - performing the same operation on a whole group of files at once using the "for-do-done" loop syntax.
Linux

Talking clock, written in bash using common utilities

Post date: October 20, 2006, 19:10 Category: Programming Views: 3916 Comments
Tutorial quote: Build your own talking clock, using Bash and some common *nix utilities like sox. Articluates the time at random once an hour and hour and with a random pitch.
Includes very basic short scripts to get you going on basic bash coding and then puts it all together to produce the finished item.
Takes time out to explain as much as possible to a large audience.
Linux

Automating the Login Script

Post date: April 17, 2005, 10:04 Category: Miscellaneous Views: 2502 Comments
Tutorial quote: In a perfect world, you could spend a few weeks creating a system and the result would be a system that never required manual maintenance or modifications. Whether this ideal will ever be achieved is debatable, but it definitely won't happen in the near future. In the meantime, we still have to do things manually, even if only once in a while. When I must do things manually, I'm not usually happy about it. In fact, it usually means that there has been an emergency, so other people aren't happy about it either. In times like this, it is nice to have a consistent and efficient user interface on every machine. The information and examples presented in this article assume that you are using the bash shell. However, you can modify all of the scripts so that they work in other shells. In some cases, they might even work unmodified (like in the standard Bourne Shell [sh]). Other shells will also work, but they might have different methods for changing the prompt and creating command aliases. The principles in this article should be relatively easy to adapt to the shell of your choice.
Unix+clones

A quick guide to writing scripts using the bash shell

Post date: December 23, 2007, 20:12 Category: Programming Views: 6885 Comments
Tutorial quote: This quick bash scripting guide will have you writing scripts in no time.
Unix+clones

Have a Bash With This Linux Shell

Post date: April 15, 2005, 05:04 Category: Programming Views: 3128 Comments
Tutorial quote: Any Linux administrator who wishes to remain sane relies heavily on scripting to automate routine tasks, customize jobs, and build the plumbing that connects the different utilities that make a Linux system run smoothly. The Linux world is chock-full of scripting languages: Perl, Python, PHP, Scheme, Tcl, Tk, Ruby, Forth, Smalltalk, Eiffel, and doubtless many more. To get the column started, we'll look at shell scripting with Bash, and scripting with Python and Perl.
Unix+clones

CLI Magic: OpenSSH + Bash

Post date: January 25, 2006, 20:01 Category: Network Views: 2974 Comments
Tutorial quote: As a system administrator, I have used OpenSSH's piping abilities more times than I can remember. The typical ssh call gets me access to systems for administration with a proven identity, but ssh is capable of so much more. In combination with bash's subshell invocation, OpenSSH can distribute the heavy work, reduce trace interference on a system under test, and make other "impossible" tasks possible. I've even used it to make Microsoft Windows remote administration easier.

In the examples below, I have tried to avoid GNU-specific idioms for tools which have non-GNU counterparts. This practice improves portability of shell scripts in heterogeneous environments.
Linux

Basic Linux Commands With Man Pages

Post date: October 11, 2006, 16:10 Category: Installing Views: 2978 Comments
Tutorial quote: Here are some basic commands to get you started in the wonderful world of Linux and other UNIX variants. All of these commands should work from your command prompt (regardless which shell you’re using).
Solaris

How to Perform System Boot and Shutdown Procedures for Solaris 10

Post date: February 6, 2006, 07:02 Category: System Views: 10882 Comments
Tutorial quote: System startup requires an understanding of the hardware and the operating system functions that are required to bring the system to a running state. This chapter discusses the operations that the system must perform from the time you power on the system until you receive a system logon prompt. In addition, it covers the steps required to properly shut down a system. After reading this chapter, you’ll understand how to boot the system from the OpenBoot programmable read-only memory (PROM) and what operations must take place to start up the kernel and Unix system processes.
Web-based applications and online marketing solutions - LumoLink