LOL, I don't think there is a single "complete reference" out there for linux! ;-)Originally Posted by rooster
Even though you login as su, you still retain the init paths given to the user you are working under. Also, when you switch to the sbin directory you need to type ./ in front of the comman to tell it to look in the local directory and not in the environment paths.Issues:
1) I wanted to see what IP address I was allocated to my PC so I opened a terminal and typed "ifconfig --help" as suggested in another thread here. The response was "command not found." I figured I didn't have permission so I typed "su" and entered the password. I tried again. Same results. From here I searched for the file and found it in the /sbin directory. I changed to that directory and tried again. Same results. Yet I see "ifconfig" listed in the directory in green (by the way what are the color associations) if I do an ls. Same issue if I try linuxconf. What gives?
I think the most common of those are .tar and tar.gz. All of those are compressed files except for .sh which is a bash script executable. To unzip this as needed. (note commands will differ on version of tar, just do tar --help for more info)2) I was downloading some additional programs that I wanted to try, and there seems to be no standard for dowloaded programs. Some are .gz, .tar, .tar.gz, .tgz, .zip, .bzip, .sh. How do I know what command to use to open all of these and what are the most common options? In some cases I can click on the download and it opens a folder with other files and directories, but I cannot click on the "install" and have it run. Then if I go to the terminal and go to the folder it was downloaded to, I cannot see the folder that was created by clicking on the original download. I see it in the GUI but not at the command line. Wierd?
.tar tar -xvf <packagename>.tar
.tar.gz tar -xzvf <packagename>.tar.gz
.gz gunzip -rv <packagename>.gz
.tgz tar -xzvf <packagename>.tgz <---I am not completely sure about this one, but I am pretty sure.
.zip unzip <packagename>.zip
.bzip bunzip2 <packagename>.bzip
.tar.bz2 tar -xIvf <packagename>.tar.bz2
.sh ./<filename>.sh
This is a hard question to answer cuz there is no "standard" per say. It depends on the type of program you are using...some will run command line, but you can always edit your menus in kde/gnome/etc to include a link to this command. Most will always execute or attempt to execute from commandline, honestly I've never seen one that didn't attempt to atleast try and execute. Just goto the directory that it installed to and type ./<command> The errors should be enough to tell you what you need to do from there.3) How do I run programs? Most programs do not install an entry into the K menu after install. Some programs work by going to the directory and typing "./program", while others don't. What is the standard?
LOL...ahhh you've touched on a hot subject. Myself, I still hate dependencies and for me apt-get IS the answer. But as far as I know for rpm you pretty much have to scour the web looking for the packages. JimH will tell you otherwise, which he will be right, but the command line to look for the crap is much harder than4) Dependencies. I have tried going to rpmfind and a host of others to find dependencies to install programs. These seems so tedious, is there a workaround? Debian "apt-get" is not the answer.
apt-get install <insert name here>
This is because you are new. This post should really ease a lot of things for you. As well this site can do a lot for you as well, we have some GREAT guys here and some newbies here that will be in the same shoes you are a lot of the time and you'll be able to work through it. This is the worst and best thing about Linux, it is hard to get used to and everything seems such a chore at first. But you'll SOON(I promise) realize that it stops becoming a chore very quickly and starts becoming fun. That is when you start getting into tweaking your system the way windows never let you! ;DIt seems that simple tasks like downloading, installing, and running programs is tedious, time consuming, and difficult.
I refuse to upgrade to Windows XP, and would really like to become a Linux guru. Where do I start?
Aragorn
P.S. Welcome to the board, hope to see you around often!


Reply With Quote




Bookmarks