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

Popular posts from this blog

php - Displaying JSON data posts for blog using just the post id -

docusignapi - Documents restrictions within a package -

javascript - Angular2 intelliJ config error.. Cannot find module '@angular/core' -