V
9  
Tags
Attachments
RazmjenaVjestina
SvakodnevneDovitljivostiOneLineri

Ponekad se dogodi da smo pronašli ili konstruirali nekakvu relativno složenu komandnu liniju i ne želimo kroz taj proces prolaziti ponovo. Ovo mjesto je zamišljeno kao mala baza takvih znanja -- navalite!
Xnest

Startavanje Xnesta sa nekim window managerom (npr./usr/local/bin/rvwm):

xinit /usr/local/bin/rvwm -- /usr/X11R6/bin/Xnest :1 -geometry 800x600 -ac

ili

Xnest :1
DISPLAY=:1 /usr/local/bin/rvwm

(druga varjanta ponekad ne radi)

Router

Imate wireles karticu /dev/wlan0, i izlazak na internet preko /dev/eth0 i želite postati router ostatku ekipe:

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE na "serveru"
a route add default gw "server-ip" na clientu

Prženje CD-a

cdrecord -scanbus dev=ATA

skanira uređaje, a

cdrecord -v dev=ATA:a,b,c img.iso

prži cd. Parametre a b i c prepišemo iz izlaza scanbusa

X background

Mjenja defaultnu pozadinu X-a

xsetroot -solid color

Automatsko startanje Screena

if [ "$STY" = "" ]; then
exec screen -RR
fi

stavi u ~/.bashrc


original Dec 14 5:56am


 

Upload Files

Click "Browse" to find the file you want to upload. When you click "Upload file" your file will be uploaded and added to the list of attachments for this page.

Maximum file size: 50MB

 
 
 
File Name Author Date Uploaded Size

Save Page As

Enter a meaningful and distinctive title for your page.

Page Title:

Tip: You'll be able to find this page later by using the title you choose.

Page Already Exists

There is already a page named XXX. Would you like to:

Save with a different name:

Save the page with the name "XXX"

Append your text to the bottom of the existing page named: "XXX"

Upload Files

Click "Browse" to find the file you want to upload. When you click "Add file" this file will be added to the list of attachments for this page, and uploaded when you save the page.

 
 
 
Add Tags

Enter a tag and click "Add tag". The tag will be saved when you save the page.

Tag: 

Suggestions: