A "live" view of a logfile on Linux "Živa" Glede logfile na Linux
This approach works for any linux operating system, including Ubuntu, and is probably most often used in conjunction with web development work. Ta pristop deluje na vseh Linux operacijski sistem, vključno z Ubuntu, in je verjetno najbolj pogosto uporablja v povezavi s spletno razvojno delo.
tail -f /path/thefile.log tail-f / pot / thefile.log
This will give you a scrolling view of the logfile. To vam bo dala drsenja pogled na logfile. As new lines are added to the end, they will show up in your console screen. Ker so nove proge doda na konec, se bo prikazal v vašem konzolo zaslonu.
For Ruby on Rails, for instance, you can view the development logfile by running the command from your project directory: Za Ruby na tirih, na primer, si lahko ogledate razvojno logfile z zagonom ukaza iz svojega projekta imenik:
tail -f log/development.log tail-f log / development.log
As with all linux apps, Ctrl+C will stop it. Kot pri vseh linux apps, Ctrl + C bo ustaviti.

Daily Email Updates Dnevni Email Updates
You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:



if your're already in less and would like to trace the file: če bi your're že v manj, kot, da bi izsledil datoteke:
less /path/thefile.log manj / pot / thefile.log
Shift+F Shift + F
to stop_ do stop_
Ctrl+C Ctrl + C
q q
I've seen all of the tips you got for linux and dude it's cool so i got something to help some new ubuntu users Videl sem vse nasvete imaš za linux in dude it's cool, da sem dobil nekaj za pomoč pri nekaterih novih uporabnikov ubuntu
1.www.getdeb.net 1.www.getdeb.net
getdeb got some really cool programs all it takes is for you to find something you like and click download because it's .deb file it's easy to install, but what shuld you get, getdeb dobil nekaj res kul programs da je dovolj za vas, da bi našli kaj vam je všeč in kliknite na download, ker je. deb datoteke je enostaven za namestitev, ampak kaj obratovati z nizkotemperaturnimi grelnimi dobiš,
A.(Ubuntu Tweak) with this little easy to use you can do most of the things here on you're website, A. (Ubuntu poteg), s tem malo enostavna za uporabo lahko storite večino stvari, ki ste tukaj na spletni strani,
for new ubuntu users who don't know how to use the terminal and the config editor by useing ubuntu tweak you can add and remove things off the desk top like My Computer- Trash and alot more ubuntu za nove uporabnike, ki ne vedo, kako uporabljati terminal in config urednik s pomočjo ubuntu poteg lahko dodate in odstranite stvari ne sveže vrh desk kot My Computer-Trash in veliko več
B.(Screenlets) even that screenlets come in ubuntu the version is older the one on getdeb is the latest it's aloes is with all of there programs. B. (Screenlets), celo, da screenlets prihajajo v Ubuntu je starejši različici ena na getdeb je najnovejši je aloje je z vsemi tam programs.
C.( Avant Window Navigator) this nice thing here is a dock that apple can never beat, just like screenlets the version is old and by ading getdeb to you're source list you can get applets that beat all of the other docks . C. (Avant Window Navigator) da je to lepo stvar tukaj je dock, da jabolko ne more premagati, tako kot screenlets prevod je stara in jo ading getdeb, da ste vira seznam lahko dobite programčke, da je premagal vse od drugih dokov.
2.(Flock) is an amazing web browser it's just like firefox but you can do mutch more and it's so easy to use. 2. (Čreda) se presenetiti spletni brskalnik, it's just všeč biti kresnica, vendar ne morete storiti Platnena kapa več in je tako preprost za uporabo. (i'm using it right now) (Im 'using to zdaj)
3.(Alien Arena) i cant give a tip with no games that's just wrong, alien arena is a cool 3d game it's amazing 3. (Alien Arena) jaz vekanje dal namig brez igre, ki je ravno narobe, tujec arena je kul 3d igro it's amazing
4. 4. if you're to lazy to install of the things on getdeb.net here is a away to bring getdeb to you're home for the next 500 years če ste leni, da namestiti na stvari, na getdeb.net tukaj je oddaljen, da getdeb, da ste doma, za naslednjih 500 let
open your source list (system-administration-software source) odprite vaš izvor seznam (system-uprava-software vir)
a windows well open and but your password if it asked you for when the windows opens click on okno odprto in dobro, ampak geslo, če ste za to zaprosil, ko se odpre okno kliknite na
third-party software, on the bottom left corner click on +Add and add this source to it tretjih oseb programsko opremo, na spodnjem levem kotu kliknite na Dodaj in dodali ta vir, ki mu
deb deb http://ubuntu.org.ua/ http://ubuntu.org.ua/ getdeb/ getdeb /
now just click close and it will ask you to reload then open up the terminal in (Applications-accessories-terminal and type or past this Zdaj kliknite blizu in vas bo ponovno naložiti potem odprejo v terminal (Applications-pribor-terminal in tip ali mimo
sudo apt-get update && sudo apt-get upgrade sudo apt-get update & & sudo apt-get nadgradnja
now everything on getdeb.net that works on you're ubuntu will be in synaptic package manger. Zdaj je vse na getdeb.net, ki deluje na vas ubuntu bo v sinaptični paket jasli.
moe please shut up! moe prosim utihni!
this: deb to: deb http://ubuntu.org.ua/ http://ubuntu.org.ua/ getdeb/ getdeb /
doesn't even exist ! sploh ne obstaja! please check your sources before telling us your crap. preverite svoje vire, preden nam poveste vaše sranje. tkz tkz
tail -f will work as long as the underlying file we're trying to read doesn't change. tail-f bo deloval, dokler osnovni spis smo poskušali brati ne spremeni. If you're trying to read a link to a file and the original file (and thus the link) changes, tail -f will not work. Če poskušate, da se glasi povezavo do datoteke in izvirno datoteko (in s tem link) spremeni, tail-f ne bo delovala.
For that reason, its better to use tail -F for such files as described above … or tail -f –retry Iz tega razloga, je bolje uporabiti rep-F za takšno dokumentacijo, kot je opisano zgoraj ... ali repa-f-retry
for brand new users… the less command will help you look at log files that have been compressed (.gz). za blagovno znamko novih uporabnikov ... manj ukaz vam bo pomagal gledati log datotek, ki so bile stisnjene (. gz).
most logs are in /var/log/ unless otherwise specified in a configuration file somewhere. Najbolj dnevniki so v / var / log / če ni drugače določeno v zunanja podoba pila nekje. Logs you will want to check out include: auth.log; messages; syslog. Dnevniki boste želeli check out vključujejo: auth.log; sporočil; syslog. Other interesting log files are user.log; kern.log; dmesg and daemon.log. Druge zanimive log datoteke user.log, kern.log, dmesg in daemon.log.
cat messages mačka sporočil
cat syslog mačka syslog
While the CAT command will work with those, it will not work with the files ending in the extension .gz Medtem ko bo ukaz CAT delo s tistimi, da ne bo delo z datotekami, ki se konča v končnico. Gz
For these rotated files, use less: Za te zavrti datotek, porabijo manj:
less auth.log.1.gz (assuming it exists on your system.) manj auth.log.1.gz (ob predpostavki, da obstaja na vašem sistemu.)
less messages.1.qz manj messages.1.qz
less syslog.1.gz manj syslog.1.gz
remember that GREP and AWK are powerful friends that you want to learn and will help you get exactly the information you need from any file on GNU/Linux. ne pozabite, da grep in ga AWK so močni prijatelji, ki jih želite naučiti in boste lahko dosegli točno informacije, ki jih potrebujete iz katerega koli spisa o GNU / Linux. Remember GNU/Linux is all about files….and that is an understatement. Ne pozabite, GNU / Linux se vse vrti okoli datotek .... In da je podcenjevanje.
last – a – shows you who logged in; when and when they logged out…. last - - vam pokaže, kdo prijavite, če in ko odjavljeni ....
how to configure mobile brodband on ubuntu 9.04 from scratch connects sometimes then fails to connect i think i am to use ppp0 but no sucsess kako nastaviti mobilnih brodband na ubuntu 9,04 od začetka povezuje potem včasih ne uspe povezati mislim, da sem za uporabo ppp0, vendar ne sucsess