LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Perl password change (https://www.linuxquestions.org/questions/linux-newbie-8/perl-password-change-4175511680/)

Fatman2 07-20-2014 01:04 PM

Perl password change
 
When I attempt to generate a new password using the command:
perl -e ‘print crypt(“admin”, Ap)’

I get a syntax error, can some ont tell me where I went wrong?
bash: syntax error near unexpected token `('


I am running Debian Wheezy

AlucardZero 07-20-2014 01:12 PM

You are using smart quotes. Don't. Use ' and " instead of ‘, “, ”, and ’.


All times are GMT -5. The time now is 09:08 AM.