Linux command: How to 'find' only text files?
location: linuxexchange.com - date: January 22, 2011
After a few searches from Google, what I come up with is:
find my_folder -type f -exec grep -l "needle text" {} \; -exec file {} \; | grep text
which is very unhandy and outputs unneeded texts such as mime type information. Any better solutions? I have lots of images and other binary files in the same folder with a lot of text files that I need to search through.
linux: how find out which process is using a file?
location: linuxexchange.com - date: July 3, 2014
I tried to remove a file in Linux using rm -rf file_name, but got the error:
rm: file_name not removed. Text file busy.
How can I find out which process is using this file?
Problem installing zmq on amazon linux (unable to find uuid)
location: linuxexchange.com - date: March 7, 2012
I'm trying to put together an AMI on EC2, and am currently stalled on building 0mq.
initially, I got this error while running ./configure
checking for uuid_generate in -luuid... no
configure: error: cannot link with -luuid, install uuid-dev.
I installed e2fsprogs-devel and linux-utils via yum, which I believe contained the required library, but still got the error above. I subsequently installed uuid-devel with yum and got no further.
Then, I created a link as below:
sudo ln -s /lib64/libuuid.so.1.3.0 /lib64/libuuid.so
and now ./configure completes happily, but I get an error when I run make
[...]
CXX libzmq_la-signaler.lo
CXX libzmq_la-socket_base.lo
In file included from socket_base.cpp:50:
uuid.hpp:31:23: error: uuid/uuid.h: No such file or directory
In file included from socket_base.cpp:50:
uuid.hpp:92: error: 'uuid_t' in namespace '::' does not name a type
make[2]: *** [libzmq_la-socket_base.lo] Error 1
make[2]: Leaving directory `/home/this/infrastructure/zeromq2
how find my login for Red Hat linux? [closed]
location: linuxexchange.com - date: January 1, 1970
I have installed Linux Red Hat v.5 update 6 on WMware. During installation where were no dialog to put login. But the installation finished it require to type login. How can I know what it is?
How find what set ip address for my computer? Static but not in /etc/network/interfac
location: ubuntuforums.com - date: May 21, 2013
I have Ubuntu running with a static ip (it's always 192.168.1.103) but I can't figure out where I set that. I looked in /etc/network/interfaces and it's not in there. How do I find where this is set?
When I run "nm-tool" from command line, it shows:
IPv4 Settings:
Address: 192.168.1.103
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.1
DNS: 192.168.1.1
But when I run nm-connection-editor, it shows that same "auto eth0" interface as never used and when I click "edit" under ipv4, it shows it as DHCP (which I know it is not, it is definitely static).
Linux gurus how do I redirect IP traffic from one address out to another.
location: ubuntuforums.com - date: January 27, 2009
I have the following situation:
Special ethernet cam connected to linux box on eth0.
Laptop connected to linux box via ad-hoc network on wlan0.
I want the linux box to be kind of transparent, so that I can talk to the cam over the wireless network.
Thanks!
Deleted linux partition, how to boot Windows partition?
location: linuxquestions.com - date: December 14, 2005
I have an Intel box on which I previously was running both Linux and Windows. The boot loader that is installed is GRUB. I deleted the Linux partition (accidentally), and now when I reboot the machine Windows does not boot like it used to (Windows was the default OS). Instead, the system comes up with a "grub > " prompt.
How do I boot windows directly from grub? Please help!
Linux programming how to?
location: ubuntuforums.com - date: February 15, 2010
Dear friends ,
i am a wannabe linux programmer, i'm using ubuntu and wish to add a functionality like this :
the system should indicate the successful detection of usb device by a sound signal , please tell me how do i get started
i am a beginner in linux programming , please help me.
Linux RedHat: How to change system date/time?
location: linuxquestions.com - date: October 10, 2011
What is the correct formatted command syntax needed to issue
in order to change the system date/time OS=Linux RedHat?
PPPd and IPsec on Linux VPN how to?
location: linuxquestions.com - date: October 22, 2006
I can't get IPsec (for a VPN) to start on Linux because it doesn't recognize the interface, which should be PPP I believe, I have PPPd installed and my question is...
Does a ppp connection such as ppp0 or ppp1 start only if you have a modem line or ethernet connection?
Or, how do you start a ppp connection on Linux so a ppp# interface is active?
Thanks.
please wait...
Page: 1 2 3 4 5 6 7 8 9 10