I have file named shadow.lab4 which contain below characters and stored in desktop:
$6$bIhKGKp3$LSd47ADZexr.4rBm8y29DLPfd1kxwyuliCea8fExg0ohMT25OAEqUOxKm7t6dj/M50PjACjD.gn.VDD8f4MVy0
Now I am trying to retrieve the encrypted data by using grep command and store it inside variable encr. Then show retrieved data on the screen by using
echo $encr
My expected output should be
LSd47ADZexr.4rBm8y29DLPfd1kxwyuliCea8fExg0ohMT25OAEqUOxKm7t6dj/M50PjACjD.gn.VDD8f4MVy0
Do you know code that I have to use to get my expected output by using 'grep'?
sekew; there is no:for the firstcut. Your post is very inconsistent. Please update the input data to match the commands in the pipeline.echo "$encr"