Ubuntu :: Use Terminal To Search For All Files Who Are Not Of A Specified Type?
Sep 14, 2010
I want to use the terminal to search for all files (also the hidden ones) who are not of a specified type.
For example; I want to find all files that do not end with *.txt.
How do I do this?
View 9 Replies
ADVERTISEMENT
Jan 30, 2010
Is there a command for moving a certain amount-or all files-of a certain type? I know how to move files around but I can't find anything that explains how you would move multiple files at once.Writing this, I wonder, is it possible to move files by their size-moving all files under or over a certain size-rather than by type or name? I've looked but can't find how to do this, or if it's possible. Can't find anything on google with any combination of search terms.
View 4 Replies
View Related
Jul 1, 2011
I was wondering if anyone knows why I can't type in the search area in Dashboard search? It feels like it hangs or freezes when I try to load it for the first time during the day, icon shortcuts are also unclickable. I thought it was my keyboard, so I checked if I can type in other programs while Dash stayed open and I can so it's not my keyboard. This problem seems to go away if I exit Dash and try again, but returns maybe an hour later. I think it showed up when I installed Compiz and made a few adjustments.
View 1 Replies
View Related
Aug 10, 2010
Is there any application that will let me restrict search results, by, for example, whether it is a plain text document or a jpeg image (not by extension, but the same way nautilus knows if something is a jpeg even if it doesn't have an extension)?It would be nice to have an easy way to search for, e.g., just images, just videos, or just music without relying on file extensions.
View 1 Replies
View Related
Mar 6, 2010
To search a string pattern in all files in a directory and subdirectories, I am using;
Code:
grep -R "myclass::my-func(" mydirectory/
Now I want grep, to search in only specific file types say *.cc. Please help me. I have read manual of grep, but could not deduce any hint.
Best Regards.
View 7 Replies
View Related
Mar 31, 2011
I recently installed ubuntu on my pc in parallel with windows 7 ( I have been running wubi so far ). After the installation was completed I installed chrome and Mathematica ( by using the terminal ). I then restarted the computer. When I restarted ubuntu again I realized that I couldn't type on the Terminal any longer.I can type on anything else, documents, browsers, Mathematica ecc, but, as soo as I try to type over the terminal the mouse pointer disappears and nothing happens. However I can copy paste on the terminal but it is of no use since I cannot use the enter key.
View 4 Replies
View Related
Jul 20, 2011
I have noticed that the files and folders search in Unity, only shows up those files which have been amended (or possibly just opened) since the install.
i was wondering if there was a way i could have the search index (or something vaguely equivalent) all the files on my machine. This is especially important given that i reinstall the OS every six months on a new distribution cycle, copying all my old files across.
Without being able to see my old files the search is pretty much reduced to a recent history search.
View 3 Replies
View Related
Oct 22, 2010
Is there hopefully a way to search for an exact string in Man Pages? I know if I want to search for anything containing -c I can just do this.
Code:
/-c
How would I search for "-c"? I want only "-c" to show up. So I tried this.
Code:
/"-c"
It took me literally and looked for the quotes also.
View 8 Replies
View Related
Jun 27, 2010
I'd like to find all files of a specific type (as determined by the terminal "file" command) from the command line ... and haven't been able to figure out a way to do so. For instance, I'd like to be able to find all JPEG files in my filesystem, even if their names don't end in .jp*. It would be helpful to be able to combine this with other tests in find, so that I could type something like "sudo find / -atime 0 -size +1M -type adobeflash" or something like that.
I've looked for ways to hook find up to file and tinkered around with a few ideas involving pipes, but nothing seems to get what I want.
View 2 Replies
View Related
Aug 14, 2010
It installed but I cant seem to run a scan and as there isnt much need for it i want to remove it. The problem is its changed name from what I downloaded it as. Does anyone know what it could be? Ill try and add a pic a bit later, but im on windows at the moment so I cant acces terminal. Also I have Wine installed but would like to remove its root access, Im not sure if it does have root access but I would like it not to if it does, what should I type into the terminal?
View 2 Replies
View Related
Jul 9, 2011
I'm using Ubuntu 11.04 and I've been running into a bizarre scenario. So when I open a terminal, I can type commands into it. Then I open a tab (by pressing Ctrl+Shift+T) and can type into it normally as well. But when I close the tab (going back to the original terminal), I suddenly can't type into that terminal -- no characters appear on its command line. It is not a severe issue since if I jump to another window (say Firefox), then come back to that terminal, I can suddenly type again. Also as far as I know this seems to be the only scenario to which this problem occurs. Has anyone ran into the same issue?
View 1 Replies
View Related
Jul 19, 2011
i need to install the new firefox. I have allready downloaded the tar.bz2 package and extract it in a folder. I go to terminal, type sudo make install and appear [sudo] password for severityconcept: but i can't type any character. How to type my password in terminal when i run that command I mentioned above?
View 9 Replies
View Related
Jan 13, 2010
I've been having problems whenever I'm asked for my password inside the Terminal. The most recent one happens when I type this
Code:
ben@ben-desktop:~$ sudo apt-get install flashplugin-installer
It says this
Code:
[sudo] password for ben:
But then I can't type anything. I try to but nothing happens.
View 6 Replies
View Related
Mar 18, 2010
I'm trying to access a file and copy it to another location, but the drive name has a space. I'd like to rename that too.
I know that a % sign is sometimes used, but this didn't seem to work in terminal...
View 9 Replies
View Related
Feb 4, 2011
A few minutes ago, without any apparent reason, my gnome-terminal started refusing acceptance of lowercase 'L'. When I hit the 'L' key, the menu toggles between visible and hidden. Note, this is lower case 'L', not uppercase.
View 1 Replies
View Related
Jun 16, 2011
if i will sound stupid but i can't find a command that would echo output of some command. Let's say that i want to echo the third line of ls -a. I know of the tail command but this command starts from behind.
View 4 Replies
View Related
May 27, 2011
How to bring the "Type to search..." window into focus directly, not by switching to the "Windows view" first?Anybody knows the relevant keybord shortcut? I went though at a number of introductions to GNOME 3, and also examined various tabs at:
Code:
User
> System Settings
[code]...
View 4 Replies
View Related
Apr 15, 2010
I dont have under system->admin networking, but i do have netwroking tools (I have the latest version of ubuntu) and I am wondering - what command can i type in to the terminal to see the dns information? also can I install "network" for ubuntu?
View 1 Replies
View Related
May 27, 2010
Since 2 days, when I type the lowercase 'a' letter in a terminal, nothing is written (it's not the case for the uppercase 'A' letter).
The matter appears with all terminal's software (guake, Terminal, xterm...).
The only way for me to type the 'a' letter is to type 'Insert' key before.
I tried many solutions but the matter is still here.
Here, there is some clarifications and some solutions I tried:
-If I copy and paste a text, 'a' don't appears. For example, if i try to copy and paste
'sudo apt-get install'
'sudo pt-get instll' will appears
-The matter appears 2 days ago. Before that, I removed the .gconf file
-It's not a fresh installation of ubuntu but an update from karmic to lucid. When i was under karmic, I was using KDE. Then I did an upgrade, then I tried Xubuntu and Lubuntu and finally I moved to Ubuntu. The first week under Ubuntu (Gnome) was without any matter and 2 days ago, this matter appeared.
-I tried this following command line:
xmodmap -pke >fichier.conf
and the file called "fichier.conf" (I'm french) contains this line:
keycode 24 = a A a A ae AE ae AE
-When I type this line:
printf "x61
"
a 'a' appears in my terminal.
-In tty1 and all the other programs, 'a' appears without any trouble
-I tried with other users in my computer but the matter is still the same no matter wich user I use.
-I tried to change fonts of my environment and I also tried to change fonts only for the terminal but whithout success.
-I tried to change the layout of my keyboard.
View 1 Replies
View Related
Jan 25, 2011
I am running NIS in an environment that has HP-UX 11.11 64-bit running on a PA-RISC rp3400 server, with Fedora Core 2 32-bit running on intel workstations. All users use the tcsh shell by default in their profiles. If more information is needed please let me know.
Users who log into the domain via a terminal window on the workstations are prompted for the terminal type which is normally dtterm. I want to automate the process so users are not prompted to enter in the above information. My plan is to modify the global-cshrc file on the master NIS server. I had several questions concerning this:
1. Is it better to modify global-cshrc, or should this be done at the individual user directory?
2. What is the correct syntax to use in either case?
3. Will the changes made go into effect upon the next login, or do I need to push out the changes via the make command?
View 2 Replies
View Related
Oct 2, 2010
Using a default terminal and bash, there is no functionality to search the standard output of commands.
One can gain such functionality using other tools, like emacs shell or screen, but I am wondering why such a useful feature is missing, I do remember a simple C-F used to work in terminals.
Is there a way to make the Gnome terminal app support output search? or is there a better terminal app that support searching output natively?
View 5 Replies
View Related
Jun 8, 2011
I was running an update on my computer (running Ubuntu 10.04 Lucid) and something must have been transferred incorrectly as every time I open synaptic, I get an error message that tells me to type a command into the terminal:
Code:
sudo dpkg --configure -a
After doing that, it displays this:
[code]....
View 7 Replies
View Related
Apr 29, 2011
Lately, my rxvt-unicode has been generating this ~$ top 'rxvt-256color': unknown terminal type. Many of the terms have a colour patch. Where is the one for rxvt? Is there one in Debian or do I have to get creative?
View 2 Replies
View Related
Feb 3, 2010
From the terminal, or a script, how can I determine the media type (CDDA, DVD, ISO, etc) of a mounted optical disc? I need this for an automated script on my headless media server - Fedora 12 64bit.
View 2 Replies
View Related
Jan 14, 2011
I'm using CentOS 5.5. I connected serial terminal using "cu". The command I had given was "cu -l /dev/ttyUSB0 -s 115200". It connects I'm seeing the target boards boot-up messages and log in screen. But I couldn't type anything on "cu" terminal window.
View 4 Replies
View Related
May 26, 2010
Since upgrading ubuntu boots to a prompt rather than logging into gnome. has anyone run into this? what can I do to fix this?
I recently upgraded from Ubuntu 9.10 to Ubuntu 10.4.
does anyone know the command to start gnome from the prompt?
View 4 Replies
View Related
Jun 26, 2011
Maverick Meerkat 10.10Type 'yes' in the terminal without the quote marks and hit enter causes a loop, cpu starts to run high.
View 3 Replies
View Related
Dec 19, 2010
Is there any way, either with something included or with a program that can be set up to search for files in Ubuntu? I need something like the search for files or folders that was available in Windoze 98 and 2000. I have tried the built in search under "places" and I have found no way to get it to search a full drive or all drives.
View 5 Replies
View Related
Feb 1, 2011
find a file or content by name recursively similar to the ms-windows function search with Linux? I can do find . | grep test.html suspecting it's not the best.
For instance, running find . | grep terms.htmlgives my expected result while locate terms.html doesn't even though locate gets updated db - it might have to do with that it's an USB stick the file is on?
View 7 Replies
View Related
Jan 20, 2010
Recently one of the worm is spread in our network & so many unwated files are getting copied on our ubuntu file server like comment.htt, desktop.ini, winfile.exe Now we have clean that worm from our network but few files are remained on ubuntu server as well as in backup folders and i want to search those files and delete it.
View 1 Replies
View Related