Hi guys I'm learning how to use terminal through an online tutorial
I'm practicing making an alias for specific commands(cd, rm, etc.) so that I don't have to use the -i flag before using a command. It says to make a dummy file in documents and then use the rm command and I should be prompted to decide if it is okay to remove it but when I get the listing of whats in the documents directory(ls) and see the dummy file I made to remove(dummy file.rtf) and then hit the command rm dummy file.rtf it says there is no such file or directory. But its right in front of my face! Even if the alias didn't work its still not doing anything. Whats wrong? Any suggestions for a better tutorial?
1) Shouldn't this be moved to another forum?
1++) What language are you programming in?
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
You will probably need to escape the space (Unix and FreeBSD file systems do not handle spaces well). Try this
# rm dummy\ file.rtf
You can also try typing
# rm "dummy file.rtf"
yep the quotes worked. Thanks
By the way. Am I in the right forum? I am interacting with the OS right??? (not being a smart ***)
I think you are, I just misunderstood and thought you were programming replacements of those commands.![]()
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Yeah just thought I would make sure in case I have more questions involving the same subject
You're in the right section. We'd move you if you weren't![]()
Odd, I wonder why \ escape didn't work. It works in Sabayon/OpenSuse/CentOS.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks