answersLogoWhite

0

You want to do that from command line?

Create folder DATA with mkdir DATA. (You should have permissions to create it)

If you want to create an empty file, just say touch DATA/myfile.txt

Or you can use the vi editor to write to the file (vi will open the file if it exists else will create that file for you), just type vi DATA/myfile.txt

You may need to learn some vi keys before you try that. On Linux, try vimtutor!

And just in case you think it is boring to type DATA/something... do CD DATA after creating the directory (folder) . Enjoy :)

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is the output of mkdir DesktopCS604 in Linux?

There is no text output. That command would create a directory / folder called "DesktopCS604".


Which Linux command is equivalent to Windows' MD command?

In a Linux terminal, the command to create a new directory is: mkdir .


How do you create a text file which list the contents of a folder and its subfolders?

To create a text file that lists the contents of a folder and its subfolders, you can use the command line. On Windows, open Command Prompt and use the command dir "C:\path\to\folder" /s > output.txt, replacing the path with your target folder. On macOS or Linux, use the Terminal and run ls -R /path/to/folder > output.txt. This will generate a file named output.txt containing the directory structure and contents.


Linux command to list a folders contents?

The LS command: ls folder Type man ls for more details.


How do you remove a directory with substructures in Linux?

You can remove a folder recursively with the command: rm -r dirname


How do you delete cfsdadfawd folder?

To delete the folder named "cfsdadfawd," you can use the command line or a file explorer. In Windows, open Command Prompt, navigate to the folder's location using the cd command, and type rmdir /s /q cfsdadfawd. In macOS or Linux, open Terminal, navigate to the folder's location, and use the command rm -rf cfsdadfawd. Alternatively, you can right-click the folder in a file explorer and select "Delete."


When you create a device special file in what folder should it be stored in Linux?

Usually they are stored in /dev


What is the use of MD command?

The MD command, short for "Make Directory," is used in command-line interfaces, such as Windows Command Prompt and Unix/Linux shell, to create a new directory (or folder). By specifying a name after the command, users can establish a structured hierarchy for file organization. For example, typing md new_folder would create a directory named "new_folder" in the current location. It can also create multiple directories at once if multiple names are provided.


What is the command to create a user in Linux?

su command is used to change the user.


Where can one learn more about Linux's TAR command?

The TAR command is Create Tape ARchives and is used by Linux and Unix. Information and explanations can be found on the linfo and computerhope websites.


How do you create users in Linux?

To create a new user account under any Linux distribution use command called useradd. The system administrator is responsible for creating account. Login as root user (or use sudo command).


What command in Linux is do you use to mount USB storage device sda1 to folder mnt?

mount /dev/sda1 /mnt/<mount point>.