Advertisement
milanmetal

Zybo .bashrc s modifikacijama

Nov 27th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.10 KB | None | 0 0
  1. # ~/.bashrc: executed by bash(1) for non-login shells.
  2.  
  3. # Note: PS1 and umask are already set in /etc/profile. You should not
  4. # need this unless you want different defaults for root.
  5. # PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
  6. # umask 022
  7.  
  8. # You may uncomment the following lines if you want `ls' to be colorized:
  9. # export LS_OPTIONS='--color=auto'
  10. # eval "`dircolors`"
  11. # alias ls='ls $LS_OPTIONS'
  12. # alias ll='ls $LS_OPTIONS -l'
  13. # alias l='ls $LS_OPTIONS -lA'
  14. #
  15. # Some more alias to avoid making mistakes:
  16. # alias rm='rm -i'
  17. # alias cp='cp -i'
  18. # alias mv='mv -i'
  19. ./init_led_button.sh
  20. #ifconfig eth0 down
  21. ifdown eth0
  22. ifconfig eth0 hw ether 00:0a:35:00:01:75
  23. #ifconfig eth0 up
  24. ifup eth0
  25. #export http_proxy="http://ftn.proxy:8080"
  26. #export https_proxy="https://ftn.proxy:8080"
  27.  
  28. # kernel messages
  29. dmesg -wH &
  30.  
  31. cd Vezba6/lifo
  32. # updates date to some recent day, makefile breaks if
  33. # it works with files from future...
  34. date -s "25 NOV 2018 01:00:00"
  35.  
  36. # updates date from google.rs, if internet is available
  37. date -s "$(wget -qSO- --max-redirect=0 google.rs 2>&1 | grep Date: | cut -d' ' -f5-8)Z"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement