Hello all,
I have a text file that basically contains one line that reads, as an example:
adduser -u jsmith -n "xxxxxxxxx"
now, what i'd like to do is to be able to make a directory name called jsmith, or whatever username that the text file will contain (as designated after the -u), and create a directory in that name. The username length will vary, but the -n will always appear after the username, and the -u will always appear before the username.
Thanks in advance,
I have a text file that basically contains one line that reads, as an example:
adduser -u jsmith -n "xxxxxxxxx"
now, what i'd like to do is to be able to make a directory name called jsmith, or whatever username that the text file will contain (as designated after the -u), and create a directory in that name. The username length will vary, but the -n will always appear after the username, and the -u will always appear before the username.
Thanks in advance,