You are on page 1of 1

clase 

archivos de incializacion Softrain Academy November 20, 2017

/etc/passwd
login:student100 student100:x:600:600:comentario:/home/student100:/bin/bash
password:123
$pwd /etc/shadow
/home/student100 student100:ASDFGHJKRTYUI%&Y/U(I):
$ps
PID  TTY  TIME CMD
12345 pts/4 0000 bash
variables sistema instalcion sistema operativo PS1
$ls  ­a
variables personales y que las crea el usuario a su criterio PATH
.bash_profile  .bashrc  .bash_logout EDITOR
crear comandos (alias)
llamar comandos de forma autoamatica set ­o noclobber
alias
llamar script 
no GUI
GUI

$rm  ­rf   .*  2>  /dev/null $tee  .bashrc puttySSH  10.1.0.97


$tee    .bash_profile #!/bin/bash login:student100
#!/bin/bash
password:123
if  [ ­f  /home/student100/.bashrc ] ;  then alias  cls=clear hosname $ :­)  cls
.   /home/student100/.bashrc alias  dir="ls  ­lR"
fi hosname $ :­) dir 

set  ­o  noclobber 
PATH=$PATH:$HOME:. PS1=" hostname $ :­) "
EDITOR=vi
export  PS1
export  PATH  EDITOR $
$exit

$cat   .bash_profile

Nov 20­9:06 PM

www.softrain.com.ve Telf. 212 7429057 info@softrain.com.ve 1

You might also like