Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

-3
votes
0answers
27 views

deleting and appending text files [closed]

I have a text file which looks like Code: "PDK_30s1189731L001" "-1" "1" "3" "999" "5020" "9808" "c" "PDK_30s1189731L001" "-1" "1" "3" "999" "4454" "9808" "c" "PDK_30s1189731L001" ...
2
votes
2answers
72 views

CSV file + set CSV parameters and values in bash script

I have the following CSV file: Alabama,Alaska,Arizona,Arkansas,California,Colorado,Connecticut,Delaware,Florida,Georgia,Hawaii,Idaho,Illinois,Indiana,Iowa 1000,"1 0 0 1",1002,1002,1003,1004,1005,"1 0 ...
0
votes
2answers
41 views

Small build-in ssd in notebook can install linux?

I bought a samsung laptop series 5. There are a 24gb ssd and normal hard disk. I need to install linux ubuntu on this notebook. Can I just install the ubuntu on the build-in 24gb ssd? If not, how can ...
1
vote
1answer
48 views
+100

xfreerdp keeps disconnecting

I'm logging into an rdp environment using Linux. Everything works fine if the session is constantly in use. However, if the user walks away from his/her desk, and comes back say 5 minutes later, the ...
3
votes
0answers
29 views

Is Watchdog can be disabled if once it is enabled?

I created a watchdog daemon application with time interval of 30 seconds; for every 5 seconds, I am trying to hit the watchdog counter, and it's working fine. If I kill this daemon process it shows ...
0
votes
0answers
19 views

Cannot connect to wired ethernet after hibernate

When I am at home I use wired connection on my laptop and it works fine. Then I put it to hibernate with sudo pm-hibernate and start it up again when I am work. I am not able to connect to internet ...
-4
votes
1answer
30 views

connect remote host without password in linux [duplicate]

Am trying to connect remote host by using ssh: ssh xxxx@hostname. It will connect by asking password. But I need to connect host with out password.
3
votes
1answer
36 views

Switching users without the - symbol

I had to switch to a different user earlier for something that I was working on. I have originally done: su support While I was successfully able to switch to support, I found I was unable to make ...
2
votes
0answers
24 views

Mails from my server goes directly to spam

I am running an ubuntu server with plesk panel, Mails sent from this server goes directly to spam folder. All records seems perfect like spf, DKIM, Domain key, PTR etc.. I'm really stuck with this. I ...
1
vote
1answer
24 views

Built new kernel, LVM won't mount from initrd

I need to upgrade my kernel on a RHEL 5 system to build with some experimental drivers. I have configured the kernel with module loading for LVM (dm_* modules). Once the initrd runs the /init ...
1
vote
1answer
34 views

Mounting cifs: “Operation not supported”

Unlike the similar question, I cannot even connect with smbclient. The samba share works fine in windows and automagically works, but in Linux I can't mount it at all and the error message is ...
2
votes
1answer
38 views

Traffic segmentation for a particular subnet

Two questions is it possible to segment traffic for a particular subnet to use an interface and at the same time receive traffic from a different subnet via the same interface? This is the scenario. ...
3
votes
3answers
81 views

reorder GRUB to list Windows on top

I have win 7 and linux mint 14 installed. Is it possible to modify the GRUB Menu to show Windows as the first option instead of Linux, which it currently does. Mainly so that during boot it starts ...
3
votes
2answers
25 views

Source path of loop-device

Out of curiosity, I would like to know is there any way to find out the source of mounted partition ? e.g. Output of df -h is : /dev/loop1 3M 3M 0 100% /media/loop From this output, I know a ...
0
votes
0answers
40 views

How to create virtual serial port?

Is there a common way (tool?) to create two serial ports through physical /dev/ttyS0? I have to simultaneously use both to communicate. I've seen 'Socat' but I can't understand how can I use it just ...
3
votes
0answers
26 views

Output shutdown messages to multiple consoles

I have configured my system to direct console output on boot to serial and vga using kernel parameters. Serial is the last argument in the kernel parameters and will be the default used for ...
3
votes
1answer
37 views

locate java source code in jdk7

I have installed Jdk7 in Ubuntu 14.04 and it is successfully configured and I can use java libraries in code. The problem is that I am trying to locate java source code, but not able to find the jar ...
0
votes
1answer
84 views

