General :: Ls -a *vim* Does Not Find .vimrc Notwithstanding It Is There
Jul 9, 2011As you can easily see:
Code:
What is my mistake?
As you can easily see:
Code:
What is my mistake?
1 - I've put php.vim in ~/vim/syntax directory, and now I would like to set ~/.vimrc to use php.vim when I open a php file. How do I do it? 2 - Where can I learn more on how to write vimrc?
View 1 Replies View RelatedWhat's the command to reload .vimrc without restarting vim?
View 2 Replies View Related"syntax on" in vimrc is not working with my RHEL5 and i m really suffering by looking at dull code..!!!
View 1 Replies View RelatedI was trying to install vim today and could not find .vim directory where I could install them and only the .vimrc file was there So what I did was Try making a .vim directory copy the .vimrc file in it and and removing the old ~/.vimrc file. I exported the ~/.vim/ to $VIMHOME
View 5 Replies View RelatedI just setup the vim,and when i modify the vimrc file ,I obviously made some mistakes ,the error looks like this and this is where the problem is and why my user name is so long ,is there anyway i can make it shorter or use others
View 8 Replies View RelatedI've added the following to my .vimrc:
Code:
function CommentLines()
:'<,'>s/^///
[code]....
I have 4 Linux machines with cluster.My target is to find all kind of IP address (xxx.xxx.xxx.xxx) in every file in the linux system remark: need to scan each file in the linux system and verify if the file include IP address if yes need to print the IP as the following
more /etc/inet/file.example1
182.23.2.4
255.255.0.0
10.10.1.1
I am trying to do a find/grep/wc command to find matching files, print the filename and then the word count of a specific pattern per file. Here is my best (non-working) attempt so far:
wc `find . ( -name "*.as" -o -name "*.mxml" ) -exec grep -H HeightResizableList {}` ;
Is there a way to specify to find that I only want text files (and not binary files)? Grep has an option to exclude binary files, so I thought find probably has a similar feature, but I've been unable to find it.
View 2 Replies View RelatedI've got a setup where I need to use 'find' to find 0 or more files in a certain directory, however, 'find' always produces an error when there are no files that match a certain check. Is it possible to run 'find' while having it omit errors when no files match the pattern?
View 2 Replies View RelatedI have used diff command in past.I faced a situation to which I did not had a cluehere are some text strings (which can be stored in a file)Quote:
CONFIG_XEN=y
CONFIG_XEN_PVHVM=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=128
[code]...
I know how to search for normal files but can you let me know " How to search for 5 setuid files on the system. Also explain, for each file, why setuid mechanism is necessary for the command to function properly"
View 1 Replies View Relatedam new to linux and trying to find a file in sub directories using find command as:find .-name *.jpg -type fBut I am unable to get the result as find command is not permitted by the server administrator.Is there any way to find files without using find command.
View 14 Replies View RelatedI am not completley new to linux, I have tried a few variations, but I can't seem to find the right fit.
Can someone tell me: What, if any, is the best Distro for someone with no Internet.
I have Dial-up at home, but it is capped at 20hrs a month, and download speeds of 5Kb/s MAX.
Can sonmeone help, or should I just get an upgrade?
Is it possible to fully enjoy Linux without the Internet?
I have a project directory that contains source code and subdirectories of source code. I want to use the Unix program find to search recursively for the names of files of certain extensions. The versions of find on Linux and Mac OS X behave differently.
# Works in Linux
find . -type f -regex ".*.(py|html)$"
# Neither of these works in Mac OS X
find . -type f -regex ".*.(py|html)$"
find . -type f -regex ".*.(py|html)$"
How do I write this command so that it will run on Mac OS X (and hopefully on Linux too)?
I tried lspci, lsusb and lshw but none of those lists my touchpad device. Where to look now?
View 1 Replies View RelatedWhy there are two so similar command in Linux? and normally what are the circumstances to use each of them?
View 2 Replies View Relatedfind / -newer -10 mtime +30.i want to check only those files which are modified yesterday.
View 1 Replies View RelatedI need a 64-bit Linux distribution to beta test TeraChem, a GPU-based quantum chemistry package. I have never personally used Linux, however, and I don't know anything about the available distributions. I was wondering if I could get some recommendations.
My system specifications:
CPU: Xeon W3520
GPU: NVIDIA GTX 275
Motherboard: GIGABYTE EX-58 UD5
Current OS: Windows 7 64-bit
I would not use Linux as my sole OS but would want to dual-partition (I think that is the term?). However, I think I would end up using the distribution for more than just running TeraChem. I may even become a convert!
What am I looking for in a distribution? Ease of use, efficiency, 64-bit. What do I know how to do? I can build computers, code in C++, comfortably use a command line.
I would like to make my own Linux distribution.Where do I find a Linux distribution that has just the OS, a browser and basic drivers for ethernet, video, etc.I can then build it up myself through the repo.
View 5 Replies View RelatedIs there a way to find the wwn id of disks mounted on a centos server. I am using san disks via iscsi connection.
View 2 Replies View RelatedI am using CentOS 4.8 I was doing some updates. Now I get "cannot find username for UID 500" here are some outputs,
repeater@irlp's password:
Last login: Sat Apr 2 09:16:27 2011 from 192.168.0.151
-bash: /etc/profile: Permission denied
[code]...
I was wondering if there was a bash command or something that would probe an application to maybe list the GUI menus (arguments) you could input to the application. This would also be interesting for CLI.
Let's say there was not a manual page for a bash command (options) and you wanted a "tire on the road" proof and not just recall something that is assumed to be correct or you did not want to click here there and e very where to see if a menu opened for a GUI?
I assume that this process could also work on the source code by searching for a input type of command.
This is just something I though would be a helpful hack type of thing and I'm not involved in a project for this type of functionallity. It's a shame that GUIs dont always list what they are capable of.
From a linux host, how can I find information about a lun that has been exported. For example, if I have 3 100G luns available via FC. How can I tell which is which? I've looked at fdisk, /proc/scsi/scsi, /sys, lscsi, sg3_utils. So If I want to destroy one of these luns, how can I find out how to identify it on the san device? 2.6 kernel. Not looking for something distro specific, but i have a mix of rhel5 and sles.
View 1 Replies View RelatedI wanted to know how to find the end tag in shell where I have multiple tags in xml like
<tag name="x" version="1.0">
</tag>
<tag name="x" version="1.0">
[code]...
When I run find command with exec option, it just hangs on me. what am I doing wrong?
find /stdlist -type d -mtime 0 -exec cp -r {} joblogs ;
I have an older RHEL 3 server that is running nfs v 2. I have a backup appliance that I need to mount to it, but the appliance is only compatible with nfs 3 or 4. i cant mount it to my RHEL 3 box. I have searched redhat and can't find an rpm to upgrade nfs on this box. Does anyone know if there is a way i can download the source for nfs 3 or 4 somewhere and then compile it on my RHEL 3 box?
View 10 Replies View RelatedHow can I find out WHAT is using the module? Which program?
View 4 Replies View RelatedMy server unable to boot up and got the the message "could not find filesystem /dev/root" after adding 1Tb of storage space from Storage Area Network (SAN) to the root partition. how to restore my backup folder or how to restore the server to it original state.
View 1 Replies View Related