Ubuntu :: Can't Find It With The Different Command?
Apr 14, 2010
Ubuntu 9.10 Gnome Something is acting as though there is a link in my /home/user file structure which is adding almost 40 gig to my backup! I can't find it with the diff command, as it says everything is common....meaning, I think, everything matches up. Yet my system monitor sees my primary drive as being 85% full and my backup (the same size drive) being 99+% filled!
Is there a linux command that would search through my file structure and list all the locations of any links? And is a "link" the only thing that would create a situation like this? P.S. That I know of, I didn't create any links. Whatever it was, seems to have started yesterday.
View 2 Replies
ADVERTISEMENT
Sep 7, 2010
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
View 1 Replies
View Related
Sep 11, 2009
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 {}` ;
View 10 Replies
View Related
Jul 15, 2011
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 Related
Mar 19, 2011
want to know if Ubuntu provides a command to search for a command having a specific word.e.g.If I know a command contains editor as a substring but don't know exactly what the command is,then is there a way to find that command or the list of commands having editor as a substring.
View 1 Replies
View Related
Aug 9, 2011
The find command does not seem to find all files in my directory hierarchy. My home directory is automounted from a server. The command to illustrate this is:find | sed -e 's/^.///' | sed -e 's//.*//' | sort -uThe result misses several directories. Likewise, a find of a particular file, like:find . -iname *sample* -printwhere sample_file.txt resides in one of the directories that is missing in the first find command, finds nothing
View 4 Replies
View Related
Jan 25, 2009
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 Related
Aug 3, 2010
am 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 Related
Jul 30, 2010
Is there any way to find the core files with out using the FIND command?
View 1 Replies
View Related
Sep 8, 2010
I want to scan a particular directory recursively and run a particular command with each file as input. For this I am using "find /dir/path". I dont want to write any long script containing loop on the output of "find". I want a single command which will allow me to run a command on each file of the "find" command output.
View 3 Replies
View Related
Jul 12, 2011
kernel 2.6.21.5, slackware 12.0
GNU bash 3.1.17
Code:
As you can see, /usr/local/bin is in the path. However, bash does not look for nasm in /usr/local/bin.
If I am root, things go well:
Code:
View 16 Replies
View Related
Feb 23, 2010
I was trying to find and run the program from command line like calculaterbut i was unable to do these two thing togethet.i can find the path seperetly or i can find and run the program without seeing the pathI want to find and see the path and run it at the same time?
View 6 Replies
View Related
May 22, 2011
I am trying to add an application to the start up menu by following this tutorial:
https://help.ubuntu.com/community/Ad...SessionStartup
However, in order to do so, I need to know which command runs the application, but I can't find it. Is there a way to know this using the cumbersome Unity?
View 5 Replies
View Related
Aug 1, 2010
I'm struggling with the Vim find/replace command using wildcards.
I have several, big html files with lots of instances of: <p stuffiwanttoremove>
I've been trying the Vim command: %s/<p *>/<p>/ge
but it doesn't seem to work.
Does anybody know what I'm doing wrong?
I realise there may be alternatives to this (eg a bash script)
View 2 Replies
View Related
Mar 31, 2010
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 ;
View 7 Replies
View Related
Aug 11, 2011
The find command is taking too long on my machine to complete. When I use time command, I find that sys time and user time are too small as compared to real time. Is my find process not getting scheduled properly?
I interrupted the neverending find command and got the following statistics:
Real time : 5min
Sys time : 1.1 sec
User time : 3 sec
I was running
find / -name ls 2>/dev/null
View 2 Replies
View Related
Mar 2, 2010
command line, I have a server for work that I ssh into and I need to be able to find multiple files (they have the leading text just the date identifier changes) and then zip the files (with bzip) them and then finally scp(Secure copy) them to another server.
These files are always in the same directory and this is a daily task and just want to make into a script that I run once I am logged into the remote server.
View 4 Replies
View Related
Jul 21, 2010
I have encrypted my home directory during a fresh install, after I booted up for the first time is asked me to write down my /home passkey paraphrase for emergency recovery. I chose to do it later. Now I cant find the command to recover the passkey. Does anyone know how to do this?
View 3 Replies
View Related
Aug 15, 2010
What linux command would an administrator use to find all hidden files on a Unix/Linux server that were generated during the last week?
View 7 Replies
View Related
Feb 27, 2011
I'm trying to find a command or application that will tell me what drivers my wifi card is using.
I've been googling for a while now and all I get in return for any query I try are articles about folks having wifi troubles.
The Ubuntu install works fine but my Windows install seems incapable of connecting. I've recently realised that I think it all started when I installed 10.04. I think 10.04 might have rewritten the firmware on the wifi module and now Windows can't connect. I'm not sure if this is possible but it is the only solution I can come up with considering that I've now tried 2 different version of Windows and they both have the same problem.
Anyway anyone know of a command or app I can use to discover which driver my card is using at the moment so that I can begin my investigations.
View 1 Replies
View Related
Mar 18, 2010
So, I plugged in two hard drives to my server. I started with two, an IDE and an SATA. Then I plugged in another SATA and an external SATA using a PCI controller card.
I currently only have command prompt (Putty) access. How can I set the drives up to be usable. They were on another server that died.
View 9 Replies
View Related
Oct 21, 2010
#!/bin/shLOOK_FOR="NTLMAuthenticationFilter"for i in `find ./ -name "*jar"`doecho "Looking in $i ..."grepjar -e $LOOK_FOR $idoneI wrote the script above, and try to find if there any file name LOOK_FOR exist in those jar,my quest is: grepjar -e $LOOK_FOR $ihere how can I check if there are any successful result , and output them ?
View 2 Replies
View Related
Nov 1, 2010
What is the difference between *.xml and *.xml in find command in Linux/macThe results of:find . -name *.xml and find . -name *.xml are different. But why?Also, is locate '*.xml' better than find? Which one is the most commonly used?
View 1 Replies
View Related
Aug 12, 2010
I've got a script where I have to parse out the last modified time for a large amount of files. Piping the output for "ls" into "cut" seems to work most of the time, but the output is unpredictable.The "fields" argument doesn't find the date modified columns consistently, and using character count is as well since the output can vary in width depending on the file name
View 3 Replies
View Related
May 17, 2010
I want to know the command which will list the local users created by me not system users.
View 6 Replies
View Related
Jun 13, 2010
How to find info and contents of the SD card via linux terminal. I found a command "mount"in internet. According to it it's in dev/sdb/.. but I didn't found such. I saw dev/sdc/
View 5 Replies
View Related
Jan 20, 2011
command to find the Distribution of Linux.
View 7 Replies
View Related
Feb 5, 2011
i have this find command to find modified files and copy them.Code:find $SRC_DIR -type f -ctime -1|xargs -i cp --parents {} $BACKUP_DIR/$DAY/and it works good but it want to exclude files that exist in some folders like $SRC_DIR/cash and $SRC_DIR/woks/tmp
View 3 Replies
View Related
Jun 20, 2011
If someone has done something wrong on a shared linux machine. If i want to find out who is that person or ip from where it is been done what are all the possible ways. 1 possibility I thought was to get the PID of the command and get other details from that PID?
View 4 Replies
View Related
Oct 27, 2010
t has been long time since i used the command that used to display the most widely used command in the distribution .It was in following format.(I guess it was a combination of history head sort grep or something like that)
50 ls -ltr
3 neat-tui
1 touch abc
I tried finding the command in google but wasnt able to find it
View 1 Replies
View Related