écrire sur .bashrc
megame
-
jeanbi Messages postés 15399 Date d'inscription Statut Contributeur Dernière intervention -
jeanbi Messages postés 15399 Date d'inscription Statut Contributeur Dernière intervention -
Bonjour,
bon voila c'est la première fois que je travaille sur linux, la j'installe le simulateur ns2 sur ubuntu et pour le faire je dois copier des commandes sur le .bashrc... est ce que c'est déconseiller de bidouiller ce fichier la? et sinon comment le faire en ligne de commande?
Merci
bon voila c'est la première fois que je travaille sur linux, la j'installe le simulateur ns2 sur ubuntu et pour le faire je dois copier des commandes sur le .bashrc... est ce que c'est déconseiller de bidouiller ce fichier la? et sinon comment le faire en ligne de commande?
Merci
Configuration: Windows XP Opera 9.64
A voir également:
- Ubuntu bashrc
- Ubuntu iso - Télécharger - Systèmes d'exploitation
- Linux mint ou ubuntu - Guide
- Télécharger ubuntu 20.04 iso 32 bits - Télécharger - Systèmes d'exploitation
- Avidemux ubuntu - Forum Linux / Unix
- Ubuntu 24.04 - Accueil - Ubuntu
12 réponses
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
voila le texte que je veux insérer:
# LD_LIBRARY_PATH
OTCL_LIB=/home/bgs/ns-allinone-2.33/otcl-1.13
NS2_LIB=/home/bgs/ns-allinone-2.33/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB
# TCL_LIBRARY
TCL_LIB=/home/bgs/ns-allinone-2.33/tcl8.4.18/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB
# PATH
XGRAPH=/home/bgs/ns-allinone-2.33/bin:/home/bgs/ns-allinone 2.33/tcl8.4.18/unix:/home/bgs/ns-allinone-2.33/tk8.4.18/unix
NS=/home/bgs/ns-allinone-2.33/ns-2.33/
NAM=/home/bgs/ns-allinone-2.33/nam-1.13/
PATH=$PATH:$XGRAPH:$NS:$NAM
# LD_LIBRARY_PATH
OTCL_LIB=/home/bgs/ns-allinone-2.33/otcl-1.13
NS2_LIB=/home/bgs/ns-allinone-2.33/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB
# TCL_LIBRARY
TCL_LIB=/home/bgs/ns-allinone-2.33/tcl8.4.18/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB
# PATH
XGRAPH=/home/bgs/ns-allinone-2.33/bin:/home/bgs/ns-allinone 2.33/tcl8.4.18/unix:/home/bgs/ns-allinone-2.33/tk8.4.18/unix
NS=/home/bgs/ns-allinone-2.33/ns-2.33/
NAM=/home/bgs/ns-allinone-2.33/nam-1.13/
PATH=$PATH:$XGRAPH:$NS:$NAM
voila ce que j'obtiens:
-rw-r--r-- 1 root root 50205 2009-07-06 14:39 /etc/ld.so.cache
-rw-r--r-- 1 root root 34 2008-10-29 23:53 /etc/ld.so.conf
/etc/ldap:
total 4
-rw-r--r-- 1 root root 245 2008-10-25 02:35 ldap.conf
/etc/ld.so.conf.d:
total 12
-rw-r--r-- 1 root root 64 2008-09-29 12:32 i486-linux-gnu.conf
-rw-r--r-- 1 root root 18 2008-10-08 02:37 libasound2.conf
-rw-r--r-- 1 root root 44 2008-09-29 12:32 libc.conf
-rw-r--r-- 1 root root 50205 2009-07-06 14:39 /etc/ld.so.cache
-rw-r--r-- 1 root root 34 2008-10-29 23:53 /etc/ld.so.conf
/etc/ldap:
total 4
-rw-r--r-- 1 root root 245 2008-10-25 02:35 ldap.conf
/etc/ld.so.conf.d:
total 12
-rw-r--r-- 1 root root 64 2008-09-29 12:32 i486-linux-gnu.conf
-rw-r--r-- 1 root root 18 2008-10-08 02:37 libasound2.conf
-rw-r--r-- 1 root root 44 2008-09-29 12:32 libc.conf