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

0
votes
0answers
12 views

replace menu key with capslock and capslock with left control using xkb

I followed the instruction here by defining my own xkbsymbols (Use setxkbmap to swap the Left Shift and Left Control) partial modifier_keys xkb_symbols "replace_Menu_Capslock" { replace key ...
0
votes
1answer
61 views

Can't mount SD card - Wrong filesystem

Just bought a SanDisk microSDHC 8Gb card and tried to change the file system to ntfs (used cfdisk thru terminal). Couldn't mount the device. Tried to change back to FAT32, but still can't mount. ...
1
vote
0answers
53 views

RHEL 6.1 yum hangs on “Updating Red Hat repositories.”

I just registered my RHEL 6.1 system using rhn_register. However, when I try to run any "yum" command, it gets stuck on "Updating Red Hat repositories" and never does anything. BTW I can run this ...
1
vote
1answer
59 views

Why can't I see my file in RAM?

In nano, I created a simple text file named 'blue_pink_red_orange_green' with the following contents: red blue orange green pink I then opened the file again and did: sudo strings /dev/mem | ...
0
votes
0answers
10 views

BSPWM on OpenSUSE 13.1

Okay so I want to install BSPWM on OpenSUSE 13.1, I have herd good things about the environment the fact it can be customized while still been a very effective text environment. Reason I want this is ...
1
vote
0answers
30 views

How to create the framebuffer file node?

I'm working with a limited embedded device - Linux environment - that uses a custom DirectFB implementation to draw a user interface in its video output. I would like to exchange this method by a raw ...
1
vote
0answers
14 views

File path in audit log instead of inode number

When I do: echo "#TEST" >> /etc/passwd I get the following in audit logging: node=kayak.office.local type=SYSCALL msg=audit(1412687666.054:62033): arch=c000003e syscall=2 success=yes ...
6
votes
1answer
48 views

Cleanup trap for ssh command on multiple remote hosts

I want to execute an arbitrary command on multiple remote hosts using ssh. These commands are mostly long running commands that monitor server resources and aggregate the output to my local ...
1
vote
4answers
113 views

How to find IP address of device connected on the same network as PC based on MAC id

A PC and embedded Linux device is connected on the same local network.(We don't have DHCP server access, IT admin has the access). We also don't have access to debug UART on the embedded Linux board. ...
8
votes
1answer
369 views

Why do user space apps need kernel headers?

I'm building busy-box and iptables for an embedded device and one of the dependencies for them are the kernel headers. I have searched the whole file system for *.ko files and found none. So i ...
0
votes
1answer
31 views

How to write shell script on VMDK to derive configuration

I have several VMDK files and I would like to write a shell scripts to derive configuration (i.e. No. of CPUs, RAM, NIC, HDDs Size, No of HDDs, etc.). How can I do this, or where do I start?
2
votes
0answers
47 views

Update Corrupted GRUB; Can't Boot Right

Okay, I've been trying to repair my GRUB for awhile on my version of Lubuntu 14, and nothing seems to work. It seems that an update has broken my GRUB, so that now when I try to boot on the ...
0
votes
2answers
103 views

Which linux distro ships unaltered GNOME 3.1x

I tried the GNOME 3.14 promo DVD. Unfortunately it did not offer the option to install it. I would like to install the latest version of GNOME that ships in a Linux distribution, which I suppose is ...
0
votes
0answers
26 views

Zone Normal range in system with 4G RAM

I have a 4GB RAM in my system. Following is my BIOS provided RAM map. [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable [ 0.000000] BIOS-e820: [mem ...
0
votes
2answers
47 views

Howto Configure IPv6 on a Debian based system?

I realize this is probably a pretty basic question, but I can't seem to find an answer that makes sense to me. I have experience configuring networks for IPv4, but IPv6 is a whole other beast. I'm ...
2
votes
1answer
68 views

How to let a user create a directory although not create a sub directory

I'm trying to create a Bash shell script that allows for the transfer of files from a flash device to a archive in which the user will specify. Although I'd like to restrict this user from not being ...
2
votes
0answers
33 views

Advantages of using command line interface over GUI [closed]

I know its a simple question but what advantages does using a command line interface over GUI (graphical user interface) have?
1
vote
1answer
63 views

Unable to mount location after installing Linux Mint

I have been using Ubuntu for a while, but I decided to move to Linux Mint. I removed everything and clearly installed it. After the installation there are two parts which are File System and Toshiba. ...
0
votes
1answer
13 views

Bash - Need to make df output user friendly on login

I am trying to display the disk freespace to users when they login. Basically the output of df -h. I added this to .bash: echo -ne '\e[0;34m'"Disk: \e[m"$(df -h)"\n" It works fine & auto ...
5
votes
3answers
228 views

Can we hot-swap from one install of linux to another?

I have several separate installs of Linux on my machine, and reboot to whichever one is appropriate. I'm wondering if it is possible to switch from one to the other without a full reboot by doing ...
5
votes
2answers
181 views

sed + how to delete the second character “.” from the line

how to delete the second character "." from the line what I have is this ( but its remove the first "." from output uname -r | sed s'/\./ /' 2 6.18-164.2.1.el5PAE while I need the following ...
2
votes
1answer
84 views

Display power management in console

When in console (i.e. not in Gnome or KDE) the display will automatically power down in case of inactivity. It seems to me to be set to something around 30 minutes. This power management is completely ...
0
votes
1answer
59 views

rpm + where RPM installed the files/scripts PATH

I installed the following RPM file rpm -Uvh --repackage /var/tmp/bash-3.2-33.el5_11.4.i386.rpm warning: /var/tmp/bash-3.2-33.el5_11.4.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 ...
1
vote
1answer
55 views

Daemon /etc/init.d message on Debian

When I start/stop/restart a daemon (eg. apache2), no message appears. I am on Debian testing (jessie). On my old server (Debian testing too), messages are displayed: root@old-server # ...
1
vote
0answers
31 views

How can I properly reload a kernel module?

Related Question I can't reload a kernel module for trying new flags. Example: thinkpad_acpi default is without fan_control=1. So if my computer runs really hot and the fans don't go to full speed it ...
1
vote
0answers
28 views

Copying files to a directory shared via ACL doesn't get default mask

I'm trying to setup a simple shared directory on an ext4 filesystem for a group of users to work on. Let's say i just need to give all permissions to all users belonging to the group "workgroup" to ...
-1
votes
1answer
82 views

Is there a tablet for programming in the market today? [closed]

I need a tablet that could do Python (CPython), Java, C, C++ (also embedding) programming. So suppose that I would use android arm tablet for that and install Ubuntu on it. What I don't know would I ...
0
votes
1answer
31 views

Allowing web server communication in Linux firewall

I have a unique situation. Let's say my webserver ( e.g. 10.0.0.2) is connected to eth0 of my firewall (gw 10.0.0.1). A local network (192.168.0.0/24) is also connected to eth1 (192.168.0.1/24) of my ...
0
votes
0answers
17 views

Mange the source code of kernel

If I download a kernel source tree and decompress it to get below directory: linux-3.13.9 I make a copy of it: cp -r linux-3.13.9 linux-3.13.9.orig, and then I modify one file and run a sequence of ...
1
vote
1answer
33 views

Ran php file contents in bash, could some commands be executed?

I accidently pasted this in bash as super user on production server. Now I'm eating nails. I looked through each line and most of them produce syntax error. But is there something evil that could ...
1
vote
1answer
21 views

Installing plugin to application running on Linux SUSE

I have an application running on a SUSE Linux Enterprise Server 11. A plugin is available which is installed by running an installation program (which unpacks, creates directories and registry entries ...
2
votes
1answer
31 views

Yum installation of package specific modules

I was playing around with texlive package recently and found out that there is a way to install tex style packages with yum install 'tex(package.sty)' command. I've never seen package name was ...
1
vote
0answers
17 views

What is the point of the second route lookup after OUTPUT?

According to the packet path diagram, and its description: Table 6-2. Source local host (our own machine) [...] Routing decision, since the previous mangle and nat changes may have ...
1
vote
1answer
35 views

Install rpm from custom repo

I created a custom repo on one of my machines that I am able to grab updates from. However I also want to be able to install packages such as emacs,gcc, and the such from the repo. The updates work ...
0
votes
1answer
32 views

UNIX + nginx + php + SQL

I use a FTP site to upload my work, which resides on a server running on a Linux OS based on nginx. And I use an odbc driver to connect to a database that interacts with my php code. In that database ...
0
votes
2answers
55 views

I get an error whenever I try to add myself to sudoers

So I installed Debian yesterday, and I tried to make myself a sudoer so that I don't have to be root every time I try to install something. However, this always happens when I add my user to the sudo ...
2
votes
3answers
80 views

Linux speed up by moving files to ramdisk at start

I have more than enough ram in my computer (8GB), which hardly gets used. In the most cases my desktop and apps use up in 2-3GBs out of it, on the other hand I do not have an SSD. My system is 64bit ...
2
votes
1answer
31 views

linux systemd intercept shutdown if service is active

I've created a little update/upgrade program for my arch-based linux. Instead of using a cronjob I'm using systemd and created following files: in /etc/systemd/system: uupgrades.target & ...
5
votes
1answer
86 views

Tail log file on multiple machines over ssh

I'm trying to tail a log file on multiple remote machines and forward the output to my local workstation. I want connections to close when pressing Ctrl-C. At the moment I have the following function ...
1
vote
1answer
34 views

CheckInstall fails to install on Debian

I tried CheckInstall to track installation of package on Debian, but it fails to install it. Installation follows the typical configure/make process $ autoconf $ ./configure $ make $ make install ...
0
votes
0answers
18 views

Start menu position in Linux Mint Petra

I added a panel at the bottom panel, then added the start menu button. The button is now located at the right corner of the panel, beside the month calendar. I want it to be where it always has been, ...
1
vote
1answer
59 views

Identify if server boots using upstart or sysvinit

I am a not a experienced linux user/admin, but last week I acquired a raspberry, and installed on it a Raspbmc, based on Debian distro. I am having some troubles trying to identify which scripts the ...
-2
votes
1answer
74 views

Installing Linux on an unsupported USB device [closed]

Would somebody please direct me to some resources for creating and installing a home-brewed version of Linux onto an unsupported device with USB capabilities, like an insulin pump? Basically, I need ...
2
votes
0answers
46 views

Why adding swap space is the slowest part of the booting process? [closed]

I'm not having performance problems, but just running dmesg command, I can see that adding Swap space is the slowest part of the booting process. Why? I actually have ~4GB for swap and 2GB RAM ...
1
vote
2answers
135 views

Using only 3.3GB but I have 8GB RAM even on Ubuntu 14.04 64bit

I have 2x 4GB(8GB) RAM installed on my motherboard and BIOS/UEFI can confirm it, but on Ubuntu 14.04 64bit only has 3424776kB or 3.266120911GB. uname -a returns: 3.13.0-36-generic #63-Ubuntu SMP Wed ...
1
vote
1answer
104 views

Does Linux support the ThinkPad Helix 2?

I'm holding out for the ThinkPad Helix 2, which has a detachable tablet as a screen. It comes out later this month. I've heard that installing Linux on bleeding edge technology can be problematic ...
0
votes
1answer
51 views

How to wait until script ends - csh?

I execute a script that splits a big file into little files. Immediately afterwards I ask if (-f *filename) then .... Sometimes the script doesn't finish so the if doesn't work. I tried sleep but ...
1
vote
1answer
34 views

Cacti/rrdtool error -> Poller[0] ERROR: SQL Row Failed!, Error:'1033'

I have cacti working flawlessly on a centos 7.0 machine but I need it working on a centos 6.3 machine. I download the same version of cacti as what is on the 7.0 and I installed rrdtool from yum. ...
3
votes
1answer
81 views

Bind Ctrl+Down in Joe on a Linux console

When I want to select a line in joe editor, I can go to the beginning and simply pres CTRL-Down and this will select the line. I can move somewhere ales and copy the line with CTRL-k-c. The key code ...
0
votes
2answers
33 views

No sound on my system

So I've been trying out linux, and regardless of what I do, I end up getting no sound at all. I've tried researching the matter to no luck. At first I tried Debian, then moved onto Elementary OS, and ...