![]() |
|
E-Learning Center « E-Learning tutorials and competitions. » |
![]() |
|
Share | Thread Tools | Search this Thread |
![]() |
#1 | |
Registered Member
Last Online: 09-06-2011
Join Date: Oct 2006
Posts: 397
Thanks: 262
Thanked 215 Times in 87 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
|
![]() Quote:
First Of All I Just Want To Correct What You've Said, There Is Nothing Called Ubuntu Terminal Commands :P Their Is Something Called Linux Commands, Or You Can Say Unix Commands ![]() I Don't Know What To Tell You Because I Don't What Do You Know :P I Will Start With The Very Basic Commands Used In The Terminal! And Then We Will Answer All The Questions About Commands Asked By Members ![]() ![]() It Is Not Necessary To Ask About Commands Only... I Will Start With The Commands: ls: Lists The Files And Folders In The Current Directory ls -l: Long Listing Of The Files And Folders In The Current Directory With Some Details pwd (Print Working Directory) : Tells You In Which Directory You Are touch: Makes A New File (Ex: touch vcoderz.txt) mkdir: Makes A New Directory (Ex: mkdir vcoderz) rm: Deletes A File (Ex: rm vcoderz.txt) rm -rf: Deletes A Folder (Ex: rm -rf vcoderz) rmdir: Deletes A Folder (Ex: rmdir vcoderz/ rmdir -f vcoderz) mv: Move Or Rename (Rename Ex: mv vcoderz.txt othername.txt) (Move Ex: mv /home/User/vcoderz.txt /home/User/Desktop/ {It Will Move The File vcoderz.txt to The Desktop Directory} ) cd: To Jump Between Directories In The OS. There Are Millions Of Commands :P I Can't List Them All ![]() Pe@ce
__________________
من؟ من سينزع سلاح حزب الله!؟
|
|
![]() |
![]() |
The Following User Says Thank You to HizbullaH For This Useful Post: | Kingroudy (12-15-2008) |
![]() |
#2 |
Super Moderator
Last Online: 02-20-2014
Join Date: May 2006
Posts: 5,580
Thanks: 1,888
Thanked 2,653 Times in 1,593 Posts
Groans: 55
Groaned at 35 Times in 32 Posts
|
![]()
made sticky!
about the "first of all", i know that, but i was specific about ubuntu since there might be small changes between one OS and another, and i just wanted to stick to ubuntu. now thank you for this tutorial of course, we, the linux n00bs, also want (ya3ne 3am nta3bak ma3na ![]()
__________________
click on 'Groan' to switch to my left testicle. |
![]() |
![]() |
![]() |
#3 |
Registered Member
Last Online: 09-06-2011
Join Date: Oct 2006
Posts: 397
Thanks: 262
Thanked 215 Times in 87 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
|
![]()
There Is Nothing Called .tar.gz Package, A .tar.gz Is A Compressed File Just Like .zip Or .rar
There Are Many Packaging Systems In Linux Where You Can See The Extension Of The Package .deb Or .rpm, There Are Alot Of RPM Based Linux Just Like Red Hat, Fedora, Suse... You Can Install An RPM Package By Using This Command: rpm -ivh package-name.rpm However, Ubuntu, Which Is Based On Debian, Uses The .deb Packages And You Can Install .deb Packages By Using This Command: dpkg -i package-name.deb Also Slackware Linux Uses A Different Packaging System And The Extension Of Their Packages Is .gz Now Let's Go Back To .tar.gz Compressed Files Or Folders.. In Order To Uncompress a .tar.gz File We Need To Use This Command: tar zxvf file-name.tar.gz Now The Files And Folders Inside The Compressed Folder Will Be Uncompressed We Need To Get Into This Folder Which Contains The Setup Of A Program For Example.. Usually With Any Program We Need To Setup There Is A File Name README Or INSTALL, You Have To Read The Installation Instructions Before You Install The Program, But Usually The Installation Proccess Done By Three Commands, First Of All Type: ./configure If It Finishes Without Any Problems Type: make And Now As root Type: make install If You Got Any Problem Then Their Is A Depenency Library Or Program That You Need To Get, Just Get It From The Internet And Install It In The Same Way Above... Now To Make Life Easier For Us, I Will Suppose That You Are Using Ubuntu, You Will First (as root) Type (Only For The First Type You Use apt-get ![]() apt-get update Then Your Packages Cache Will Be Updated! Now For Example You Want To Install The Apache Web Server On Your Computer And You Want To Know What Is The Package Name Exactly, Type: apt-cache search apache Let's Say Thay We Saw apache2 With Some Discription About The Package, To Download And Install It Type: apt-get install apache2 Now It Will Be Downloaded (With All The Dependencies!) And Will Be Installed Automatically On Your PC! If You Are Using An RPM Based OS Just Like CentOS Or Fedora... You Need To Use yum (Their Is No apt-get In Them), Nearly The Same (Only For The First Type You Use yum ![]() yum update Then: yum search apache (apache Is an example) Then: yum install apache Also, Everything Will Be Done Automatically! Other Questions? ![]()
__________________
من؟ من سينزع سلاح حزب الله!؟
|
![]() |
![]() |
![]() |
#4 |
Registered Member
Last Online: 11-17-2010
Join Date: May 2008
Posts: 157
Thanks: 104
Thanked 98 Times in 57 Posts
Groans: 9
Groaned at 5 Times in 3 Posts
|
![]()
more more
![]() Last edited by Genius704; 01-28-2009 at 07:12 AM. |
![]() |
![]() |
![]() |
#5 |
info@sync.com.lb
Last Online: 06-05-2018
Join Date: Apr 2006
Posts: 3,827
Thanks: 1,348
Thanked 2,391 Times in 1,306 Posts
Groans: 0
Groaned at 16 Times in 15 Posts
|
![]()
how to enable the root user for Linux Ubuntu ?!
when i try to install Apache from the terminal window it tells me that i need to be a root ?! how to do that ?
__________________
http://www.gamync.com Lebanese Produced Mobiles Games by http://www.sync.com.lb |
![]() |
![]() |
![]() |
#6 |
Ma ghayro
Last Online: 04-19-2018
Join Date: Dec 2005
Posts: 5,592
Thanks: 1,765
Thanked 4,201 Times in 2,361 Posts
Groans: 12
Groaned at 18 Times in 11 Posts
|
![]()
su root
![]()
__________________
http://twitter.com/danymoussa
|
![]() |
![]() |
The Following User Says Thank You to xcoder For This Useful Post: | Sheriff Ice (01-29-2009) |
![]() |
#7 |
info@sync.com.lb
Last Online: 06-05-2018
Join Date: Apr 2006
Posts: 3,827
Thanks: 1,348
Thanked 2,391 Times in 1,306 Posts
Groans: 0
Groaned at 16 Times in 15 Posts
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
__________________
http://www.gamync.com Lebanese Produced Mobiles Games by http://www.sync.com.lb |
![]() |
![]() |
![]() |
#8 | |
Registered Member
Last Online: 09-06-2011
Join Date: Oct 2006
Posts: 397
Thanks: 262
Thanked 215 Times in 87 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
|
![]() Quote:
With Respect To The Second Part, Just Use VMware Work Station It Is Better Than The MicroZeft Virtual Machine.. MicroZeft And WinToz SUX Bro ![]() Or The Network Drivers Are Installed In Your Virtual Machine And You Didn't Know How To Configure It.. Type In Your Terminal: :~$ ifconfig Then Your Network Interfaces Will Be Listed, The First Network Card Interface Will Be "eth0" If It Is Found, Here Is How To Configure Your Network (As Root ![]() :~$ ifconfig eth0 up 10.20.30.40 netmask 255.255.255.0 :~$ route add default gw 10.10.30.1 :~$ echo nameserver 10.20.30.1 >> /etc/resolv.conf Where: 10.20.30.40 Is The IP Address You Want To Put For Your Computer And 10.20.30.1 Is Your Gateway IP Address And The Second One Is Your DNS IP If You Are Taking Internet Connection From A DHCP Server Simply Type: :~$ dhclient eth0 Or :~$ dhcpcd
__________________
من؟ من سينزع سلاح حزب الله!؟
|
|
![]() |
![]() |
![]() |
#9 | |
Registered Member
Last Online: 09-06-2011
Join Date: Oct 2006
Posts: 397
Thanks: 262
Thanked 215 Times in 87 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
|
![]() Quote:
![]() To Install Any Program Under Linux You Have To Have The Privileges Of The root User, Or You Have To Be In The SUdoers To Switch To Root User In The Terminal Simply Type (As Dany Said ![]() :~$ su Then Type The root Password If You Don't Have The Root Password, But You Are In The SUdoers Simply Type: :~$ sudo su And Put YOUR Password, And You Will Be root And You Can Run Any Command As Root Without Logging In To The Root User Simply: :~$ sudo [any command without the brackets] But Note That You Have To Be In The SUdoers
__________________
من؟ من سينزع سلاح حزب الله!؟
|
|
![]() |
![]() |
![]() |
#10 |
Registered Member
Last Online: 04-17-2018
Join Date: Dec 2006
Posts: 10,466
Thanks: 14,135
Thanked 4,242 Times in 2,546 Posts
Groans: 186
Groaned at 198 Times in 120 Posts
|
![]()
post pics about linux and how it works
![]() i only know that it doesnt have the "start" button . what else?
__________________
problems of performance appraisal is that it sucks to memorize them |
![]() |
![]() |
![]() |
|
Tags |
answer, commands, linux, users |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
|
|