Search Results

Search: Posts Made By: jjb1989
2,541
Posted By uvrakesh
hint Why are you reading username when you...
hint
Why are you reading username when you are overiding that later with $1


advice
along with the question, put how did you execute the command, what output did you get like
...
1,833
Posted By mobitron
You should use them when you want to pass the...
You should use them when you want to pass the output of what is within the quotes to another command, or a variable assignment.

e.g. if you wanted to assign the content of the user's passwd entry...
1,833
Posted By mobitron
You need to remove the backticks as well: ...
You need to remove the backticks as well:


if grep $username /etc/passwd > /dev/null
2,061
Posted By radoulov
Do not post classroom or homework problems in the...
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum (https://www.unix.com/homework-coursework-questions/) under special...
Showing results 1 to 4 of 4

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