I have a basic linux file permissions question:
I have a folder named test:
$ ls -la
drwxr-xr-x 5 root root 4096 2010-10-25 17:11 .
drwxr-xr-x 17 root root 4096 2010-10-25 16:53 ..
drw-rwS--- 3 root codedev 4096 2010-10-25 17:11 test
In this folder (test) I want all users that are members of the group codedev to have read and...
Any one help me to create repository(yum)for binary files installation...I know how to configure yum for rpm files.
Thanks in Advance
...
Hi,
I have some shared/dynamic libraries installed in a sandbox directory. I'm building some applications which link agains the libraries. I'm running into what appears to be a difference between OSX and Linux in this regard and I'm not sure what the (best) solution is.
On OSX the location of library itself is recorded into the library...
Hi,
I have a linux box that I use all the time and it always work with different machines.
However, I also have a Windows box that is accessible from other windows box, but when I try access from the linux box I only get
root@hosting02:/# smbclient -L //10.10.10.5 -U Admin
Enter Admin's password:
session setup failed: NT_STATUS_INVAL...
I tried profiling my application with OProfile recently. The data gathered is already very valuable to me, but I'm having difficulties with its precise interpretation. After running my app with oprofile set up and running, I generated the report and got:
root@se7xeon:src# opreport image:test -l -t 1
Overflow stats not available
C...
Hello,
we have a a pretty large SVN repository (50 GB, Over 100000 revisions). Working with it is pretty slow and my guess is that the reason for this is the flat directory structure in db/revs and db/revprops (Where each revision is one file).
We use the FSFS format with SVN 1.5 (On a linux server) but the repo was created with an old...
hi I'm really frustrated, First I have no idea how to code the very complex (make files), so I'm using IDE's that would ease the job for me like (netbeans , eclipse ,Kdevelop .. etc) i almost tried every thing starting with
Emacs (i'm very slow on it and I need autocompletion)
Netbeans 6.9.1 (crashes , very slow editor,but amazing and...
I would like to know more about what makes the GUI on *NIX systems work, but not quite sure where to begin the research. From my understanding, the X server is what makes all the visuals possible, and atop that there are the various UI environments like KDE, Gnome and others.
But, for instance, I have always thought that running under ...
http://stackoverflow.com/questions/557844/java-io-implementation-of-unix-linux-tail-f has a similar problem; but the solution is not viable for log files that generate about 50-100 lines per second.
I have an algorithm that emulates the tail functionality in Linux. For example,
File _logFile = new File("/tmp/myFile.txt");
long _filePtr...
Hello guys,
Just a quick question on printk function at the kernel level, if i call this where will the message be printed to.(im using ubuntu on i386 arch with the latest kernel downlaod)
cant find it anywhere,
if someone could also point me in the right direction for some sort of manual for the printk function it would be great!
...
I use following command to mount "/dev/sdb1" to "/storage" directory:
mount -t ext3 /dev/sdb1 /storage
After run above command, I can use "df -h" can see it:
/dev/sdb1 147G 188M 140G 1% /storage
But after i restart the server, it disappear, and i have to run mount command again.
Is there a command that can keep the mou...
Hello guys,
i am new to linux, i am after implementing a simple system call on the linux kernel that prints to the syslog via printk,
i would like to be able to extend this application , so i can details on the battery percentage of my laptop
or check the speed of the hard drive in the computer, could any of you give me a hand on whe...
I would like to have a script wherein all commands are tee'd to a log file.
Right now I am running every command in the script thusly:
<command> | tee -a $LOGFILE
Is there a way to force every command in a shell script to pipe to tee?
I cannot force users to add appropriate teeing when running the script, and want to ensure it log...
Hi,
is there a shell command in linux (for vlc media player) to open a *.mp3 file?
Thank you very much ;D
...
Hi,
I want track all outgoing HTTP requests from my server. Is there any easy way to do this?
...
Hello, everyone.
I'd like to develop simple 2d games on linux. Something like one below. The only decent tecnology I've found was PyGame. Is there any other worth taking a look? Is there a possibility to develop flash games on linux?
Thanks in advance.
...
I am creating an event with g_timeout_add or g_timeout_add_seconds which returns an event id; I can cancel the event by calling g_source_remove.
However, at some point what I would like to do is see how much time is remaining until the event is fired. Is there a simple way to do this with the glib api, or do I need to manually store an...
I run a DV 3.5 server on MediaTemple with Linux CentOS 5, php and mysql DB and am trying to encrypt phone records with AES.
I came across what seems to be good script as PHPAES
but I am not sure of the following:
Where do I actually store the AES
Encryption key used to encrypt and
decrypt the phone number?
How do I call on the AES ...
Hey guys,
I've implemented a simple Hello World syscall with limited functionality - that simply transitions from user mode to kernel mode, prints a message that is logged with the kernel messages, and transitions back to user mode.
The next step for extra credit is to add a useful (new) syscall that is not normally available to a non-...
What is the best way? Or at least... an easily managed one?
I am routinely creating shell and python scripts that need to always be running in the background.
Any recommendations on packages that simplify this? In the past I would stick a shell script in cron to check for the running process, but this feels like a hack. I recently re...