Search Results

Search: Posts Made By: linuxinho
56,426
Posted By linuxinho
Trying to understand how things worked. I found...
Trying to understand how things worked.
I found myself a solution (if you know the first character is the slash).



lucid@gnomelynx:/$ BACKUP_DIR=/home/userx/backups/evolution...
56,426
Posted By linuxinho
BIG THANKS, TO ALL FOR HELP! Lets say...
BIG THANKS, TO ALL FOR HELP!

Lets say "radoulov" 10 points! OK! :)
56,426
Posted By linuxinho
Delete first character from a string stored in a variable
Hallo!

Example.

#!/bin/bash

BACKUP_DIR=/home/userx/backups/evolution

echo $BACKUP_DIR

# delete the first character from the string

BACKUP_DIR=$(echo $BACKUP_DIR | cut -c 2-)
...
12,132
Posted By linuxinho
Thanks for all repleys! Sorry! Mea culpa,...
Thanks for all repleys!

Sorry!
Mea culpa, mea culpa maxima!

It makes the difference!

#!/bin/bash

or

#!bin/sh

Just 3 seconds not concentrated. S..t happens!

Again Thanks for...
12,132
Posted By linuxinho
Thanks your reply! It works! But not...
Thanks your reply!

It works!

But not my script. There must be a fault before "read -n1....." in my script.

I'm giving up fore today.

Letting things go.

Tomorrow it will work. I hope....
12,132
Posted By linuxinho
read -n1 -r -p "Press..." key / produces error in bash shell script
Hello!

Sorry, for my not so perfect english!

I want to stop bash shell script execution until any key is pressed.

This line in a bash shell script

read -n1 -r -p "Press any key to...
Showing results 1 to 6 of 6

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