General :: Logging - How To Keep A Live-updating Log File Open In Terminal
May 20, 2011
This must've been done before: I want to keep a log file open in terminal so I can monitor updates to it as they occur. My searches are coming up with everything but this situation... I must be missing some terminology or something key, because people do this all the time inside of other programs (NetBeans, or rails server, for example).
View 2 Replies
ADVERTISEMENT
Mar 5, 2011
Usually in Gnome, under Ubuntu, the terminal command I use is:
Code:
gnome-open (path)
In most cases, I won't know the path and I'd rather not search for it with:
Code:
locate (file name)
View 1 Replies
View Related
Jan 27, 2011
I am trying to write a .sh script that will source a file containing evnironment variables and then open a konsole terminal session that will have those settings.
View 2 Replies
View Related
May 30, 2010
is there a Terminal command to open a Target file (same as the one opens when you want to upload a file), let user choose the file and when he clicks open, be able to save his choice?for example:echo "Choose source file"--> command needed to browseand then open or save path to that file
View 1 Replies
View Related
May 13, 2010
What are the differences between "su -" in a GUI terminal and directly logging in as root in a text mode terminal (tty1-tty6)? Any environment, path or other functionality differences?
View 14 Replies
View Related
Jan 13, 2010
I want to have a terminal open and have something like a "repeating cat" command running in it for a certain text file (in particular /var/log/system.log). So my terminal will scan or cat the text file every so often or whenever the text file system.log gets written to by the system, it will display whatever it wrote to the file in my terminal that is open.
View 2 Replies
View Related
Jul 8, 2010
How to open a file or application in terminal?
View 4 Replies
View Related
Sep 16, 2010
In Gnome, How do I open a file browser in the current directory? I assume its [command] . Whats the command?
View 3 Replies
View Related
Feb 17, 2010
How to open the file below in terminal to extract.
/home/dave/Downloads/mplayer-vaapi-20081223.tar.bz2
View 2 Replies
View Related
Jun 14, 2011
I am playing around with OpenFOAM which is an application for CFD Analysis but anyway, I have a cshrc file which contains all the environment variables for running the program but rather than source these all the time as some of them conflict I want to be able to use a launcher program which opens a gnome-terminal and then sources this cshrc file. This is what I have so far but I am struggling:
Code:
gnome-terminal --command="source /etc/openfoam.cshrc"
When I run this command nothing happens! I have also tried this:
Code:
gnome-terminal
source /etc/openfoam.cshrc
This opens the terminal but does not source the file.
View 3 Replies
View Related
May 9, 2010
getting this error when I try to use gedit to open and edit a file through terminal: (gedit:4423): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply:Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See [URL]... 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) GConf Error: Failed I'm using ubuntu 10.04.
View 5 Replies
View Related
Oct 1, 2010
i trying to install firefox with the terminal but i Having Problem with the installation [URL]... libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
View 9 Replies
View Related
May 29, 2011
I'm trying to install F15 for a friend, (works great for me btw) and after getting to the desktop and sometimes during install set up, it just keeps logging off by itself and then back to the desktop. This also happened on my computer a couple of times, but I managed to get it installed.Is this a known bug? Is there anything that can be done about it? Also, is there a fedora iso that has all current updates built in? He really wants F15, but we are stuck right now. and is there an "alternate" cd for fedora without gui install?
View 7 Replies
View Related
Dec 29, 2010
when you log in through the terminal as root, you get a question if you want to apply the proxyconfiguration or not.
I have done this by changing the .bash_profile of the root-user:
Code:
I have adapted rsyslog with the following:
Code:
But it doesn't work. The messages have to be written to the logfile by using the logger-command.
View 3 Replies
View Related
Jun 10, 2011
How to open a file using command line in terminal and edit the code within it ?code...
View 6 Replies
View Related
Jun 14, 2011
I have an oracle database that is getting file i/o errors. I don't think it is the fault of oracle, but the nfs mounted filesystems. So ... to troubleshoot my next step is to see if Linux is having trouble with i/o. These are nfs mounted and there are many files located on the filesystem which is having the error. The error only occurs on one file.Does anyone know how to turn on logging for any errors received? I assume I need need logging for nfs daemon, but not sure. Please correct me if I'm wrong.
View 1 Replies
View Related
Apr 13, 2011
I've tried a couple times to install from a tar.gz file and when i try to compile the source code in the terminal I get this error "tar: bash-4.2.tar.gz: Cannot open: No such file or directory" what am I doing wrong? Now when I download the files, I leave themin the down loads folder, do i need to make a new directory? If so how do I do that and how do i call it up when I compile the sopurce?
View 1 Replies
View Related
Apr 13, 2011
Generally SSH related log messages are logged in /var/log/messages file. Is there a way to log them in another different file? I mean is there some configuration setting to enable this?
View 7 Replies
View Related
Jul 2, 2011
I am facing a problem while trying to log SSH messages in a separate file, say, /var/log/ssh_logs. I have tried modifying the syslog-ng.conf file as follows:
filter f_ssh { facility(auth, authpriv) and match("sshd[[0-9]+]:"); };
destination d_ssh { file ("/var/logs/sshd_logs"); };
log {
[code]....
But still I am not able to get the ssh logs in the new file. They continue to go to /var/log/auth.
View 1 Replies
View Related
Aug 11, 2010
I have a windows install with linux installed within the windows system using WUBI. I attempted to change the user folder and after logging off I received a err message regarding /home/XXX/.ICEauthority. I am using ubuntu 10.04 LTS.
View 4 Replies
View Related
Jan 6, 2009
just managed to install zenwalk on an old freebie sony p3 laptop last night (thanks to some really helpful folk on these forums) and am feeling rather chuffed but i'm still having a few teething probs.The main one is that when i try to open terminal it just chucks me back to the login screen.Unfortunately the zenwalk forums are closed to new users so no help there! I wondered if anyone on these forums has had a similar problem?
View 4 Replies
View Related
Dec 13, 2010
its just 3 days i have started using Linux..Am using Mandriva 2010 version.i updated the software as i could see the more updates option being red..N now the Terminal isnt just getting opened.I had just begun with Linux and ws learning Terminal commands...n now the terminal isnt opening itself.Plz suggest me something..Also, i dont have much idea about gnome packages download n stuff..
View 6 Replies
View Related
Jul 20, 2011
Everyone is wondering why we can't run gEdit and other tools from a terminal by logging in as root(e.g"su-"), I understand that by making changes they are trying to force us as users of Linux to learn better habits that are more secure, but the issues are driving people nuts!
I for one really like being able to log as root and open gEdit to make drive changes without having to login as root, I would normally still have access to all my things like email etc. So changing Linux to force everyone to not use tools like gEdit as root is becoming more of an inconvenience than they realize, there must be a safe way to do this!
View 12 Replies
View Related
Dec 3, 2010
I've noticed on other Linux distributions that after boot up and logging off the console screen clears and provides basic information like the Linux distribution and then under it the login prompt. How can I do this for openSUSE 11.3?After I install or reboot I still have all the boot up stuff shown and when I logout after performing some work my commands are still shown. I boot the system to runlevel 3 and barely use the GUI but would like the screen to clear everything after boot up and logging out.
View 6 Replies
View Related
Apr 17, 2011
I put
Code:
echo -e 'e[0;34m'
into /etc/profile, but it still doesn't work until I login. I'd like it to work before that, so that all messages (like those displayed on boot up) have these default settings.
View 6 Replies
View Related
Jun 23, 2010
I know it's possible i did it once but i can't do it again...
I wanna try to fix the GRUB or whatever the problem is. The error messages after login are: Nautilus can't be used & the panel encountered a fatal error.
View 7 Replies
View Related
May 10, 2011
I searched and found several solution but those are distro specific. I need to find out if distro is running in live mode (from CD, USB) instead it's installed on hdisk. The solution should be independent of distribution.
View 7 Replies
View Related
Aug 27, 2010
how dyou open a terminal when there is no mouse?
View 10 Replies
View Related
Jul 10, 2011
When you are in Nautilus, can you right-click a folder and choose to open it in terminal?In Ubuntu, I can't do it, any idea?
View 6 Replies
View Related
May 12, 2010
my system has been lagging a bit, today it took a good 1-2 minutes to be able to open my menus from boot.
View 2 Replies
View Related