Search Results

Search: Posts Made By: bdragon
2,393
Posted By bdragon
Function - play # uses mplayer random directories
I have this in my .bashrc and use it to play my music. It is organized by directories and this will play them in random order:


play(){ ## play directories with mplayer (random)
if [ $# -eq 0 ]...
1,517
Posted By bdragon
You are missing the 'esac' to end the case block.
You are missing the 'esac' to end the case block.
1,517
Posted By bdragon
#!/usr/bin/bash while : do clear echo...
#!/usr/bin/bash

while :
do
clear
echo "
1. Item 1
2. Item 2
E. Exit

Please select choice: \c"
read CHOICE

case $CHOICE in
1) echo "Item 1";;
2) echo "Item 2";;
[eE]) exit 0;;...
12,565
Posted By bdragon
Watch is not on Solaris and mtop can use config...
Watch is not on Solaris and mtop can use config files as an argument. So one can have sets for watching during different tasks.

Fortune - because I can update it myself without any issues and it...
Forum: Solaris 06-29-2009
11,289
Posted By bdragon
How to do what? Connect? If after you login...
How to do what? Connect?

If after you login the perfoamce seems fine I would check the following:

1. Naming service, bad config can cause delays.
2. User authentication, which might relate to...
1,460
Posted By bdragon
Or: var1=$(echo $var1|tr -s '/' '~') This...
Or:
var1=$(echo $var1|tr -s '/' '~')
This should work in BASH or ksh.
12,565
Posted By bdragon
My site has a set of scripts that are useful and...
My site has a set of scripts that are useful and the code is commented pretty well.

.\\itch's Extras (http://www.bdragon.net)

Scroll down and look at the scripts section.
26,474
Posted By bdragon
If you just want to remove the spaces, send it...
If you just want to remove the spaces, send it the 'tr', and have it delete them.

echo "s t r i n g "| tr -d ' '

bd - I hope this helps.
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 07:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy