Go Back   Novahq.net Forum > Computers > Web design and Programming
FAQ Community Calendar Today's Posts Search

Web design and Programming Discuss website creation and other programming topics.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-10-2005, 01:52 PM
BOne is offline BOne
Registered User

Join Date: Aug 2003
Posts: 1,640

Send a message via ICQ to BOne Send a message via Yahoo to BOne
linux commands

here are some usefull beginner LINUX commands:

cp .... allows you to copy files
echo $SHELL .... displays the shell your currently running
telnet ... allows you to log into a computer on a network or over the net


just a few ... any1 have any other usefull linux commands??
__________________
=====Retired sig team member=====
Reply With Quote
  #2  
Old 02-10-2005, 02:17 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,921

Lots, don't use telnet, SSH2 only.

cd dir - move to another directory
cd .. - move back a directory
cd ~ - move to the home directory
ls - display files in directory
ls -a - diplay all files, including hidden
cp source destination - copys a file
mv source destination - moves a file
mkdir dirname - makes a dir
rmdir dirname - removes a dir
rm file - removes a file
rm -f - forces removal of file
rm -rf - removes all files, and all folders in the dir.

Off the top of my head Back to work now..
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #3  
Old 02-10-2005, 02:22 PM
Steve is offline Steve
Steve's Avatar
Administrator

Join Date: Sep 2001
Location: 2077
Posts: 21,552

Send a message via ICQ to Steve
similar to DOS then?
Reply With Quote
  #4  
Old 02-10-2005, 02:26 PM
BOne is offline BOne
Registered User

Join Date: Aug 2003
Posts: 1,640

Send a message via ICQ to BOne Send a message via Yahoo to BOne
Quote:
Originally posted by Panther
Lots, don't use telnet, SSH2 only.

cd dir - move to another directory
cd .. - move back a directory
cd ~ - move to the home directory
ls - display files in directory
ls -a - diplay all files, including hidden
cp source destination - copys a file
mv source destination - moves a file
mkdir dirname - makes a dir
rmdir dirname - removes a dir
rm file - removes a file
rm -f - forces removal of file
rm -rf - removes all files, and all folders in the dir.

Off the top of my head Back to work now..
groovin panther ... we covered a lot of what you posted today...test tomorrow...start buliding kernel s next week
why not telnet panther...is not as secure???
yup steve real close to DOS
__________________
=====Retired sig team member=====
Reply With Quote
  #5  
Old 02-10-2005, 02:47 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,921

telnet sends info in plain text, sorta like no SSL when entering your credit card on the internet.. Anyone can then intercept it and read it in plain text.. ssh2 sends it encrypted.

I manage this server here which is linux, from installing software to monitering.. if you need any help give me a ring .. I'm just learning as I go..
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #6  
Old 02-10-2005, 02:49 PM
BOne is offline BOne
Registered User

Join Date: Aug 2003
Posts: 1,640

Send a message via ICQ to BOne Send a message via Yahoo to BOne
superb...maybe we can assist each other then ... im only in linux 1 now but i like it ... theres so much you can do in the linux environment you cant do in windows
__________________
=====Retired sig team member=====
Reply With Quote
  #7  
Old 02-10-2005, 04:46 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,921

to add to the list

chown user.user files - changes ownership of files
su - login as root
chmod value files - chmod files
history - view receint commands typed
exit - exit the client
/sbin/reboot - reboot the server
service SERVICE_NAME restart,stop,start - Stop start restart services (Apache mysql etc)
zip file.zip files - zip files (Use -r to re-occure into dirs)
unzip file.zip - unzip a file
pico -w file.txt - open a file for editng
vi file.txt - more advanced file editer
date 'thedate' - set the server time/date
wget http://www.somesite.com/somefile.txt - retrive a file
tar -zxpf file.tar.gz - Untar tar.gz files
pwd - displays current directory
ftp server - connect to a ftp server for donwloading or browsing
df - hard drive stats
uptime - displays system uptime
uname - os info
locate file - locate a file on the server
updatedb - updates the servers database of files and locations
whereis file - locate a path on the server
mail - check your mail
ps -x - displays processes your running
ps -a - displays all processes
kill processid - kills a process
killall processid - kills a process and any connected to it
ping ip/host - ping a server
whois domain.tld - whois domain info (Sometimes very old info)
mount /hdd /folder - mount a hdd, this would mount it to /folder
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #8  
Old 02-10-2005, 04:49 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,921

Quote:
Originally posted by BOne
superb...maybe we can assist each other then ... im only in linux 1 now but i like it ... theres so much you can do in the linux environment you cant do in windows
i'm no linux expert.. never been to school for it or anything.. basically what I know is from running this webserver.. I learn most things as I go.. Should seen the blank face I had when I first got on linux hehehe Black ssh window (Like dos) saying '[root@~secure]: blinking cursor.. hmmn what to do now
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #9  
Old 02-10-2005, 09:26 PM
BOne is offline BOne
Registered User

Join Date: Aug 2003
Posts: 1,640

Send a message via ICQ to BOne Send a message via Yahoo to BOne
lmao i feel you...the shell prompt at school
wolverine$ first time i saw it i was like
what did i get into here lol
__________________
=====Retired sig team member=====
Reply With Quote
  #10  
Old 02-10-2005, 11:25 PM
Systemkaos is offline Systemkaos
Registered User

Join Date: Jul 2003
Posts: 1,736

Send a message via ICQ to Systemkaos
If you run game servers

./ - execute a file

./srcds_run +maxplayers +map +ip -port

bla bla
__________________
If any one wants a life i can email them in .rar and .zip format, although im out of sunlight
Reply With Quote
  #11  
Old 02-13-2005, 02:44 AM
Spongebob123 is offline Spongebob123
Registered User

Join Date: Feb 2005
Posts: 7

Quote:
Originally posted by Panther
telnet sends info in plain text, sorta like no SSL when entering your credit card on the internet.. Anyone can then intercept it and read it in plain text.. ssh2 sends it encrypted.

I manage this server here which is linux, from installing software to monitering.. if you need any help give me a ring .. I'm just learning as I go..
what is a linux? it sounds cool...sounds like some type car or fish
Reply With Quote
  #12  
Old 02-13-2005, 03:31 AM
BOne is offline BOne
Registered User

Join Date: Aug 2003
Posts: 1,640

Send a message via ICQ to BOne Send a message via Yahoo to BOne
Quote:
Originally posted by Spongebob123
what is a linux? it sounds cool...sounds like some type car or fish
lmao google should be your best friend
__________________
=====Retired sig team member=====
Reply With Quote
  #13  
Old 02-13-2005, 08:39 AM
Systemkaos is offline Systemkaos
Registered User

Join Date: Jul 2003
Posts: 1,736

Send a message via ICQ to Systemkaos
dont worry thats not that bad of a question, some guy from the states asked if because i live in the UK all we use is Linux........i was like wtf you dont leave your house let alone your town much
__________________
If any one wants a life i can email them in .rar and .zip format, although im out of sunlight
Reply With Quote
  #14  
Old 02-13-2005, 11:04 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,921

Linux is just another operating system, mainly used for servers and networks but desktop linux is coming up fast, they already have some.

http://www.linspire.com
http://www.redhat.com
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq

Last edited by Scott; 02-13-2005 at 12:37 PM.
Reply With Quote
  #15  
Old 02-13-2005, 11:06 AM
BOne is offline BOne
Registered User

Join Date: Aug 2003
Posts: 1,640

Send a message via ICQ to BOne Send a message via Yahoo to BOne
eewwww we have redhat on school pc's....i hate it SUSE is much better IMHO
__________________
=====Retired sig team member=====
Reply With Quote
  #16  
Old 02-13-2005, 12:35 PM
SFR-LiquidFX is offline SFR-LiquidFX
Registered User

Join Date: Apr 2004
Posts: 78

Send a message via Yahoo to SFR-LiquidFX
this ought to make it easier to find some of the commands you might be looking for...

http://www.oreillynet.com/linux/cmd/

also there's a lil red&white book that i keep next to my desk called "Linux System Commands." It's got hundreds of commands listed along with their syntax and examples. GREAT BOOK to have nearby. You can find it on Amazon here:

Linux System Commands
__________________
SFR-LiquidFX

Reply With Quote
  #17  
Old 02-13-2005, 12:37 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,921

Great site there
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #18  
Old 02-13-2005, 01:57 PM
Systemkaos is offline Systemkaos
Registered User

Join Date: Jul 2003
Posts: 1,736

Send a message via ICQ to Systemkaos
thought redhat was no more and is now Fedora
__________________
If any one wants a life i can email them in .rar and .zip format, although im out of sunlight
Reply With Quote
  #19  
Old 02-13-2005, 02:01 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,921

Both, red hat enterprize and fedora, RHE is redhat's project and Fedora is a community open source project sponcered by redhat where many people around the community work on it.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #20  
Old 02-13-2005, 04:41 PM
BOne is offline BOne
Registered User

Join Date: Aug 2003
Posts: 1,640

Send a message via ICQ to BOne Send a message via Yahoo to BOne
[QUOTE]Originally posted by SFR-LiquidFX
[B]this ought to make it easier to find some of the commands you might be looking for...

http://www.oreillynet.com/linux/cmd/

also there's a lil red&white book that i keep next to my desk called "Linux System Commands." It's got hundreds of commands listed along with their syntax and examples. GREAT BOOK to have nearby.



superb .. i ordered a similar book already ..

excellent site find there liquid .. are you a working linux programmer???
__________________
=====Retired sig team member=====
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hosting commands Phoenix Delta Force 1 04-16-2010 12:01 AM
Playing commands Chrispy Delta Force 0 11-12-2006 10:59 PM
bhd commands prey Tech Support 4 04-16-2004 02:31 PM
Console Commands Methman Delta Force 5 02-19-2004 07:03 PM
commands harbinger Delta Force 6 01-21-2004 11:30 AM


All times are GMT -5. The time now is 03:00 PM.




Powered by vBulletin®