Projet

Général

Profil

Publication de fichiers » bash_aliases.txt

Gérard Vidal, 29/01/2020 14:25

 
# $Id: skel.alias,v 1.2 1998/04/20 11:41:32 luisgh Exp $
# Luis Francisco Gonz�lez <luisgh@debian.org> based on that of Vadik Vygonets
# Please check /usr/doc/tcsh/examples/alias to see other possible values.
#
# Commandes
#
alias ls='ls --color=auto -F'
#alias md mkdir
#alias rd rmdir
#alias h 'history \!* | head -99 | more'
#alias ls 'ls --color=auto -F'
alias la='ls -a'
alias ll='ls -alh'
alias m='more -c'
#alias cd 'cd \!* ; echo $cwd'
#alias .. 'cd ..'
#alias pwd 'echo $cwd'
#alias cp 'cp -i'
#alias mv 'mv -i'
#alias rm 'rm -i'
#alias co 'gcc -O2 -I. -o ~/bin/\!:1 \!:1.c'
#alias cmath 'gcc -O2 -I. -o ~/bin/\!:1 \!:1.c -lm'
#alias ccrypt 'gcc -O -I. -o ~/bin/\!:1 \!:1.c -lcrypt'
#alias cg 'gcc -g -o \!:1 \!:1.c'
#alias colapack 'gcc -O3 -I. -L/usr/local/CLAPACK/lib -o ~/bin/\!:1 \!:1.c -llapack -lblas -lm -lf2c'
#alias cglapack 'gcc -g -I. -L/usr/local/CLAPACK/lib -o \!:1 \!:1.c -llapack -lblas -lm -lf2c'
#alias xterm 'x-terminal-emulator -fg lightyellow -bg "#333"'
#alias vpnstart 'sudo vpnc ~/Armoire/DocumentsUtiles/vpnc.conf'
#alias vpnstop 'sudo vpnc-disconnect'
#alias mountddext 'sudo ntfs-3g -o uid=1000,gid=1000,umask=0022 /dev/sdf1 /home/vidal/Montages/Blanc2To/'
alias testSpheres='vblank_mode=0 primusrun /opt/VirtualGL/bin/glxspheres64'

##################################
#
# Connexions aux autres machines
#
##################################

# matsitama 140.77.87.201
########################
alias matsitama='ssh -X -A matsitama.dsi-ext.ens-lyon.fr'
alias kadekol='ssh -A -L3333:kadekol.bas.ens-lyon.fr:80 matsitama.dsi-ext.ens-lyon.fr'

# bacubirito 140.77.92.29
#########################
alias bacubirito='ssh -A bacubirito.bas.ens-lyon.fr'

# nextlabtrac 140.77.92.69
##########################
alias nextlabtracW443='ssh -A -L3344:nextlabtrac.bas.ens-lyon.fr:443 matsitama.dsi-ext.ens-lyon.fr'
alias nextlabtracW8081='ssh -A -L4444:nextlabtrac.bas.ens-lyon.fr:8081 matsitama.dsi-ext.ens-lyon.fr'
alias nextlabtracW='ssh -A -L3333:nextlabtrac.bas.ens-lyon.fr:80 matsitama.dsi-ext.ens-lyon.fr'
alias nextlabtrac='ssh -A nextlabtrac.bas.ens-lyon.fr'


# nextlabife 140.77.92.169
##########################
alias nextlabifeW443='ssh -A -L3344:nextlab-ife.bas.ens-lyon.fr:443 matsitama.dsi-ext.ens-lyon.fr'
alias nextlabifeW8081='ssh -A -L4444:nextlab-ife.bas.ens-lyon.fr:8081 matsitama.dsi-ext.ens-lyon.fr'
alias nextlabifeW='ssh -A -L3333:nextlab-ife.bas.ens-lyon.fr:80 matsitama.dsi-ext.ens-lyon.fr'
alias nextlabife='ssh -A nextlab-ife.bas.ens-lyon.fr'


# videoserv-OVH
###############
alias videoserv-OVH='ssh -X -A videoserv.climatetmeteo.fr'

# base-OVH
##########
alias base-OVH='ssh -X -A ns427338.ip-37-187-149.eu'

# blog-OVH
##########
alias blog-OVH='ssh -X -A blog.climatetmeteo.fr'

# stationsdata-OVH
##########
alias stations-OVH='ssh -X -A stationsdata.climatetmeteo.fr'

# tremplin-OVH
##########
alias tremplin-OVH='ssh -X -A tremplin.climatetmeteo.fr'

# xml-OVH
#########
alias xml-OVH='ssh -X -A xml.climatetmeteo.fr'

# opendata-OVH
#########
alias opendata-OVH='ssh -X -A opendata.climatetmeteo.fr'

# sources-OVH
alias sources-OVH='ssh -X -A sources.climatetmeteo.fr'


# esquel
########
alias esquel='ssh -X -A esquel.dsi-ext.ens-lyon.fr'
alias esquelW='ssh -X -A -L3333:www-cache.ens-lyon.fr:3128 esquel.dsi-ext.ens-lyon.fr'
alias esquelM='ssh -X -A -L3143:imaps.ens-lyon.fr:143 esquel.dsi-ext.ens-lyon.fr'

