General :: When Using Grep From VIM, How To Jump To Results
Feb 22, 2011
When using the grep plugin to VIM, I can search the current directory for all occurrences of a string within a set of files, like this::grep Ryan *.txtThis outputs something like this:
file1.txt:3:Ryan was here
file2.txt:10:Ryan likes VIM
file3.txt:5:superuser.com is a fav of Ryan
I'm timing how long it takes to run a command foo. I'm looking to append the results from the time command to a file, and discard the results from the foo command. I tried the following, but it didn't do what I want:
$ time ./foo > /dev/null >> output_from_time_command.txt
I just finished making a clone image on my XP Pro HD and am now ready to install Ubuntu 10.04. Are there any scripts available that will install software that will add more functionality to my new Ubuntu installation? I installed 10.04 on a Dell Desktop circa 2003 with an 80GB HD and 512MB of RAM. Looking forward to using it!! Is this latest Ubuntu release better than XP Pro overall?
Yesterday I configured an NTP Server, and synched a sever with my NTP Server. Now some how my Client clock jumped one hour ahead at 12:00 AM, while HW Clock and NTP Server Clock remained.
Code: cat /etc/sysconfig/clock # The ZONE parameter is only evaluated by system-config-date. # The timezone of the system is defined by the contents of /etc/localtime. ZONE="Asia/Karachi"
I have an old acer aspire one that the hard drive has been cooked. the computers fine other then that, so what I'm trying to do is run it using 10.10 net book installed(not installer but actually installed) on a usb drive. I've created the installer on another jump drive and installed it onto the 8 gig using the aspire. everything goes fine, it tell me to reboot so i do and all i get is a black screen with the curser.It responds to nothing and never moves.
I recently upgraded to Maverick. I did a clean install on my system. I am running NVIDIA drivers from the X-Swat repo. Whenever I try to play a mkv file using Gnome Mplayer it is very jumpy and laggy. VLC, using it's new hardware acceleration, won't even display video, though it does output the audio. I experienced none of these problems with my 10.04 setup. I am unsure if it is a player bug, a driver bug or something with the VDPAU library itself.
xterm is scanning lines one by one.It takes time.I did jumpScroll: true ,but it results same. But rxvt is better comparing this. Where would i get the global configuration file for rxvt and xterm?
I am trying to determine CPU usage on a radio controller running Linux. We have a script that another member of my work wrote using vmstat which I could not get any consistant results from. So, in an effort to understand what was going on I wrote a script using ps. Sadley after running several tests using both scripts, they do no match up at all, vmstat always gives me a much higher value. However, if I simply run the commands at any given time they do match up, therefore I believe that there is an error in one of the scripts. I am very new to linux and so Here is the vmstat script:
I just finished installing lucid lynx netbook to my jump drive (full install) to save room on my hard drive. It's working fine except the bootloader was installed to the jump drive as well, meaning I can't boot my computer without the jump drive. Is there any way to correct it so that the computer boot from the hard drive while keeping my install on the jump drive?
My desktop server serves up files via a number of protocols and I connect to it via SSH and Avahi. Today I tried connecting to it via SSH, but it timed out. I was able to ping it, and a port scan reveals all the ports I have open on the network. THe problem is that I can't connect via SSH, HTTP, AFP, SMB or any other protocol I have established.Is there a way to jump start a system in a situation like mine? I have a 6 month uptime going, but I'm taking it down soon for some hardware upgrades, so a hard restart is not out of the question, but I'd rather not. I also reset the router without a solution.
This may be impossibly easy or easily impossible, but I'm looking for a step by step guide to download an entire program onto a jump drive, then to drop that program onto another computer.
I have been running Ubuntu desktop on my Acer Aspire One AOA150-1635 for over a year now in one form or another. I originally dual booted XP and Ubuntu Netbook Remix but decided against the remix when I did a clean install (over a year ago). All the issues I had then were the same issues others were having and have been fixed for a long time. I just recently upgraded to 10.10. I am unsure if this problem was present prior to the upgrade and I just hadn't run across it yet. I am also getting ready to upgrade my desktop and am afraid I will have the same issues.
It seems that certain windows don't fit on this desktop. For instance when I open Compiz config settings manager the bottom of the window is below the screen. When I try to click an option the window jumps and the same thing happens to the top. I can also click anywhere on the window to make this happen. I have included a couple pictures (taken with my camera please forgive the quality) to show you exactly what it is doing. It is getting rather annoying when I try to open one thing and the other right above or below it opens instead. I have to place my pointer in the spot where the item I am selecting will be after it jumps in order to open what I mean to open. When I right click it gives me options as if I was right clicking on the desktop background. The other issue which seems to be related is not being able to get to certain parts of longer windows such as Gnome color chooser. It seems to run off screen as well.
i am trying to build a server that will allow us to jump to a private ip scheme. GB1 65.20.x.x gb2 1.1.x.x if i ssh to the 65.24 ip and configure gb2 i lose access to the server completely. am i missing a route somewhere? BTW this is ubuntu server 10.04
The system of my VPS is centos 5. I want to know if it is 32bit or 64bit. > uname -a Thu May 13 13:49:53 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
looks like 64 bit. But > getconf WORD_BIT 32 Looks like 32 bit. Which is correct?
I believe the linux of my VPS is 32 bit. Because I downloaded a 64bit mongodb, found it can't start. And when I downloaded a 32bit instead, it works well.
I (for curiosity's sake) am running du -a inside /usr/lib/git-core and it does not show results for all the files in that directory. Why does it leave out an arbitrary set of files?this is what cd /usr/lib/git-core; du -a returns:
I could not save all of my OpenOffice document .odt files to exterior USB drive. I am using openSUSE 10.2 that runs well with my old Toshiba Satellite laptop on KDE. I did tried almost everything in it but could not.
I upgrade mi connection between my PC to my TV, from VGA to HDMI, now I can't watch heavy mkv files coz they jump during the playback, I cant watch MD content on ..... coz the video keeps loading from time to time even if the video is fully loaded,resuming, crappy - not fluid. I tried changing resolutions and refresh rate between 1280 x 720 and 1920 x 1080 but nothing. Do I need to change my video card to be able to see 1080p media at 1920 x 1080 res in my ubuntu?
description: Desktop Computer product: MS-7280 vendor: MSI version: 1.0 serial: To Be Filled By O.E.M.
I am running Ubuntu 11.04 on a DELL Latitude E6510 (bios A07). I am experiencing an annoying problem: It has this weird keyboard issue where whenever I am typing in an application, the cursor will jump up and over a few lines. The problem also happened under Ubuntu 10.04 and 10.10 and under bios A03.
I've setup a git-svn repo with cron to fetch from the svn repo daily. I have a script to do the fetching, and this is what is invoked by cron. Everything is fine with the repo, and the script works fine when executed manually. However, when it runs under cron, empty files get dropped into the .git directory. The files have names that look like they are some base64 output, e.g. juTrvjP6m8 and kcKf3hu3b4. Two of these files show up for every cron run. I thought these might be commit hashes, but they're not, git-show says it's an unknown revision. I set-up the repo as follows:
[code]...
The last line pushes the repo to a separate (bare) public repo from which others can clone. I'm piping the output from the cron job to a file, which looks like this:
[code]...
The line "fatal: unable to run 'git-svn'" is alarming, but the fetch seems to go ahead anyway. Where are these empty garbage files coming from, and how to stop them? Am I in for bigger problems in the future?
In my .bashrc I have the following lines to turn on colors for grep and ls alias ls='ls --color=auto'export GREP_OPTIONS='--color=auto'.I've tried changing the alias to export LS_OPTIONS='--color=auto' but that doesn't work.Is there anyway to use an export instead of alias. And are there actually any benefits to one way over the other?
i'm in need of my hard drive & usb flash drive numbers, but when i do fdisk -l i get no results - it just gives me the prompt as if i've pressed the enter key on my k/board.