terminal -> codes
Can i use the same codes (DOS) in the terminal.
Like: dir cd.. cd folder dir/w enz enz Ok, now an other problem. I uploaded a tar.gz file in the Desktop directory. I want to extract the files. I go to the terminal, go to the desktop directory, with: cd Desktop then I type: tar zxf *filename*.tar.gz then this comes on screen: Err filename.tar.gz: Cannot open: No such a file or directory Err Error is not recoverable:...... Err Child returned status 2 Err Error exit delayed from previous................. and so on WHAT AM I DOING WRONG? PLEASE HELP! (running on xbox btw) (gentoox) |
dir, cd .. and cd /folder/folder/folder all work in a similar way to the way they do in DOS. Type man cd or man <command> to get the full range of switches and other help.
I usually untar a file with tar -zxvf <filename>.tar.gz. |
dir = ls
cd.. is the same cd folder is the same dir /W = ls -m (I think) enz enz = I have no idea what that is To untar that file do: tar xzvf <file> <EDIT> Somebody beat me to it!</EDIT> |
(enz was dutch for etc. sorry)
Ok, but i says that he can't find the files :( what now? |
Ok, I just discovered that I was in the wrong directory ;P
The file is in Home/Gentoox So, how do i get there?!? And I cant FTP the file to the directory where im now in (/root/desktop) |
cd /Home/Gentoox
|
I think you mean you don't know how to copy the file, not FTP it. If so, use the 'cp' command:
Code:
cp /home/Gentoox/filename.tar.gz /root/desktop/ And read this course. Or any other you'll like as the only way to get things done right is to :study: :study: :study: |
Quote:
|
Quote:
_____________________________________ Just one thing What is the code for a folder up? I tried "cd.." but that won't work |
For going up one level in the direcotry structure the command is 'cd ..' Mind the space between the letter 'd' and the first dot.
Regarding aliases: in your home folder you should have a file named '.bashrc' which holds the settings for some of the behaviours of your console. If you'd add in it a line like: Code:
alias rm='rm -i' In fact, aliases allow you to specify by default some parameters for certain commands. |
geez, F*ck*ing spaces...
:P It works fine now I untarred some files. But now is my next problem: On screen is: (without the dots) xbox ttt-0.9.2 ls AUTHORS................................config.log COPYING................................config.status(green) ChangeLog................................confis.sub(green) INSTALL................................configure(green) Makefile................................configure.in Makefile.am................................install-sh(green) Makefile.in................................libtool(green) NEWS................................ ltconfig(green) README................................ltmain.sh acconfig.h................................missing(green) aclocal.m4 ................................mkinstalldirs(green) config.cache................................src(blue) config.guess(green)................................stamp-h config.h................................stamp-h.in config.h.in xbox ttt-0.9.2 The command i made before: tar zxf ttt-0.9.2.tar.gz cd ttt-0.9.2 ./configure make make install Above was the result So, (it is a game) HOW DO I RUN THE GAME NOW? |
It must be said that you should read the INSTALL and README files while they're provided. Looks like the program has itself installed elsewhere, probably in /usr/share or /usr/share/games. What's the eaxct name of the program? Issue that name at the command prompt and see if something happens.
|
In the readme file is the following:
INSTALLATION ------------ First run `make depend'. Then, compile with `make' (or, to compile with MPI, run `make MPI=1' or uncomment the line `MPI = 1' in the Makefile). I've tested ttt with Linux (x86) and Solaris (sparc). It should work on any UNIX platform, though. So when I type: make depend He says an Error The game is TicTacToe ( :P ) In the Install file is nothing. |
What error do you get? Maybe it requires some library you don't have (yet I'd doubt for a tictactoe game).
|
All times are GMT -5. The time now is 04:55 AM. |