LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-27-2003, 08:35 PM   #1
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Rep: Reputation: 15
Cool Linux survival guide


#shadowb0x's survival Linux commands#

#For the new linux user#

#Please note these are #
#very basic commands and #
#are shown to help the new #
#linux users#



#Common commands:#

code:
startx: loads the GUI
cp: used to copy files
ln: used to create symbolic links
rm: used to remove files
mv: used to move and rename files
pwd: used to show the directory in which you are
ls: used to list files in a folder
ls -a: used to list files in a folder, including hidden
cd: change directories
cd ~: change directories to your home directory
touch: used to create
umount: used to unmount hardware such as floppy
mount: used to mount hardware such as floppy
gedit: a very easy text editor
vi: a stantard Unix text editor
pico: another text editor
tail: follow a file as it grows, good for tracing errors
w: used to look at whos logged in
mkdir: makes a directory
rmdir: removes a directory
adduser: add's a user
deluser: deletes a user
wget: get something off the web
lsmod: list's loaded modules
su: Log into root if you are on a normal user


#shutting down:#

code:
shutdown -h now


#rebooting:#

code:
shutdown -r now



#Installing something:#

#First you must uncompress it, for the following example I#
#use a .tar.gz#

#Please note you must be root to do this, if you are not, use the#
#command: su#

code:
tar -xzvf file.tar.gz

./ configure

make

make install




#Please note it might be a good idea to see if there is a readme#
#and install, if you are unfarmiliar with what you are installing#
#there may be arguements of which you need to know.#

code:
less README

less INSTALL


#If you are trying to get something like a driver off of your floppy here#
#is an easy way how to:#

1. Have the floppy drive empty
2. Run the command: umount /dev/fd0
3. Insert the floppy
4. Run the command: mount /dev/fd0
5. cd /mount/floppy

#If you wish to copy it to your home direcotry:#

#Into your users directory#

code:
cp filename.extension /home/theuseryourmade


#Into your root directory#

code:
cp filename.extension


#Note, you will need to be logged in as root#


#Now just run the command:#

code:
cd /home/theuseryoumade


#Or:#

code:
cd /root


#The driver/file/image etc is there #
 
Old 08-28-2003, 05:20 AM   #2
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 711

Rep: Reputation: 32
This is good
bump
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Survival kit linux pick ? my-unix-dream General 21 05-02-2005 06:45 PM
Linux survival: Is someone actually going to kill Linux? healfdeane Linux - Newbie 0 09-04-2003 12:42 AM
Searching linux-guide cicero Linux - Hardware 2 05-13-2003 05:48 PM
Linux forum at About.com needs a Guide RonRussell General 1 04-03-2003 08:57 AM
Linux user guide futurist General 2 03-28-2002 07:37 AM


All times are GMT -5. The time now is 12:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration