Arguments in the shell are are separated using spaces. This means that whenever you run a command and try to pass a file or a directory as an argument that contains a space in it, bash assumes it is two separate arguments. There are many ways to specify this. You can use what is called an escape character to signal that the space is part of the argument. To do this, just insert a \
before the space in the file name
cd Program\ Files
or you can use quotes to signal that it is a single parameter
cd "Program Files"
However, often you will not need to type the whole thing if you use the Tab Completion feature
cd P<TAB>
If there are multiple files starting with P, add another alphabet and press tab again to complete.
There isn't really a way to make it automatically change the color of a folder or file that you view, but you could do something with changing the permissions on the file, to make it change colors after viewing the movie. First, we will make sure that we have color enabled in our terminal. If you already see different colors for stuff in terminal, you can skip this step.
Edit ~/.bashrc, and make sure to uncomment the following line, if it is commented (simply remove the leading #'s)
#force_color_prompt=yes
You will have to close and re-open a terminal for this to take affect. Now that we have color in the terminal, a simple way to "mark movies as watched" would be to play with the permissions.
If your movies are all files, you could do something like setting the executable bit, which would make them green, by default. This shouldn't really be much of a security issue.
chmod +x MyMovie.mkv
If your movies are stored in separate folders, and you want to mark the containing folder as watched, you could do something like adding the sticky bit, which means that only the owner/creator of the folder (and files within the folder) can delete/rename them. In a typical household scenario, this shouldn't pose any real security risks (in fact, it would be more secure). This will make the "watched" movie show up as white, with a blue background.
chmod +t MyMovieFolder
Best Answer
In your session
ls
displays the content of the current directory (but not hidden files starting with a dot in the filename). You navigate into another directory by typingcd dirname
. Here you have to substitude "dirname" by a directory's name you want to change into. Normally you start out with your home directory as current working directory. In your case that is most likely/home/christy
. Ifls
shows you a directory called "Template" you can change into "Template" (=make it your current working directory) by typing (mind the space) the command:you will change your current working directory to "Templates" or print "No such file or directory", if a dir of that name does not exist in your current direcotry. Typing
pwd
will always give you the full patch to your current working directory including parents.You can supply optional arguments to each command. For
cd
the string "Templates" was such an optional argument. If you typels -a
for instance, thels
command will print out hidden files as well. Or withls Templates
it will print the content of the Tempaltes directory instead of you current working dir's content. Arguments must be separated by at least one space from the command name and from each other. The lack of a space between the two was the reason your command did not work.Since the space character has a special meaning, you will need to quote or escape it, if it's part of an argument. So if for instance you want to change your current working directory to "Source Files" you need to type one of these commands:
The upper line being "escaped" while the lower line is "quoted".
If you want to learn more the better guide for you might be: Introduction to Linux (pdf) (html)
Edit:
Okay now, sorry I didn't see your link there. Your post was a bit misleading, now I think I got you:
So you want to install tex-live from the source archive that is linked in the "Getting Started" guide you posted. To do that you must first remove any pre-existing installation of tex-live. You do that by opening a terminal doing this:
At this point you have to enter you password and will be rewarded with a few boring messages, that I will omit here. Then you'll have to download the archive named
install-tl-unx.tar.gz
(you already did that and don't have to download it again, but I show you how to do it none the less just in case):Now that you have downloaded the archive you can unpack it
Now that you've unpacked the archive you can change into the directory that was unpacked.
The number "20120701" is a timestamp saying which version of tex-live you have. This number might be different for you but the command
ls | grep install-t1-
will tell you what to use instead. If all this worked, you can run the install script from here:From here on just answer the questions you're asked by the install script and you should be fine.