Conquer the Terminal: Learn Linux mkdir Command
The mkdir command, short for "make directory," is a fundamental tool in Linux and Unix-based operating systems for creating new directories (folders). Here's a breakdown of its key functionalities: Creating Directories: The primary function of mkdir is to create new directories in the specified location. You can provide a name for the new directory as an argument to the command. Specifying Location (Optional): By default, mkdir creates the directory in the current working directory (the directory you're currently in on the terminal). However, you can specify a full path or a path relative to the current location to create the directory in a different location. Creating Multiple Directories (Some Systems): In some Linux systems, mkdir allows you to create multiple directories at once if you provide their names as separate arguments to the command. However, this functionality might not be available on all systems. Here are some additional points to consider when using mkdir: Permissions: Newly created directories inherit their permission settings from the parent directory. You might need to use the chmod command to adjust permissions for the new directory if necessary. Existing Directories: If you try to create a directory with a name that already exists in the specified location, mkdir will typically return an error message. Help us grow by donating: https://ccdtt.com/donate/ Follow Me on Twitter https://twitter.com/CCNADailyTIPS tiktok: https://www.tiktok.com/@ccnadailytips Donate via paypal https://www.paypal.com/donate/?hosted_button_id=AW9N9PP958VZW Donate via Patreon https://www.patreon.com/CCNADailyTIPS
Download
0 formatsNo download links available.