New Posts  All Forums:Forum Nav:

Show Your Linux - Page 681  

Poll Results: Which Linux Desktop do you use?

This is a multiple choice poll
  • 12% of voters (103)
    Gnome 2 / Mate
  • 10% of voters (85)
    Gnome-Shell
  • 13% of voters (117)
    Unity
  • 18% of voters (158)
    Cinnamon
  • 17% of voters (148)
    KDE
  • 15% of voters (134)
    XFCE
  • 4% of voters (39)
    LXDE
  • 1% of voters (15)
    Enlightenment / E17
  • 6% of voters (55)
    OpenBox / FluxBox
  • 3% of voters (30)
    Awesome / DWM
  • 9% of voters (81)
    Other
845 Total Votes  
post #6801 of 7733
Quote:
Originally Posted by cones View Post

That's where i'm getting confused, i'm setting up the android sdk on Arch and i need to be able to use adb and fastboot from the terminal and also start the sdk itself. I've got this in my bashrc so i'm still confused what i need to add and where.
code (Click to show)
#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
Not sure if you are joking but it's the forum software.

No I'm not joking
My First
(9 items)
 
My dream
(7 items)
 
 
CPUMotherboardGraphicsGraphics
i7 4960x ASUS Rampage IV Extreme Black Edition GTX 780 ti GTX 780 ti 
GraphicsRAMHard Drive
GTX 780 ti  64 GB corsair dominator Samsung 840 pro 256GB SSD 
  hide details  
My First
(9 items)
 
My dream
(7 items)
 
 
CPUMotherboardGraphicsGraphics
i7 4960x ASUS Rampage IV Extreme Black Edition GTX 780 ti GTX 780 ti 
GraphicsRAMHard Drive
GTX 780 ti  64 GB corsair dominator Samsung 840 pro 256GB SSD 
  hide details  
post #6802 of 7733
Story of my life.
post #6803 of 7733
Quote:
Originally Posted by Plan9 View Post

I'm now getting moderators PMing me basically telling me to either stop whining about Huddler or leave laugher.gif

Goodbye Plan9...I'll miss you sad-smiley-002.gif
My First
(9 items)
 
My dream
(7 items)
 
 
CPUMotherboardGraphicsGraphics
i7 4960x ASUS Rampage IV Extreme Black Edition GTX 780 ti GTX 780 ti 
GraphicsRAMHard Drive
GTX 780 ti  64 GB corsair dominator Samsung 840 pro 256GB SSD 
  hide details  
My First
(9 items)
 
My dream
(7 items)
 
 
CPUMotherboardGraphicsGraphics
i7 4960x ASUS Rampage IV Extreme Black Edition GTX 780 ti GTX 780 ti 
GraphicsRAMHard Drive
GTX 780 ti  64 GB corsair dominator Samsung 840 pro 256GB SSD 
  hide details  
post #6804 of 7733
Quote:
Originally Posted by cones View Post

That's where i'm getting confused, i'm setting up the android sdk on Arch and i need to be able to use adb and fastboot from the terminal and also start the sdk itself. I've got this in my bashrc so i'm still confused what i need to add and where.
code (Click to show)
#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

If you're confused about where in the file to put it, it can go anywhere as long as it's on it's own line, I have mine at the end. Make sure you re-login after saving the file so the changes can take effect. To check, just type in a terminal "echo $VARIABLE" and it should return the value.
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
post #6805 of 7733
Quote:
Originally Posted by Cpt.Teacup View Post

If you're confused about where in the file to put it, it can go anywhere as long as it's on it's own line, I have mine at the end. Make sure you re-login after saving the file so the changes can take effect. To check, just type in a terminal "echo $VARIABLE" and it should return the value.

So for this it would be something like "export PATH=/location"?

Edit: that seems to have worked now

Edit2: Now my terminal is broken mad.gif
Edited by cones - 4/21/14 at 4:57pm
My System
(21 items)
 
Server/HTPC
(11 items)
 
 
CPUMotherboardGraphicsRAM
AMD 8320 Asus m5a99fx pro EVGA 660ti  Gskill 8GB F3-1600C9-8GXM x2 
RAMHard DriveHard DriveHard Drive
4GB x2 OCZ Agility 3 Sasmsung 840 EVO Western Digital Caviar Blue 
Hard DriveOptical DriveOptical DriveCooling
Seagate 500gb Asus DRW-24B1ST Asus BC-12B1ST cool master hyper 212 evo 
OSOSMonitorMonitor
Windows 10 Pro x64 Arch  Asus 23" VH238 Asus 23" VH238H 
PowerCase
Corsair CX600M Fractal Design Define R5  
CPUMotherboardRAMHard Drive
i3 6100 Asus Z170M-Plus something 16gb DDR4 Western Digital 500GB 
Hard DriveHard DriveHard DriveOS
Samsung 2TB Western Digital Red 3TB HGST Deskter 4TB Unraid 6.x 
OSPowerCase
Ubuntu Server - VM Corsair CX430  Cooler Master HAF 912 
  hide details  
My System
(21 items)
 
Server/HTPC
(11 items)
 
 
CPUMotherboardGraphicsRAM
AMD 8320 Asus m5a99fx pro EVGA 660ti  Gskill 8GB F3-1600C9-8GXM x2 
RAMHard DriveHard DriveHard Drive
4GB x2 OCZ Agility 3 Sasmsung 840 EVO Western Digital Caviar Blue 
Hard DriveOptical DriveOptical DriveCooling
Seagate 500gb Asus DRW-24B1ST Asus BC-12B1ST cool master hyper 212 evo 
OSOSMonitorMonitor
Windows 10 Pro x64 Arch  Asus 23" VH238 Asus 23" VH238H 
PowerCase
Corsair CX600M Fractal Design Define R5  
CPUMotherboardRAMHard Drive
i3 6100 Asus Z170M-Plus something 16gb DDR4 Western Digital 500GB 
Hard DriveHard DriveHard DriveOS
Samsung 2TB Western Digital Red 3TB HGST Deskter 4TB Unraid 6.x 
OSPowerCase
Ubuntu Server - VM Corsair CX430  Cooler Master HAF 912 
  hide details  
post #6806 of 7733
Quote:
Originally Posted by cones View Post

So for this it would be something like "export PATH=/location"?

Edit: that seems to have worked now

You'll want to make it "export PATH=$PATH:/location" to keep the paths already in it.
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
post #6807 of 7733
Quote:
Originally Posted by Cpt.Teacup View Post

You'll want to make it "export PATH=$PATH:/location" to keep the paths already in it.

Ok, now all I need to do is figure out how to edit that again, should not have restarted, going to have to chroot mad.gif
My System
(21 items)
 
Server/HTPC
(11 items)
 
 
CPUMotherboardGraphicsRAM
AMD 8320 Asus m5a99fx pro EVGA 660ti  Gskill 8GB F3-1600C9-8GXM x2 
RAMHard DriveHard DriveHard Drive
4GB x2 OCZ Agility 3 Sasmsung 840 EVO Western Digital Caviar Blue 
Hard DriveOptical DriveOptical DriveCooling
Seagate 500gb Asus DRW-24B1ST Asus BC-12B1ST cool master hyper 212 evo 
OSOSMonitorMonitor
Windows 10 Pro x64 Arch  Asus 23" VH238 Asus 23" VH238H 
PowerCase
Corsair CX600M Fractal Design Define R5  
CPUMotherboardRAMHard Drive
i3 6100 Asus Z170M-Plus something 16gb DDR4 Western Digital 500GB 
Hard DriveHard DriveHard DriveOS
Samsung 2TB Western Digital Red 3TB HGST Deskter 4TB Unraid 6.x 
OSPowerCase
Ubuntu Server - VM Corsair CX430  Cooler Master HAF 912 
  hide details  
My System
(21 items)
 
Server/HTPC
(11 items)
 
 
CPUMotherboardGraphicsRAM
AMD 8320 Asus m5a99fx pro EVGA 660ti  Gskill 8GB F3-1600C9-8GXM x2 
RAMHard DriveHard DriveHard Drive
4GB x2 OCZ Agility 3 Sasmsung 840 EVO Western Digital Caviar Blue 
Hard DriveOptical DriveOptical DriveCooling
Seagate 500gb Asus DRW-24B1ST Asus BC-12B1ST cool master hyper 212 evo 
OSOSMonitorMonitor
Windows 10 Pro x64 Arch  Asus 23" VH238 Asus 23" VH238H 
PowerCase
Corsair CX600M Fractal Design Define R5  
CPUMotherboardRAMHard Drive
i3 6100 Asus Z170M-Plus something 16gb DDR4 Western Digital 500GB 
Hard DriveHard DriveHard DriveOS
Samsung 2TB Western Digital Red 3TB HGST Deskter 4TB Unraid 6.x 
OSPowerCase
Ubuntu Server - VM Corsair CX430  Cooler Master HAF 912 
  hide details  
