You are not logged in.

#1 2009-09-15 16:36:16

Blake Gideon
Member
From: Los Angeles, CA
Registered: 2009-09-14
Posts: 57

Append Path

EDIT:

I'm RTFM about netcfg. That should be all I need for connecting the Wifi.

But does anyone have a good link for a $PATH walkthrough?

Last edited by Blake Gideon (2009-09-15 17:33:47)

Offline

#2 2009-09-15 17:26:06

Blake Gideon
Member
From: Los Angeles, CA
Registered: 2009-09-14
Posts: 57

Re: Append Path

Or are there better ways to do this rather than using python??

Offline

#3 2009-09-15 17:40:14

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: Append Path

I think shell would be more appropriate than python.  The usual shebang line for a shell script is

#!/bin/sh

For Python, a more idiomatic/portable line is

#!/usr/bin/env python

But these don't have anything to do with your $PATH, which is a colon-separated list of directories where the shell looks for executables.  Can you explain what you want in more detail?

Offline

#4 2009-09-15 17:51:20

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Append Path

Re your PATH - have a look at /etc/profile and /etc/profile.d/*. That's your default system path. You can fine-tune it per user in ~/.bashrc.

Offline

Board footer

Powered by FluxBB