![]() |
file format why difference between "command line and GUI interface"
1. I am using RHEL 3, i have already installed gnome as default GUI. i create a folder and file why have diffirence between "command line and GUI". Example: i want to create a folder on root /abc def the folder i wish to create with the "space" then at "command line interface" will "error" the out put will create two folder "abc" "def" but at "gui interface" than can create the folder with space also the files with space will no problem.
how to create folder or files the "folder name and files name" with "space" in command line interface. Thank you very much... |
Spaces are special characters in the CLI. Its usually recommended that you do not use spaces in your filenames and if you have to, then enclose the name in quotes e.g.
Code:
$mkdir "abc def" |
Quote:
This is done by inserting a backslash. Eg: mkdir abc\ def This will create a directory called "abc def" |
Because spaces are handled specially, the common tradition on *nix systems is to avoid them in filenames altogether. I suggest you get in the habit of substituting underscores or hyphens instead. It will save you a whole lot of hassle in the long run. The same goes for other special characters, such as ampersands, parentheses, brackets, and the like.
|
| All times are GMT -5. The time now is 08:10 PM. |