Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.................
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.
quote:
--------------------------------------------------------------------------------
Can i use the same codes (DOS) in the terminal.
--------------------------------------------------------------------------------
If you're used to DOS commands you can make aliases for them and put them in a .bashrc or .bash_profile
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'
then, when you attempt to delete a file, you will be prompted for confirmation.
In fact, aliases allow you to specify by default some parameters for certain commands.
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.
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 )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.