Unresponsive desktop after resume from hibernation

After booting up my computer after hibernation (suspend to disk), my desktop is unresponsive for up to 15 minutes. I've found that the slowness is caused by the fact that all running applications seem ...
2
votes
0answers
27 views

LXDM login doesn't work

I installed Arch Linux on VirtualBox. As a login manager, I've chosen LXDM and XFCE for the window manager. I've set /usr/bin/startxfce4 as the session in etc/lxdm/lxdm.conf. The problem is that ...
0
votes
0answers
42 views

no internet connection (wireless or wired) on ubuntu 12.04

I have win7 and ubuntu 12.04 on dell inspiron 1545 with Dell Wireless 1397 WLAN MiniCard. wireless works fine on windows, but I cannot connect with ubuntu. when I tried connect with a cable - it said ...
3
votes
2answers
41 views

change tty login timeout - ArchLinux

By default when I login to my Arch linux box in a tty, there is a timeout after I type my username but before I type my password. So it goes like this Login: mylogin <enter> Password: (+ 60 ...
2
votes
0answers
25 views

Where is the input method configuration file?

My ibus input method was broken after an update. So I switched to fcitx. Actually, there are a handful IMs installed in my Fedora19 system, e.g. fcitx, ibus, yong, etc. However, I don't know how to ...
0
votes
1answer
24 views

Unable to connect to git.denx.de

I am trying to download U-boot for beaglebone black using Ubuntu 12.04, for this I am using this command git clone git://git.denx.de/u-boot.git Now, after typing this command in terminal, for about ...
4
votes
2answers
115 views

Live Distros: UBCD boot Deft, Caine, and Tails from Custom Menu

I'm building my own UBCD and I'm using dual layer to fit 7.5Gigs Useful resources for UBCD customization: The SYSLINUX Project UBCD Customize Casper Man Page Live Boot Man Page Here's my ...
0
votes
0answers
32 views

Calculate Total disk i/o by a single process [duplicate]

I am looking for some tool that will dump total disk I/O by a single process after it ends. So far my finding is :- iotop= It shows i/o per process in real time but does not give total after process ...
1
vote
1answer
38 views

How can I tell why I have permissions to read a file? [closed]

Here's what I just noticed on my CentOS SSH account: stat output $ stat /dev/kvm File: `/dev/kvm' Size: 0 Blocks: 0 IO Block: 4096 character special file Device: ...
-1
votes
1answer
31 views

How to control network bandwidth using Linux [closed]

Currently my Internet is really slow. But I want to allocate all resources to a browser that is loading a movie. How do I do that?
2
votes
0answers
27 views

How to build an equivalent of littlesnitch or zonealarm under linux? [duplicate]

The question : Recommended reverse firewall applications for linux? asks for a reverse firewall used to monitor, preventing or permitting network access, at the process level, with a GUI. There is two ...
1
vote
0answers
35 views

External VGA monitor port not working on HP Elitebook 2540p running RHEL 6.5

I'm running RHEL 6.5 on an HP EliteBook 2540p. When I connect the external VGA port to a projector or external monitor and press Fn+F3 to switch to the external port, nothing happens. Under System ...
3
votes
2answers
35 views

Delete IP address alias by label name

I would like to delete an alias I created using: ip addr add 192.168.1.1 dev eth0 label eth0:100 without having to know the IP address. Basically, I would like to do ip addr del dev eth0 label ...
0
votes
0answers
14 views

SLES 10 SP4 - how to get specific kernel source?

I want to look at the kernel source for some specific kernel versions on SLES 10 SP4. I don't want to see just the Linux kernel source, but the one SLES is actually running. Suppose I wanted to get ...
1
vote
3answers
30 views

listing package dependents

I stupidly did "yum remove python" which also ended up removing all the packages that required python as well. Luckily, I have access to another Linux machine that is a near clone of this machine, ...
0
votes
1answer
31 views

Is there a good way to poll in a real-time process which is kernel friendly?

I have an application which uses boost asio and I would like to use poll() to detect ready network events (packets) and process them as quickly as possible. Additionally, I would like to use ...
2
votes
0answers
24 views

Last data traffic time for a TCP socket

Is it possible, to find out when was the last time there was any traffic on an opened TCP socket? Keepalive and timeout timers are based on this statistic, so I guess it has to be stored somewhere. ...
2
votes
2answers
63 views

How would I build a linux based router?

I am looking into building a Linux based router out of a home-built Linux server. I don't have much experience with the software required however. I would like the server to run the following ...
0
votes
0answers
15 views

Eclipse lint plugin for C language on Linux?

Can anybody suggest a best Eclipse lint plugin for C code? My C code has a dependency on glib. The lint plugin should be able to identify glib macros too.
1
vote
2answers
27 views

Unpack, modify and pack initrd as a user

I've got a problem with rebuilding the initrd image as a user. Firstly, when I try to "unpack" the original initrd image: cpio -idm < initrd-base cpio: dev/tty8: Cannot mknod: Operation not ...
-2
votes
0answers
25 views

GUI installer for linux in Qt

Im trying to write a Linux OS installer in Qt. I need to know how can i manage partitions. Eg. format shrink and create them. Also some other tips if you guys have. Well i have all the scripts all i ...
2
votes
1answer
35 views

Why does Alt+SysRq+B not always trigger while REISU do?

On many different machines, when I come across a lockup, I often use Alt+SysRq+REISUB to reboot without too much losses. But I often noticed that although REISU commands work even when I just hold ...
2
votes
0answers
64 views

If statements into Array [closed]

I'd like to ask if below code (multiple if statements) can be converted into array? Here: if [ "$(egrep -l 'NU.PRODUCT' $LINE)" ]; then VALUE='PRODUCT' elif [ "$(egrep -il 'NU.SERVICE' $LINE)" ]; ...
2
votes
1answer
53 views

How do I resolve an error when booting, “Couldn't find device with UUID…”

I have a RHEL 6 system, running on a VMWare machine. The admin of the VM server added a second RAID volume to the server, which my RHEL system does not use. Now, when I boot the RHEL system, I get a ...
3
votes
1answer
77 views

Check ping statistics without stopping

Is there a way to tell ping to show its usual termination statistics without stopping the execution? For instance, I'd like to quickly view: --- 8.8.8.8 ping statistics --- 2410 packets transmitted, ...
1
vote
1answer
23 views

Serial communication not working in both directions

I am working with a SOM mounted on a carrier board running Ubuntu 14.04 with the generic 3.13 kernel. While testing out the peripherals, I hit a problem with serial communication. Basically, I can ...
0
votes
0answers
51 views

inotify does not work with linux kernel 3.4.11

I have a Linux running with kernel 3.4.11. I tried to run inotify-tools, but it does not work (in fact it does not detect the file changes). I checked the .config file of Linux kernel and I found ...
4
votes
0answers
35 views

Linux kernel dropping custom keyboard scan codes

I have a vintage IBM 122 key model M keyboard that I am adapting for use on a modern computer. I am using a Teensy 2.0 to do the encoding and to handle the USB side of things. I borrowed the firmware ...
4
votes
2answers
94 views

Preprocess packets send to/from interface

Is it somehow possible to intercept packet data just before it reaches an interface, and just after it is received? E.g. preprocess it and send it back on its way? I wanted to create a custom ...
1
vote
0answers
36 views

Route to LAN subnet via OpenVPN client

I am trying to route to a LAN subnet that is connected via an OpenVPN client. I am having trouble with the route command - I cannot make sense of it. The OpenVPN link is established and I can ping ...
2
votes
1answer
24 views

How to install package via yum in Fedora

How do I install software using yum? Can you tell me another way to install package in Fedora?
1
vote
1answer
49 views

How to run java service as a non-root user on CentOs 6

I have a script that starts a Java application as a service on CentOS 6: #!/bin/sh # chkconfig: - 80 20 SERVICE_NAME=cn4server PATH_TO_JAR=/usr/local/share/myserver/cn4server.jar ...
4
votes
1answer
45 views

Are writes to eventfd counted as io?

I am trying to reduce hard-disk activity on my system. Running iotop shows that Eclipse (the IDE, latest version (Luna)) is writing kilobytes of data every few seconds. So I ran strace on the eclipse ...