Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.
0
votes
0answers
16 views
How to watch for device descriptor calls [on hold]
I want to monitor hard ware access at OS level from processes, in an android device I want to watch access of a removable media (camera and microphone) which is registered as a device /dev/something ...
2
votes
3answers
39 views
When to use reboot(2) vs reboot(8)
I'm writing a custom reboot program in C and trying to decide if I should use reboot(2) directly or call system("/sbin/reboot").
Both reboot(8) and init 6 change the runlevel and gracefully shut down ...
0
votes
0answers
22 views
How would you find just the files created by a specified user? [duplicate]
I'm trying to create a script that prompts a user within the terminal to enter a username. If the username exists then the script will display all the files created by the user, else display a error. ...
10
votes
4answers
181 views
Does bash open files in O_APPEND when using “>>” on linux?
If we use echo 1234 >> some-file then Documentation says that the output is appended.
My guess is that, if some-file does not exist, then O_CREAT will make a new file. If > was used, then ...
-1
votes
0answers
5 views
Squid on Debian, access to internet only from windows machine
how the parameters in the configuration of squid is responsible for filtering the operating system? I would like to make the network using only Windows XP users.
1
vote
2answers
17 views
Utility which gives line from /proc/id/maps by specific address
Is there an utility that gives me specific line from /proc/id/maps when given specific address from this process?
For example when given 0x7fb4a84f6008 it returns:
7fb4a84f6000-7fb4a84fd000 r-xp ...
0
votes
2answers
35 views
dmidecode - what is the “system”?
In dmidecode types
0 BIOS Information
1 System Information
2 Baseboard (or Module) Information
What is the second entry? For exmaple, First is for bios, second for Motherboard. What does ...
0
votes
0answers
11 views
READ DMA Error after Installing CentOS 7
I have been trying to install CentOS7.
After I installed it, I see the following message sporadically.
ata2.00: exception Emask 0x10 SAct 0x0 SErr 0x4050000 action 0xe frozen
ata2.00: irq_stat ...
1
vote
0answers
36 views
eth0:<name> interfaces in Linux
I have a server which shows following three "secondary" IPv4 addresses in ip addr show output under physical interface eth0 section:
inet 10.10.1.26/32 scope global eth0:vpn
inet 10.10.1.19/32 scope ...
0
votes
2answers
18 views
How to display open file descriptors with thread id but not using lsof command
How to display open file descriptors with thread id but not using lsof.
I know a similar question exists but the answer doesnt include thread details.
-1
votes
1answer
40 views
What is Dash(-) actually in unix or linux? [duplicate]
It's been While since i'm using dash(-) in unix command. But have never found out what exactly is this.
Have searched at some place it says . It mean stdin/stdout when used in end of command or like ...
-1
votes
1answer
16 views
Vsftp too much time for login [on hold]
While I'm trying to connect my new Vsftpd server using ftp client. The user authentication passed quit speedy but next steps lag too much.
Please help me to speedup my Vsftpd server.
0
votes
1answer
41 views
cp files from source to destination [on hold]
I need to setup a cron that will do below:
Every 5 mins it will move files from source to destination (recursive).
If file already exists in destination, it will append content from source to ...
2
votes
0answers
18 views
Limit the inode cache used by a command
I want to run a task with limits on the kernel objects that they will indirectly trigger. Note that this is not about the memory, threads, etc. used by the application, but about memory used by the ...
0
votes
1answer
33 views
File system not detected after OS upgrade - how do I debug this?
I have a computer with two hard drives in it. One carries the OS and a whole bunch of other stuff; the other was mounted inside /media as a dump-space for an additional terabyte of storage space. ...
0
votes
0answers
14 views
How do I Increase swf video speed in gnash?
Is there any way to increase the speed of a swf file? I couldn't find a good and fast way to convert it to video so as to increase its speed. I am using gnash to open swf files.
0
votes
1answer
14 views
error when install library ubuntu 10.10
I have installed Ubuntu 10.10
I have chosen this Ubuntu because I want to run openbts 2.6 on this machine.
My problem is that when I run this library:
sudo apt-get -y install libfontconfig1-dev ...
1
vote
1answer
22 views
how to know smartd test was successfully completed or not
I am using smartmontools 6 and redhat5.In my smartmontool, smartd dameaon is working fine that means logs at the location
of /opt/smarttool/logs changes at every 30 minute.
logs file name are:
...
0
votes
1answer
21 views
GNU\Linux clustreing , Which level? Which application? [on hold]
I need to start GNU* clustering, But I have problem, Which level:
DB level? (replication)
file system? (distributed)
process level ? (such as intel fortran for civilization softwares)
new process ? ...
0
votes
0answers
13 views
interceptty error message
I want to listen to a certain device on my linux system. therefore I am using interceptty. When I call:
mv ttyO0 ttyO0-orig
and then
./interceptty -o ttyO0.out /dev/ttyO0-orig /dev/ttyO0 &
I ...
-2
votes
0answers
8 views
Yum Configuration With http [duplicate]
I have problem yum configuration using http.
I want to install NBD packages from internet and I configure the yum server following using the yum.conf configuration file
[myrepos]
name=reposeme
...
0
votes
0answers
20 views
strongSwan routing issue with roadwarrior behind NAT
Using the following ipsec.conf configuration:
conn %default
ikelifetime=60m
keylife=20m
keyingtries=3
rekeymargin=3m
keyexchange=ikev2
...
1
vote
3answers
35 views
Is it possible to create dynamic content on file read operation?
Is it possible to generate file content based on file name?
I need a lot of similar .conf files with content depending on file name only.
Can I create some "dynamic" file and generate a bunch of ...
0
votes
0answers
22 views
Linux Clean Installation ERROR IN BOOT: “Reboot and select proper boot device or insert boot media in selected boot device”
After installing a clean copy of linux elementary os. It shows me "Reboot and select proper boot device or insert boot media in selected boot device". I'm using a laptop and previously I was running ...
2
votes
2answers
45 views
how to pass environment variable to sudo su
I basically need to do this:
DUMMY=dummy
sudo su - ec2-user -c 'echo $DUMMY'
This doesnt work. How can I pass the env variable $DUMMY to su? -p doesnt work with -l.
1
vote
1answer
17 views
How to associate physical usb port with usb device number
I'm using Ubuntu 12.04.
I need to send a command to a device that I have connected on a port of my PC.
I can send the command by finding out what the Bus and Device number are.
For example, lsusb ...
0
votes
0answers
6 views
auto boot a java app fullscreen on lxle
I just downloaded a base version of LXLE. How can I configure the system whereby on startup, it'll launch a java app full screen (covering everything possible). The only way to navigate out of it is ...
1
vote
1answer
40 views
Track Internet Usage [duplicate]
I am looking to track the internet usage on linux, how can I do this? I would like to come back in x amount of time and be able to see how much data has been used.
0
votes
0answers
5 views
Whisker Menu - Switch to application if already running
Is it possible to not just start applications but also switch to them if they are already running? For example if Firefox is running and I run it again Linux tells me that an instance is already ...
4
votes
3answers
77 views
Why can't I read /dev/stdout with a text editor?
I just started learning how Everything Is A FileTM on Linux, which made me wonder what would happen if I literally read from /dev/stdout:
$ cat /dev/stdout
^C
$ tail /dev/stdout
^C
(The ^C is me ...
0
votes
0answers
16 views
distributed system in Beowulf cluster [on hold]
l have build a Beowulf cluster and l want the master send to slave message consist with path of existing file in slave and slave open that file and do some operation on it but l note a problem that ...
0
votes
0answers
18 views
How can I do clean tcp reset with iptables? [on hold]
I want to reset outgoing connections to range of ip addresses. Currently, I do the following:
iptables -I INPUT -s 42.42.42.0/24 -j DROP
That works, but client applications never understand that ...
1
vote
0answers
25 views
How to get the mouse/keyboard raw events?
I want to intercept the raw events from the keyboard (or the mouse, eventually). I tried to use the /dev/input/[...] files, they are very practical and I can read the events of any key even caps lock ...
2
votes
3answers
43 views
Search a String in a directory- Get output without filename
I am executing the below command to display the lines which matches the pattern.
find ./files/ -name "*.txt" -print0 | xargs -0 grep "5|20150507"
And output is
...
0
votes
0answers
15 views
Is really PRELOAD and ZRAM useful to speed up Linux OS? [on hold]
I followed this tutorial in order to try speeding Linux Mint 17 up by installing preload and zram.
Really, I do not see great improvement in the OS performances.
What do you think about those ...
1
vote
0answers
28 views
How to corrupt rpmdb?
Yes, You read it right i actually want to corrupt RPMDB for testing purpose.
I tried Googling it but all i got was to, how to rebuild it.
So at last i tried
rpm --rebuilddb
and killed the process ...
0
votes
0answers
7 views
Fedora 16 only boots after manual drive selection [on hold]
A colleague of mine recently tried to setup a RAID 1 on our Fedora 16 machine via the Disk Utiliser menu, even since then (even after tearing the raid down and removing all HDDs but the boot drive), ...
-1
votes
1answer
16 views
How to get the screen logs of a oracle VM [on hold]
When I start an oracle VM with Linux operating system I want to get the standard output, i.e whatever is coming in the screen. Is there any tool or is there any way to get that so that I can check ...
0
votes
1answer
30 views
What is Dynamic interleave for process in Linux?
I have read through the source defined in /source/mm/mempolicy.c. Starting at line 1178:
/* Do dynamic interleaving for a process */
static unsigned interleave_nodes(struct mempolicy *policy)
{
...
0
votes
1answer
34 views
Crossover Cable 2 Linux
I have a crossover cable. I want to move files and folders between my two Ubuntu's. I have partially set this up. They can ping each other. But when I use putty the connection gets refused with no ...
6
votes
1answer
32 views
What happens to requests to a service that is stopped with SIGSTOP
If you run SIGSTOP against a web server, does the kernel just tell the network stack to block/sleep all connections to that socket until it is continued? It seems that the server timeout values don't ...
0
votes
0answers
14 views
RHEL6 Idle Thread Behavior
I am doing some cpu performance profiling with the perf tool on a RHEL6 box running weblogic12g. It looks like the idle threads are presented as native_safe_halt in the stack profile but ...
0
votes
1answer
53 views
PuTTY, CygwinX, and X11 forwarding connection refused
I am no longer able to forward X11 using KiTTY/PuTTY to CygwinX.
I am connecting to an Ubuntu Server 14.10 machine that is correctly configured to allow X11 forwarding. I am able to initiate X11 ...
0
votes
0answers
13 views
Problem Creating a tun interfcae with SoftEther VPN Client on CentOS
I'm trying to make a VPN connection using SoftEther VPN Client on CentOS 7.
When I try to create a new NIC, I get this error:
VPN Client>NicCreate
NicCreate command - Create New Virtual Network ...
0
votes
0answers
8 views
RPM build check-rpaths error 0x0001
While building my custom rpm package using the below mentioned command
rpmbuild -v -bb test.specs
I get the below error,
+ /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
...
1
vote
0answers
26 views
Notetaking app that can sync between Android and Linux on wireless and NOT using any online services?
I don't mind if it needs some hacking. I am using, on Linux, elementary OS's Footnote, which I like very much.
If I could use it's database file somehow in Android, that would be great. Is there a ...
0
votes
1answer
15 views
Install Mono Project Offline on Centos 7.0
I want to install Mono on CentOS 7. My problem is that I can't connect my machine to the internet.
What Packages do I need to download for complete installation?
0
votes
0answers
60 views
Debian 8 Jessie and NVIDIA drivers
I am in the process of installing Debian 8.0 on a laptop with NVIDIA graphics cards.
After a successful installation and reboot I use this guide to install the proprietary NVIDIA drivers; essentially ...
0
votes
3answers
50 views
Remove trailing ~ from files [on hold]
I have a list of files ending with ~
I find them with
find /var/www/vhosts/domain.com/httpdocs/ -type f -name "*.*~"
How can I eliminate that ~
0
votes
0answers
48 views
Why, by design, are group permissions ignored for the owner of a file?
Owner permissions can be useful:
Is there a reason why 'owner' permissions exist? Aren't group permissions enough?
However, there are a lot of cases where you don't care about owner ...