Ubuntu :: Command Used By Admin To Find Hidden Files?
Aug 15, 2010What 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 RepliesWhat 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 RepliesI have the following command which finds all files that have changed in the last day and lists them. How can I exclude hidden files like .bash_history?
View 3 Replies View RelatedI am using Ubuntu and new to Fedora.I noticed that Fedora has some hidden items (SELinux management, control center), however on the command line u can always find these items but u have to know the command name.anyone can tell me a short cut to those command names that r hidden and useful for admin activities?
View 5 Replies View Relatedhow could i find a hidden folder so that i can update a file.
View 3 Replies View Relatedwith the mv command or an alternative thereto. It'sreally something I ought to know but I have usually used the mv commandfor a small number of files at a time and, amazingly, never for "hidden" files (with names beginning with .), symbolic links and any lingering hard links.It is my intention to move whole directory trees from one file systemto another, including hidden files.Consider the following directories in /tmp: /tmp/A and /tmp/B, notingtheir contents:
Code:
$ ls -lA /tmp/[AB]
/tmp/A:
[code]....
I've got a collection of MP3 files, but sometimes I stumble across a double file in Rhythmbox. At first, I thought they were the real files, but after trying to fix the tags (artist names were incorrect or missing) in tag editor, I didn't see any change in the files in Rhythmbox.
This made me search for the album in which the files were (in Rhythmbox). I found out that these incorrectly named files were doubles, but they didn't show in the actual folder.
So, I deduced, They had to be fakes. I threw the doubles in the trash bin, and there it was. They were hidden files (with a dot in front).
How can I find all these hidden files, so I can remove them?
Using Fedora 14 with Gnome 2.3 Desktop utilizing Compiz and Emerald theme manager. When I empty the trash, the icon is still the FULL Trash icon. I tried using different Emerald Themes, and different Icon sets, but still the Trash Icon stays full. I checked the trash folder in $HOME/.local/share/trash and found nothing, no hidden files.
View 3 Replies View RelatedI 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 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 RelatedThe 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 RelatedI found this command that works great finding and replacing a simple string to another in files located in that folder and all sub-folders.
Code: find . -name '*.php' | xargs perl -pi -e 's/OldText/NewText/g'
The problem I have is that I need to replace a more complex string, like this: Old string: /mnt/stor6-wc2-dfw1/627896/982574/ New string: /mnt/stor8-wc2-dfw1/369587/302589/ There I don't know how to do it... since the / is what separates the old from the new strings, and the strings that I want to replace have / in it. Also, I would like to know how to specify under what folder replace the files, for example, I want that it search/replaces all files under /var/www/mysite/htdocs folder.
Is there any way to find the core files with out using the FIND command?
View 1 Replies View RelatedI have a Kingston 8gb Datatraveler that has been giving me troubles lately. For some reason after I delete files from it it still shows up as full and the files are shown in the hidden trash files. How do I get rid of these files? I can't delete them as they just show back up. Also, I tried to format the drive with gparted and it won't unmount. When I right click and select information, at the bottom it says: Unable to find mount point. Unable to read the contents of the file system. Because of this, some operations may be unavailable.
View 1 Replies View Relatedcommand 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.
i cant connect with 3g modem.I've tried with vodafone and 3 ireland.THE SOFTWARE ICON IS ON SCREEN WITH BOTH MODEMS but when i try to run they cant find autorun files is there a comand to run these files their in media/3connect/autorun.exe.do i need permissions or something
View 8 Replies View Relatedi'd like to know the total filesize of all files found with the find command, so
Code:
find -iname '*.mpg' | xargs -I {} du -sh {}
but this gives me the filesize of each file, since each line is passed to "du".
how can I pass the whole list through the pipe?
How do I find files in opensuse 11.2 without using the command line. I see in dolphin "nepomuksearch", but it doesn't work. Even in the command line you cannot whereis a file like Monday, Monday.mp3. whereis also seems to be case sensitive.
View 5 Replies View RelatedMy goal is to find all pdf files on a remote machine, so I resort to the useful command find. So I type find .pdf or find .pdf" and I get nothing. I do the same on my machine and I get nothing. I do a regular search from the menu on my machine and I find quite a few pdf files. Would somebody please tell me what am I doing wrong?
View 5 Replies View RelatedI'm pretty sure this is doable from the command line, but my CLI skills have degraded a lot since my pre-Y2K admin days. The goal is to search all the files in the directory for a very long string of text and replace it with another string of text. The text being searched for is my Google Adsense code (which will be stripped from my website) and it will be replaced with a placeholder so I can easily tack something else in there in the future.
Seeing how I have that long snip of code on about 100 pages, automating the process would make life easier.
If I was searching for a single word, I can see ways to do this.
If I paste the code I'm searching for into a text file, is there a way to:
find (contents of oldstring.txt) and replace with (contents of newstring.txt)?
I've got 2 problems:1. How can I use the find command to search for devices files?2. I need to find all files thaare 6 months (or more) old and that have a size of 2 Mo or more. What would the code look like?Oh and also, how can I use the cat command to insert text in a file?
View 2 Replies View RelatedCommand to find all of the files which have been accessed within the last 30 days?
View 1 Replies View RelatedHow to find files owned by a user who does not have an interactive shell on the system and copy them to a different location. For Eg : Files owned by UID : 86 in /sbin/nologin needs to be located.
View 4 Replies View RelatedCode:
find "$SOURCEDIR" -type f -name "*$ITEM" -printf "%P
"
I want to apply some shell script to the files outputed by the find command.
How can i do this.?
There are multiple files directories and also multiple files.
Linux command to find files changed in last n seconds. shell script,that we can run from cli or command.
View 3 Replies View RelatedGetting the list of files in the root directory that have changed less than 10 hours earlier, using grep, but without the directories.
View 1 Replies View RelatedUbuntu 10.04
I want to copy all directories, files, and hidden files and hidden directories with one command. I want these items to replace any same items in the target directory.
I have tried several things, such as:
cp -r *
cp -aR *
but I only seem to get visible files and directories. Obviously, I am missing something. (A brain, probably....)
i just jumped into linux with both feet not having a clue what im doing.. loaded ubuntu 10.10.. liked it but i couldnt get stellarium to work with my ati x1300, so i upgraded to 11.4 and it works fine.. problem is.. i have a applications start on the left side, but i cant seem to find the setup like in 10.10 at the top, where you can go to terminal, admin, synaptic, etc.. the only way i found synaptic was trying to download it and asked me if i wanted to keep it in the bar, so now its on the left, but cant find anything else.. ive been trying to find it on the net but 11.4 seems to be so new that there arent very many faqs or tutorials about it..it would be nice if i can get that stuff back without having to format and reinstall 10.10.. im not going back to windows.. so i might as well figure this out..
View 2 Replies View RelatedI'm trying to figure out the hidden stream URL for the following local radio station here in Tulsa, OK.[URL]
I'd like to be able to play it in Rhythmbox. Is there a way to figure this out?
This is a bit of a longshot but I was wondering if anyone has a command to delete all the non-admin software from ubuntu. E.g. Openoffice, firefox, media players, photomanagers... Reason being is that there is an image of ubuntu which is specially optimized for my hardware but its on a standard ubuntu install, where infact all I want is file and printer sharing, chromium and xbmc (with any dependancies). I want the install to be as small as possible so I was wondering if anyone has done this before and knows a one line command for it? I would try building my own image from ubuntu sever but I think it would take too long.
View 2 Replies View Related