# huckitta
##########
alias huckitta='ssh -X -A huckitta.dsi-ext.ens-lyon.fr'
alias huckittaW='ssh -X -A -L3333:www-cache.ens-lyon.fr:3128 huckitta.dsi-ext.ens-lyon.fr'
alias huckittaHW='ssh -X -A -L3334:huckitta.pratic.ens-lyon.fr:3128 huckitta.dsi-ext.ens-lyon.fr'
alias huckittaM='ssh -X -A -L3143:imaps.ens-lyon.fr:143 huckitta.dsi-ext.ens-lyon.fr'
alias huckittaH='ssh -X -A -L4444:huckitta.pratic.ens-lyon.fr:80 huckitta.dsi-ext.ens-lyon.fr'
alias huckittaMeta='ssh -X -A -L4445:140.77.110.11:8080 huckitta.dsi-ext.ens-lyon.fr'

# yilmia
########
alias yilmia='ssh -X -A -L4444:yilmia.pratic.ens-lyon.fr:8080 huckitta.dsi-ext.ens-lyon.fr'
alias yilmia-9080='ssh_intranet 9181 2001 9080 yilmia'
alias yilmia-8080='ssh_intranet 8181 2002 8080 yilmia'

# tomiya
########
alias tomiya='ssh -X -A tomiya.dsi-ext.ens-lyon.fr'
alias tomiyaW='ssh -X -A -L3333:www-cache.ens-lyon.fr:3128 tomiya.dsi-ext.ens-lyon.fr'
alias tomiyaM='ssh -X -A -L3143:imaps.ens-lyon.fr:143 tomiya.dsi-ext.ens-lyon.fr'

# maison
########
alias maison='ssh -X -A 78.194.2.7 -p 31022'

# nogoya 2
##########
alias nogoya2='ssh -X -A 140.77.87.209'

# nakhla
########
alias nakhla='ssh -X -A 140.77.92.211'
#
alias nakhla-domU1='ssh -X -A -C -L4545:140.77.92.213:8080 140.77.92.213'
alias nakhla-domU1-V='ssh -X -A -C -L4555:140.77.92.213:8890 140.77.92.213'
alias nakhla-domU2='ssh -X -A -C -L4546:140.77.92.219:8080 140.77.92.219'
alias nakhla-domU2-S='ssh -X -A -C -L8443:140.77.92.219:8443 140.77.92.219'
alias nakhla-domU2-V='ssh -X -A -C -L4556:140.77.92.219:8890 140.77.92.219'
alias nakhla-domU3='ssh -X -A -C -L4547:140.77.92.220:8080 140.77.92.220'

#envemedis
##########
alias envemedis='ssh -X -A envemedis-dev.cbp.ens-lyon.fr'

#zaklodzie
##########
alias zaklodzie='ssh -X -A zaklodzie.ens-lyon.fr'

#zagami
alias zagami='ssh -X -A zagami.dsi-ext.ens-lyon.fr'

#visuni
alias visuni='ssh -X -A 140.77.88.32'

############################################################################################






#
# Montage DD blanc
#
alias mountDD='sudo ntfs-3g -o uid=1000,gid=1000,umask=022 /dev/sdf1 /home/vidal/Montages/Blanc2To/'
#
alias mounthome='/sbin/mount.cifs //cailloux/vidal ~/Montages/lstsmb -o codepage=cp850, iocharset=utf8, uid=vidal, gid=vidal'
alias removhome='/sbin/umount.cifs ~/Montages/lstsmb'
#
# Montage et démontage du home sur ORGUEIL
#
alias mountorgueil='/sbin/mount.cifs //orgueil/utilisateurs/Gérard ~/HomePratic -o iocharset=utf8,workgroup=ens-lyon,uid=vidal,gid=vidal'
alias removorgueil='/sbin/umount.cifs ~/HomePratic'
#
# Montage et démontage du home général ENS
#
alias mountens='/sbin/mount.cifs //chevalier/whomes/vidal ~/Montages/enssmb -o username=vidal,iocharset=utf8,workgroup=ens-lyon,uid=vidal,gid=vidal'
alias removens='/sbin/umount.cifs ~/Montages/enssmb'
#
# Montage et démontage des encodeurs et Nogoya pour la vidéo
#
alias mountenc1='/sbin/mount.cifs //140.77.110.43/D ~/Montages/encodeur1 -o username=luc_besson,uid=vidal,gid=vidal'
alias removenc1='/sbin/umount.cifs ~/Montages/encodeur1'
#
alias mountenc2='/sbin/mount.cifs //140.77.110.45/D ~/Montages/encodeur2 -o username=luc_besson,uid=vidal,gid=vidal'
alias removenc2='/sbin/umount.cifs ~/Montages/encodeur2'
#
alias mountnogoya='/sbin/mount.cifs //nogoya/FormaTerre ~/Montages/Nogoya -o iocharset=utf8,workgroup=ens-lyon,uid=vidal,gid=vidal'
alias removnogoya='/sbin/umount.cifs ~/Montages/Nogoya'
#
# Méta alias de montage
alias mountchassi='/sbin/mount.cifs //chassigny ~/Montages/Chassigny -o username=luc_besson,uid=vidal,gid=vidal'
alias removchassi='/sbin/umount.cifs ~/Montages/Chassigny'
#
alias mountall='mounthome;mountorgueil;mountorgwww;mountwww;mountproj'
alias mounthomes='mounthome;mountorgueil'
alias removhomes='removhome;removorgueil'


alias vensim=' wine /home/vidal/.wine/drive_c/Program\ Files/Vensim/Vensim.exe'
alias startplone25='/home/zope/Zope-2.9.8/Zope298/bin/zopectl start'
alias stopplone25='/home/zope/Zope-2.9.8/Zope298/bin/zopectl stop'


############################################################
# Tunnel ssh pour la raspberry pi
############################################################
alias sshraspi='ssh -L 5901:localhost:5901 -N -f -l vidal 140.77.180.83'
(2-2/2)