Hi! I am a newbie to linux and wish to learn its lingo.. i have already installed SuSE 9.1 on my PC.. Can anyone post some standard commands which can be used along with its application/use..
For eg.: su (To log on as root), etc..
THANX..
Hmm.. here u go...
chmod - used to change permissions for files in Linux...
echo - used to display some text in SHell Scripting (echo the word explains it)
read - used in Shell Scripting to read data to be used in the script
For more details, see My Tut
For some Linux shortcuts >> Click here <<
Old but still useful *education.vsnl.com/cyberciti/linuxcom.htm
What is the command for changing directories ?
Also, by which commands can I install programs like .rpm and .tar.gz?
How can I change root password and login password using commands ?
To change directories, "cd <directoryname>"
To list contents of the current directory, "ls".
For decompressing .gz files, "gunzip filename.gz"
For .bz2 files "bunzip2 filename.gz"
For extracting tar files, "tar xvf filename.tar"
And then cd to the directory created.
If this directory contains source code of the software, the general way to install is
./configure
make
make install
But this can vary, read the README and INSTALL files
less README
less INSTALL
Some miscellaneous commands -
To display a file on screen,
cat filename
To display it such that you can scroll up and down with the arrow keys
less filename
Text editor
vi filename
Remember that it is always case sensitive.
THNX for all the links, but how do I INSTALL .tgz files?
Installing the software in these packages is generally not too hard, and usually you can install them in the following steps:
.tar file
**********
tar xf file.tar # UnTAR the file.
cd file
./configure
make
make install # Optional, usually just installs additional man pages and such.
The program should now be installed, if the program compiled cleanly.
.tar.gz file
*************
gunzip file.tar.gz # GUNzip the file.
tar xf file.tar # The file is now just a .tar file.
cd file # Go into the directory.
./configure # Configure the makefile.
make # Compile the program.
make install
The software should now be ready to run, if compiled correctly.
.tgz file
**********
One upside in these files in that they usually include compiled binaries (programs ready to run). These usually don't require any installing, and you can usually run them right away.
check Red Hat Linux Manuals
complet E-books
*www.redhat.com/docs/manuals/linux/