Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bad bash shell script has me stumped...
Message
Information générale
Forum:
Linux
Catégorie:
Autre
Divers
Thread ID:
00448801
Message ID:
00450535
Vues:
33
>>I think it has something to do with the piping interfering with the If test.
>
>Nest an if? I don't think I would ever attempt operations during an if in bash. How about using Perl?

I was thinking about using Python. I used that on another task and it worked beautifully and was easy to learn (which is a necessary requirement for a 60 year old brain :)


>
>>When I remove the test and run the script everything works with one exception:
>>useradd won't add a user that has only a 5 digit number for a name. You can
>>add users with integer names using Kmuser, but I haven't found a way to get
>>useradd to accept them...
>
>Km... what? What's kmuser?

It is a KDE GUI front end to manipulate users and groups. Very nice.


>
>j
Nebraska Dept of Revenue
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform