Hello, Linux newbie question I guess..
How can I find out where gem installs the gems on my Ubuntu 10 system? I want to read gem sourcecode and perhaps change things up a bit.
Hi,
I would like to move my application on EC2.
I would like to know the AMI Image which has Linux(Preferably Ubuntu),PHP 5,MemCached, eAccelerator or XCache.
Please advise.
Regards,
Mugil.
Is there a way to detect the character encoding set in the terminal which is calling my Java program? In Windows I can call the "chcp" tool and parse the output.
But what about in Linux or Mac?
if i write this command in linux "dd if=/dev/sda of=/dev/sdb" it copy the whole dev/sda partition bit by bit to dev/sdb.....is there any way that i can just only copy the contents of /dev/sda to /dev/sdb and not the whole partition bit by bit......
Hey guys.
I've just installed Ubuntu 10.04, trying out linux for the first time. I'm wondering if it's possible to link my documents folder in Ubuntu to my documents folder in Windows, so that when I open the folder in Ubuntu, I am linked to the folder in Windows.
Any ideas?
Hello.
I am trying to implement a transport layer protocol for my project. I am going to use Linux as my operating system. Could you please suggest me some books or links that explain the implementation of transport layer (like TCP)? Thank you..
Thanks,
Bala
I need to download everything from an FTP server to hosting on a different server. I have shell access only to the server I'm downloading the files to. How, using the Linux FTP comnand, can I download every file, creating the directories needed for them in the process?
I used asp.net in a project in an old company. The vs was licensed etc. Right now, I am planning to use mono since my new company is using linux based stuff and I heard that mono uses the .net framework etc. I just want to know if I need to purchase anything or is it ok to create a webapp using mono?
My understanding is that when make executes, it generates a DAG internally to represent all the dependencies in the project. Is there a way to get at that DAG and graph it, say using something like graphviz? I'm using gnu make on Linux.
When you try to build git on Red Hat Enterprise Linux 3, you get an error:
In file included from /usr/include/openssl/ssl.h:179,
from git-compat-util.h:139,
from builtin.h:4,
from fast-import.c:147:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
Specifically, I'm using the linux command:
find . -regextype posix-extended -regex '' ...
I just want to make sure the posix type I'm using is the type Perl uses, since that is by far the one I am most familiar with.
Hi
with linux bash shell , how can i use regex to get a certain string of a file
by example:
for filename *.tgz
do
"get the certain string of filename (in my case, get 2010.04.12 of file 2010.01.12myfile.tgz)"
done
or should I turn to perl
Merci
frank
Hello,
in a Linux environment, I need to kill a process which has been started by user2 if I am user1 without being sudoers or using root.
Do you know if there is a way of setting that when launching the process? Such as a list of users allowed to kill the process?
Thanks
Hi,
I m running iperf between two machines (linux) and I can observe the mtu of both the interfaces connected is 1500.
I ran tcpdump to capture packets and I observed some packets have
"length as 2962"....how come this is possible with mtu as only 1500?
Please clarify.
Thanks!
Note: flags field is set as DF. and proto is TCP
Anyone know of a command-line CSV viewer for Linux/OS X? I'm thinking of something like less but that spaces out the columns in a more readable way. (I'd be fine with opening it with OpenOffice Calc or Excel, but that's way too overpowered for just looking at the data like I need to.) Having horizontal and vertical scrolling would be great.
What is the ending 'r' for and the leading 'd' for in file permissions on Linux?
Example:
drwxr-xr-x
I know about the user, group, others part, and I know w=write, r=read, x=execute.
But I don't know about the leading 'd' and the trailing 'r'.
Care to explain?
Thanks
I need a way to determine the space remaining on a disk volume using python on linux, Windows and OS X. I'm currently parsing the output of the various system calls (df, dir) to accomplish this - is there a better way?
In perl you can simply write print "-" x 20 and you get a line with dashes...but i need the same thing in bash/commandline on linux without perl/(g)awk etc. any ideas? The intention is to use it in the -exec of the find command and i want to prevent using simple echo "---------" ...
if you wanna code a desktop application in java for windows, mac and linux, will the code be the same for all of them?
and you just change the GUI so that the Windows application will be more Windows-like and so on?
how does it work without digging into details?
How can I get the following output using linux command by comparing two text files? Thanks.
file1:
site110
site120
file2:
domain1.com - site110
domain2.com - site111
domain3.com - site112
domain4.com - site113
domain5.com - site120
output:
domain1.com - site110
domain5.com - site120
I am looking for the Java equivalent of gprof.
I did a little Java profiling using System.getCurrentMillis(),
and saw several GUI tools which seem too much.
A good compromise could be a text-based Java profiler, preferably
free or low-cost, which works in either Windows XP or Linux.
Hi,
I'm using Linux platform to program in embedded device.
Is there any way that a kernel module can detect the interrupt handler routine of an another device driver module?
Like for example, I have a kernel module(.ko), then I want this kernel module detect if a particular device driver execute its interrupt handle routine?
Is this possible?
Many thanks.
When I set LD_DEBUG=files and run my Java program, I found many errors like this:
/linux/depot/java-1.6.0_16_32/jre/lib/i386/libjava.so: error: symbol lookup error: undefined symbol: Java_sun_java2d_loops_MaskBlit_MaskBlit (fatal)
This info is horrifying, but obviously my program runs OK. Can anyone tell me why this happens?