wired things happening
hello there i am having strange problem, i want to add a users and delete a user.
when i type useradd -c Mary Smith" Mary the output error i get command not found useradd
same think same thing i get with userdel command not found.
before i was able to do this
Both the commands normally are in the /usr/sbin directory
to check if the command's exist, do this --->#locate useradd
and if they do exist, make sure you edit your .bashrc file to include the path to /usr/sbin
can you explain me more clearly
i have edit my bash_profile and i have add this
PATH=$PATH:/usr/sbin ; export PATH
this doesn't work
my .bash_profile look like this
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
# User specific environment and startup programs
export USERNAME BASH_ENV PATH
if u add[ PATH=$PATH:/usr/sbin ; export PATH ] it in the .bashrc file, the new settings will come into effect when you open a new terminal ...
i have add the line, but when i open a new bash prompt it gives error saying
bash: /root/.bashrc: line 17: syntax error: unexpected end of file
can u post ur .bashrc file .....
|All times are GMT -5. The time now is 03:48 AM.|