linux - mkdir create directory in current users directory - bash -
#!/bin/bash mkdir -p user_records
i want create directory user_records
in current user's directory. how achieve this? tried adding sudo
in front of mkdir
not create directory in desired location.
you should able access user directory ~
, try:
mkdir -p ~/user_records
Comments
Post a Comment