post #6808 of 7733
Quote:
Originally Posted by cones View Post

Ok, now all I need to do is figure out how to edit that again, should not have restarted, going to have to chroot mad.gif

You just have to specify the directory to your editor like: /usr/bin/nano
The PATH variable just makes it so you don't have to type the whole path of a program.
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
Wannabe
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K GA-Z77X-UD3H ASUS GTX 760 DirectCU II OC 2x4GB Samsung DDR3 
Hard DriveHard DriveCoolingOS
128GB Crucial M4 1TB WD Green Thermaltake Water 2.0 Pro Arch Linux 
MonitorKeyboardPowerCase
Dell U2412M 1920x1200 Microsoft Sidewinder x4 Thermaltake Toughpower XT 775W Cooler Master Haf X 
MouseMouse PadAudio
Logitech G700s SteelSeries Experience I-2 Beyerdynamic DT 770 PRO 80 ohms 
  hide details  
post #6809 of 7733
Quote:
Originally Posted by Cpt.Teacup View Post

You just have to specify the directory to your editor like: /usr/bin/nano
The PATH variable just makes it so you don't have to type the whole path of a program.

Yes it's working now, my problem was that i broke bash so it couldn't find any commands to use. Now my issue is that the program i want doesn't seem to be there but everything else is working fine and i know how to add stuff now.
My System
(21 items)
 
Server/HTPC
(11 items)
 
 
CPUMotherboardGraphicsRAM
AMD 8320 Asus m5a99fx pro EVGA 660ti  Gskill 8GB F3-1600C9-8GXM x2 
RAMHard DriveHard DriveHard Drive
4GB x2 OCZ Agility 3 Sasmsung 840 EVO Western Digital Caviar Blue 
Hard DriveOptical DriveOptical DriveCooling
Seagate 500gb Asus DRW-24B1ST Asus BC-12B1ST cool master hyper 212 evo 
OSOSMonitorMonitor
Windows 10 Pro x64 Arch  Asus 23" VH238 Asus 23" VH238H 
PowerCase
Corsair CX600M Fractal Design Define R5  
CPUMotherboardRAMHard Drive
i3 6100 Asus Z170M-Plus something 16gb DDR4 Western Digital 500GB 
Hard DriveHard DriveHard DriveOS
Samsung 2TB Western Digital Red 3TB HGST Deskter 4TB Unraid 6.x 
OSPowerCase
Ubuntu Server - VM Corsair CX430  Cooler Master HAF 912 
  hide details  
My System
(21 items)
 
Server/HTPC
(11 items)
 
 
CPUMotherboardGraphicsRAM
AMD 8320 Asus m5a99fx pro EVGA 660ti  Gskill 8GB F3-1600C9-8GXM x2 
RAMHard DriveHard DriveHard Drive
4GB x2 OCZ Agility 3 Sasmsung 840 EVO Western Digital Caviar Blue 
Hard DriveOptical DriveOptical DriveCooling
Seagate 500gb Asus DRW-24B1ST Asus BC-12B1ST cool master hyper 212 evo 
OSOSMonitorMonitor
Windows 10 Pro x64 Arch  Asus 23" VH238 Asus 23" VH238H 
PowerCase
Corsair CX600M Fractal Design Define R5  
CPUMotherboardRAMHard Drive
i3 6100 Asus Z170M-Plus something 16gb DDR4 Western Digital 500GB 
Hard DriveHard DriveHard DriveOS
Samsung 2TB Western Digital Red 3TB HGST Deskter 4TB Unraid 6.x 
OSPowerCase
Ubuntu Server - VM Corsair CX430  Cooler Master HAF 912 
  hide details  
post #6810 of 7733
Quote:
Originally Posted by cones View Post

Ok, now all I need to do is figure out how to edit that again, should not have restarted, going to have to chroot mad.gif

You shouldn't need to chroot. Just [ctrl]+[alt]+[F1] to a TTY, then login as a different user (eg root) and comment out the offending line in your .bashrc (or where ever you've broken your $PATH env var)

FYI, /etc/profile should have the full PATH string you need, should you need it. But the above should be enough to fix it.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
This thread is locked