General :: System Command Line Utility For Watching Log Files Live?
Jan 5, 2011What's a good linux command line utility for watching a log file live? It's probably obvious but I totally forgot it.
View 2 RepliesWhat's a good linux command line utility for watching a log file live? It's probably obvious but I totally forgot it.
View 2 RepliesIs there a command line utility to tell me about what's inside a video file? Say I have a .mpg file. I want to know about the video stream and the various audio streams, the codec used for the video stream, the bitrate of the video stream, and so on.
View 5 Replies View RelatedI am trying to find a linux cmd line utility that will read info from an iso file. The problem I have is that the file is always corrupt so I cannot mount it because I only have around 100k of it but all I need is to extract the headers of what the iso contains. how I can achieve this I have searched the internet with no look at all.
View 1 Replies View Relatediam trying to send sms using gnokii utility in linux firstly i did sudo apt-get install gnokii after that i got a gnokiirc.gz file in /usr/share/doc/gnokii/sample/gnokiirc.gz file here after that i did gunzip gnokiirc.gz then i transferred my file from the /usr/share/doc/gnokii/sample to home directory by using copy command as copying files to home is not allowed so i used sudo sudo cp gnokii /home after that i changed the port=/dev/ttyUSB2 and model=AT in the gnokiirc file in the home directory and then i wrote gnokii --identify
[Code]....
i followed as in the [URL] and [URL] and except this "Note that you will need read/write permissions on whatever serial port you specify in .gnokiirc."(iam confused what is my serial port is it ttyUSB2)
Is there an equivalent of XFCE "verve command line utility" for Ubuntu Maverick?
View 3 Replies View RelatedBefore I go off and write a new one, does anyone know of a good command line disk partition utility that works better than "parted"?
View 5 Replies View RelatedI've been unable to do a fresh install of XBMC Live 9.11 to my hard drive. Everytime it fails at the Install System step. But I am able to get XBMC Live 9.04.1 to install successfully. How do I upgrade XBMC Live 9.04.1 to 9.11? I understand that Ctrl+Alt+F2 brings up the command line, but what are the next set of commands to run?
View 1 Replies View RelatedCouple of days I go I setup VLC using Kubuntu's graphic software manager, and installed the 3 plug-ins, one of which was related to pulse. After doing this sound stopped working in flash videos. I had read, not sure where, that Kubuntu didn't use pulse (which slipped my mind when setting up VLC).
So I make the mistake of removing everything which had pulse in it's name (again, via the graphic software manager). A message popped-up saying that some packages needed to be removed/edited (a LONG list, a big clue that I was doing something stupid I guess). I let it run it's course and after that it won't boot properly.
If I boot it normally it hangs at the Kubuntu screen with the five dots filling endlessly. If I press F1 it's stuck at "checking battery status."
Recovery mode boots, but the recovery option does nothing.
So I was wondering if I could boot into recovery mode and go into the terminal and add a live USB as a repository for apt, and try to salvage the install?
Or should I admit defeat and reinstall?
I love Ubuntu Linux - especially the commmand line. But I have to admit that, at least for now, Windows is more user-friendly - there's more software for it, more drivers, and more stuff just works.
Knowing that Mac is built on Unix makes me wonder if it's the sweet spot between them. But I wonder: how similar is the Mac command line to Linux's bash? Could I pick right up with using vim and bash scripting and git, etc? Would common commands like changing directories be different? Does anybody know an online "compare and contrast" resource?
Is there a something similar to DTerm available for Linux?
View 2 Replies View RelatedFor example, see this page Advanced Linux Programming.
I want to download all the pdf files linked from this page. Is there a simple commandline way of doing it?
Something on the lines of
download [URL]
I'm looking for a solution for the following simple problem. I have two files, fileA and fileB. Each file contains only one word per line, and they contain exactly the same number of lines. I would like to create a new file called fileAB, where the i-th line contains the i-th line of fileA, a Tab separator character, and then the i-th line of fileB. I know how to do it in Python or other scripting languages, but it would be nice to have a bash one-liner for that. Is it possible to do this in bash or any other Unix shell, using the tools that are usually available on the command line (e.g., sed, awk and such)?
View 1 Replies View RelatedI just started using ubuntu after being a long time windows user.
what i find really interesting is that in command line, i can type many programs and commands, eg firefox can be run via command line from anywhere. In windows cmd prompt, im used to having to run the .exe file by first navigating to it, then being able to run the .exe.
what i wanna know is how does linux know all the programs at the command line?
I have huge text files with two fields, the first is a string the second is an integer. The files are sorted by the first field. What I'd like to get in the output is one line per unique string and the sum of the numbers for the identical strings. Some strings appear only once while other appear multiple times. Given the sample data below, for the string glehnia I'd like to get 10+22=32 in the result. how to do this either with gnuwin32 command line tools or in linux shell?
[Code]...
I have a large amount of log files that I need to remove sensitive data from. The sensitive data is provided to me in a text file and is prone to change. I had hoped to do the equivalent of this:
[Code]....
The commented out egrep works fine, the sed doesn't. Am I right to use sed for this? Or is there a more apt route to take?
At the linux command line, I'd like to compress all .pdf files in a directory, any of it's subdirectories and so on - but only .pdf files. I'm struggling to figure out the syntax
View 2 Replies View RelatedHow do I access files with spaces from the command line?
for example I want to go to a file called "New File" and let's say is in Downloads/Books/(and here is the file)
how do I input the space since the command line doesn't recognize it?
Possible Duplicate:
Version of Linux with a command prompt?
Which software of Linux to use for command line running? Since I am using MySQL to run from Linux and want to run Linux, which software to download in Linux? There are multiple ones. Can I run .sh scripts and learn how to operate on Linux using the command line? Also use MySQL as backend on Linux?
I have a Debian Linux desktop. I want to change the screen's brightness without pressing the brightness button of my monitor. How can I do this? is this possible in command line or is there an application to be installed?
View 3 Replies View RelatedI want to know the command, so that i can move back two days i.e. all the changes i made during the two day is rolled back .
View 5 Replies View RelatedWe are having a lot of trouble with this.
We need a command line version of Linux like ttylinux. Any command line will do with the latest kernel. It should be around 50 megs.
But the problem is, all these small Linux versions are LiveCD or have a compressed file system.
We need a SMALL linux distro, that we can install UNCOMPRESSED (no squashfs etc) on a hard disk.
This is so simple I'm sure I'm missing something..
Lets say I have 20 files named FOOXX, where XX is the number of the file, eg 01, 02 etc. At the moment, if I want to delete all files lower than the number 10, this is easy and I just use a wildcard, eg rm FOO0* However, if I want to delete specific files ina range, eg 13-15, this becomes more difficult. rm FPP[13-15] does not work, and asks me if I wish to delete all files. Likewse rm FOO1[3-5] wishes to delete all files that begin with FOO1 So, what is the best way to delete ranges of files like this? I have tried with both bash and zsh, and I don't think they differ so much for such a basic task?
View 2 Replies View RelatedThis has to also show the line count. I can get it to show the files but not the line count. What is the single command used to identify only the matching count of all lines within files under the /etc directory that contain the word „HOST? List only the files with matches and suppress any error messages.
View 4 Replies View RelatedI am using ubuntu and mysql.I have a list of many .sql files, like 1.sql, 2.sql, 3.sql ... 100000.sqlI need to insert them into the database mysql mydb < *.sqlGives me: -bash: *.sql: ambiguous redirect
View 2 Replies View RelatedLately I have been very interested in minimal Linux distro's. At the moment I am specifically searching for command line only intended distro's (up to date) and even more preferable: command line only distro's available on a live cd or usb. Can anyone of you point me in a right direction or recommend a distro?
View 4 Replies View RelatedI need to organise an external HDD such that there is no more than 500 folders on it.
Ubuntu's "Properties" pane shows only the file count, not the folder count.
Is there a simple CLI line that will tell me the number of subdirectories?
How can I create a multipart 7zip file in Linux using the p7zip console client?
Many people referred me to it. My console app is
7-Zip [64] 9.13 beta Copyright (c) 1999-2010 Igor Pavlov 2010-04-15
p7zip Version 9.13 (locale=C,Utf16=off,HugeFiles=on,4 CPUs)
I just want to know that how can I execute my scripts (example.sh) files like other normal commands from command-line. Please describe the full method
View 5 Replies View RelatedI was trying to install openSUSE11.4 using the Live CD. But when it started copying the root filesystem, it hung on 15% and waited forever. The CD stopped spinning too.
View 1 Replies View RelatedHow can i find through terminal that which devices are external and which are internal.
By external i mean devices attached to USB port. For Example, USB Drive, Portable USB HardDrive etc.
By internal i mean devices attached internally. For Example, SATA Harddisk etc.