Search Results

Search: Posts Made By: bib2006
3,298
Posted By bib2006
Allright, i'll try that, Thanks!
Allright, i'll try that, Thanks!
3,298
Posted By bib2006
Local variable shell/new shell
Hi!
I'm trying to figure out how to reuse an "old" variable in a new bourne shell.
Am i supposed to use the export function?
If i write:

NAME="Simon"
echo $NAME

it returns Simon, but if i...
35,661
Posted By bib2006
Thank's alot scottn, works like a charm! :b:
Thank's alot scottn, works like a charm! :b:
35,661
Posted By bib2006
Thanks for the replies, but i still cant get it...
Thanks for the replies, but i still cant get it to work.
When i use this code:
#!/bin/sh
echo "Search user:"
read typed
if id $typed > /dev/null 2>&1
echo "user exist!"
else
echo...
35,661
Posted By bib2006
Check if user exists shell
Hello!
I'm stuck with a problem that i can't solve. I'm very new to unix, linux and shell scripting i might add. I'm trying to create a script that will execute as follows:
First start the script -...
Showing results 1 to 5 of 5

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