So this doesn’t seem like a terribly complicated question I have, but it’s one I can’t find the answer to. I’m confused about what the -p
option does in Unix. I used it for a lab assignment while creating a subdirectory and then another subdirectory within that one. It looked like this:
mkdir -p cmps012m/lab1
This is in a private directory with normal rights (rlidwka
). Oh, and would someone mind giving a little explanation of what rlidwka
means? I’m not a total noob to Unix, but I’m not really familiar with what this means. Hopefully that’s not too vague of a question.
Related Posts:
- How to pretty print XML from the command line?
- How to colorize diff on the command line
- How to colorize diff on the command line
- What are file descriptors, explained in simple terms?
- How to kill a process running on particular port in Linux?
- Display exact matches only with grep
- How to split a delimited string into an array in awk?
- Display exact matches only with grep
- Argument list too long error for rm, cp, mv commands
- What does ^M character mean in Vim?
- What does it mean to write to stdout in C?
- What do ‘real’, ‘user’ and ‘sys’ mean in the output of time(1)?
- wait(null) and wait(&status) C language and Status
- Shell script “for” loop syntax
- Diff command along with Grep gives “Binary file (standard input) matches”
- What is cp: cannot stat error in Unix, I get this error when trying to copy thing from one folder to another
- How to get the current directory in a C program?
- When could or should I use chmod g+s on a file or directory?
- How to Sum a column in AWK?
- What is cp: cannot stat error in Unix, I get this error when trying to copy thing from one folder to another
- Equivalent of *Nix ‘which’ command in PowerShell?
- How do I parse command line arguments in Java?
- What is the difference between SIGSTOP and SIGTSTP?
- How to read a file into a variable in shell?
- gpg decryption fails with no secret key error
- What is the difference between tar and zip?
- Display current path in terminal only
- What do the dup() and dup2() systems really do?
- What generates the “text file busy” message in Unix?
- Reasoning behind C sockets sockaddr and sockaddr_storage
- How can I send an email through the UNIX mailx command?
- Rename multiple files based on pattern in Unix
- What is the difference between a symbolic link and a hard link?
- SCP Permission denied (publickey). on EC2 only when using -r flag on directories
- binary operator expected error when checking if a file with full pathname exists
- What is special about /dev/tty?
- How do I do ‘mount –bind’ in /etc/fstab?
- How to read backward from the end of file in less or more?
- Getting the last match in a file using grep
- “No such file or directory” but it exists
- How do I pause my shell script for a second before continuing?
- Node.js version on the command line? (not the REPL)
- In the shell, what does ” 2>&1 ” mean?
- How to find which version of TensorFlow is installed in my system?
- How do I grep recursively?
- What does cmd /C mean?
- https connection using CURL from command line
- syntax error when using command line in python
- How do I grep recursively?
- How to install JQ on Mac on the command line?
- Connect: Socket operation on non-socket
- What is the difference between read and pread in unix?
- How to reload .bash_profile from the command line?
- What is the purpose of “&&” in a shell command?
- Angular – ng: command not found
- How to run SQL script in MySQL?
- How to prompt for user input and read command-line arguments
- How can I pass an argument to a PowerShell script?
- Difference between using “chmod a+x” and “chmod 755”
- What does WEXITSTATUS(status) return?
- Parsing boolean values with argparse
- What does the line “#!/bin/sh” mean in a UNIX shell script?
- Which characters need to be escaped when using Bash?
- What is “String args[]”? parameter in main method Java
- cp: missing destination file operand after
- fatal: This operation must be run in a work tree
- How do you input command line arguments in IntelliJ IDEA?
- Python not working in the command line of git bash
- What is the reason for the CD /D switch in Windows cmd?
- Running Command Line in Java
- Sorting data based on second column of a file
- phpmyadmin #1045 Cannot log in to the MySQL server. after installing mysql command line client
- What is Robocopy’s “restartable” option?
- Passing additional variables from command line to make
- Using grep and ls -a commands
- How to stop (and restart) the Rails Server?
- Restarting cron after changing crontab file?
- How do I write stderr to a file while using “tee” with a pipe?
- Initialize WordPress environment to use in command line script
- How to use command ‘wp post create’ in wp-cli properly?
- How do I delete all generated images from my server except those currently used in posts
- Generate WP-CLI @alias for each site on multisite
- How do I set and list page_template with wpcli?
- Run W3 Total Cache Flush Function with Crontab [closed]
- How to change a post attribute to homepage using WP CLI?
- Shortest way to install WP-CLI
- WP Cli will not execute on Windows
- wp-env mysqlcheck error:1130
- How can I use PurifyCSS to clean WordPress style.css?
- How to run a php file that uses wordpress functions from command line?
- Get plugin download URL from slug
- Carriage Return control character (^M) found in wp-config-sample.php
- wp-cli for Creating page-template
- Database Update Required – Update from command-line
- How do I change my private key passphrase?
- How do I get the current Unix time in milliseconds in Bash?
- Meaning of directories on Unix and Unix like systems
- How to get pid of just started process
- How to disable everything in crontab -l?
- How to sort ps output by process start time?