simke ~
$ /home/simke/Dev/archcfg/Untitled
da
simke ~
$ sudo /home/simke/Dev/archcfg/Untitled
ne
simke ~
$
I'm a Paladin with 18 charisma and 97 hit points. I can use my helm of disintegration and do one D4 damage as my half-elf mage wields his plus-five holy avenger.
max360se je napisao/la:ok, samo mi reci kako kopirat ispis iz terminala na dwm
Meni svaki puta javi ne
je imaš expot EDITOR=nešto u .bashrc li .zshrc
I'm a Paladin with 18 charisma and 97 hit points. I can use my helm of disintegration and do one D4 damage as my half-elf mage wields his plus-five holy avenger.
pa dodaj u .bashrc ovo
export EDITOR=nano
i opet pokreni ono opet
I'm a Paladin with 18 charisma and 97 hit points. I can use my helm of disintegration and do one D4 damage as my half-elf mage wields his plus-five holy avenger.
Zadnja izmjena: simke, dana/u 13 ožu 2012, 21:47, ukupno mijenjano 1 put.
I'm a Paladin with 18 charisma and 97 hit points. I can use my helm of disintegration and do one D4 damage as my half-elf mage wields his plus-five holy avenger.
"[[ -z" ti je test za ako je string zero, a "[[ -n" ti je test za ako string nije zero.
Vise o tome na http://mywiki.wooledge.org/BashGuide/Te ... nditionals, pogledaj si sekciju "4. Conditional Blocks (if, test and [[)" . Mada sta tocno pokusavas postic? Postavit vrijednost varijable ako je vec postavljena? Mada zasto provjeravat ako je varijabla vec postavljena, zasto je samo ne postavis jednostavno?
EDIT:
Wops, ispricavam se na postu nisam bio skuzio da si rijesio, taman sam bio ovo pisao valjda...
Zadnja izmjena: Netko, dana/u 13 ožu 2012, 21:30, ukupno mijenjano 1 put.
I'm a Paladin with 18 charisma and 97 hit points. I can use my helm of disintegration and do one D4 damage as my half-elf mage wields his plus-five holy avenger.
simke ~
$ /home/simke/Dev/archcfg/Untitled
vim
simke ~
$ sudo /home/simke/Dev/archcfg/Untitled
simke ~
$ su
Password:
root /home/simke
# /home/simke/Dev/archcfg/Untitled
vim
root /home/simke
# sudo /home/simke/Dev/archcfg/Untitled
root /home/simke
#
čisto da neponavlajm opet, da postavljeno mi je i za root
I'm a Paladin with 18 charisma and 97 hit points. I can use my helm of disintegration and do one D4 damage as my half-elf mage wields his plus-five holy avenger.