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
2answers
15 views

Locked out of SSH on LAMP server but have SFTP access

I made a mistake in /etc/sshd_config so have locked myself out of my remotely hosted server running Centos 6. It's running Apache and I have FTP access to /var/www and I know the root password. To ...
1
vote
1answer
11 views

mysql fail to start bash_completion errors

So after upgrading my debian system, mysql does not start anymore with command "service mysql start". I get: Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' ...
0
votes
2answers
46 views

Difference between Unix OS Types [on hold]

What is the difference between Linux, AIX, Solaris, MAC. Aren't these all some kind of Unix flavors ? Why do we need so many types. Why can't there be just one type ?
0
votes
0answers
5 views

Communication between two kernel drivers

I have custom embedded hardware i'm working on which runs linux. I've implemented a spi kernel driver to handle spi access to a eeprom which is exposed to userspace. Now i have another kernel driver ...
1
vote
0answers
15 views

Real vs Actual memory in Xymon/Hobbit

What is the difference between real and actual memory usage in xymon ?
0
votes
0answers
28 views

how can I backup and restore of partitions and logical volumes?

This is my disk scheme sda1 /boot ext4 sda2 /somefiles ext4 sda3: lvm volgroup1/lvolume1 / ...
0
votes
0answers
15 views

Inotify notifies only single change

I set the inotify_add_watch to watch /dev/disks. The entries in this directory are: by-id and by-uuid. When I plug-in a pen-drive, this directory gets added with two more directories: by-path and ...
2
votes
1answer
33 views

Is Android compatible with the Linux Standard Base?

Moved from Stack Overflow, where I realize it was off-topic since it was asking for sources - far as I can tell, the rules forbid that there but not here. I know that the kernel in Android is now ...
5
votes
2answers
76 views

Linux kernel manual build: resulting binary is 10 times larger than precompiled binaries

I'm using Linux Mint 13 MATE 32bit, I'm trying to build the kernel (primarily for experience and for fun). For now, I like to build it with the same configuration as precompiled kernel, so firstly ...
0
votes
0answers
7 views

raspberry pi pulseaudio server connection failure

I purchased a raspberry pi model b , after installing image, the first thing I do is I installed vlc and copy a mp4 video in raspberry pi. Now from command prompt I tried to run my video using vlc. ...
0
votes
2answers
39 views

What are the positions in `free` called?

I am trying to compare the output of free with the output of sar -r: # sar -r 12:00:01 AM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit 12:10:01 AM 629756 65293976 ...
3
votes
0answers
37 views

Typing punctuation adds an accent to the preceding letter after my laptop is docked for a few minutes

I am running Manjaro XFCE. Everything worked like a charm for months now, but 2 weeks ago the keyboard configuration from my external keyboard seems damaged. Writing on my laptop itself works ...
0
votes
1answer
24 views

VPS SSH and my OWN IP

Is it possible to to stay in total anonymous mode for the VPS provider? I have got a VPSVZ machine with UBUNTU server. Is it possible to do anonymous tunneling: VPS1 -> VPS2 -> VPS3 (all UBUNTU) ...
3
votes
1answer
84 views

mounting a SD card without a partition

I try to mount a SDHC card under GNU/Linux. Unlike what happens usually, /var/log/syslog doesn't mention sdb1, just: Jul 26 16:07:53 xvii kernel: [ 159.404842] scsi 6:0:0:0: Direct-Access Singim ...
0
votes
0answers
16 views

Unable to connect to source.repository.backtrack-linux.org

I have a BackTrack5 r3 installed on VMware. As you see below I have internet access in it : root@bt:~# ping www.google.com PING www.google.com (173.194.70.105) 56(84) bytes of data. 64 bytes from ...
1
vote
0answers
27 views

A problem with ubuntu [on hold]

I have a Dell Inspiron 1420 with Windows Vista. I wanted to install Ubuntu on it, so I burned the ISO file to a 16GB flash memory and I booted the laptop from it. I tried to install Ubuntu on the hard ...
2
votes
0answers
15 views

How to create GUIs (such as menuconfig) with lxdialog

I try to generate a menuconfig by my own with the help of lxdialog (source: lxdialog). Unfortunately this is not so well documented as I wished for. Example: So what I did: I included these files ...
1
vote
0answers
26 views

How to find out why my cron didn't run? [duplicate]

This is the content of root's crontab: 0 23 * * 0-4 /usr/sbin/rtcwake -time `date --date="+16 hours" +"%s"` -m mem This is set to fire off that command every Sun-Thu at ...
3
votes
0answers
31 views

RAID-1 mirror has become a single hard disk

I have an HP N40L microserver, with 2 identical drives, I used the system to hardware-RAID them as a mirror. I then installed mint on the system about a year ago. This has been running perfectly, ...
0
votes
0answers
5 views

Why surt1000xli APC UPS recognised by NUT apcsmart driver as “old”?

So I have this UPS connected to machine with a RS232/USB cable. ups.conf contains [apc1] driver = apcsmart port = /dev/ttyUSB0 desc = "APC USB" And I get the following output: $ sudo ...
1
vote
1answer
23 views

bash script not being run by cron [duplicate]

I have a very simple bash script that runs flawlessly when I do ./removeOldBackup.sh or sh /home/myusername/backup/removeOldBackup.sh but when I add it to crontab like * * * * * sh ...
6
votes
2answers
33 views

How to make files inside TMPFS more likely to swap

I'm using tmpfs for my /tmp directory. How can I make the computer decide to swap out the files inside the /tmp before swapping out anything that is being used by applications? Basically the files ...
2
votes
2answers
39 views

How to view files hidden by a mount on Debian 6

I have been trying for a while to view files, hidden by a mount on my device sporting Debian 6, to no avail, and being new to Linux, I am compelled to ask the question: How do you view files hidden by ...
2
votes
0answers
29 views

How to set up networking on a per-user basis?

I would like to set up access to corporate VPN for just my user account on my computer; not for the other accounts and certainly not for the guest user. To achieve this, I presume, I need to ...
1
vote
0answers
31 views

How do I run Linux on a MacBookPro(11,2) with more than one CPU?

I have a late 2013 15-inch MacBookPro (MacBookPro11,2). I need to have Linux running on it. The closest I have come is loading Xubuntu, which only boots with the maxcpus=1 kernel option. Question ...
0
votes
0answers
27 views

bash script loses readonly value after first time thru loop

I have a bash script which seems to lose the value of the readonly constant after the first time thru the for-in loop. For example: #!/bin/bash readonly DIR="./groups/" for output in "${array[@]}" do ...
-1
votes
0answers
36 views

Grep -E yielding different results on SuSE Linux [on hold]

I recently updated a SuSE server to 11.3 from 11.0. I updated to 11.1, then 11.2, then 11.3. Anyway, my question is when I run a grep -E command on this server it returns incorrect results. I have ...
0
votes
0answers
5 views

Problems using ecpsf in Snoopy with IRAF

I'm trying to fit a psf to some stars in an image using ecpsf in Snoopy. When I read in the image I get the following error: snoopy> ecpsf filename ERROR: Cannot open image (filename) ...
-3
votes
0answers
42 views

Best Linux Distro For Me :) [on hold]

I'm looking for the best linux distro that I can install in it virtual box ( It is very important ) and has XFCE DE. by default and I can install packages in it very easy... Now I have ubuntu but I ...
1
vote
2answers
50 views

Unable to get rid of root user and privileges

I am told that the most basic security to set up in Linux is to change the superuser name from root to something obscure so I run these steps to add new user $ /usr/sbin/adduser new_username $ ...
3
votes
1answer
44 views

Does “mount -o remount,ro” flush filesystem buffers?

On Linux, does mount -o remount,ro flush filesystem buffers/cache, or should I also run sync to achieve that?
0
votes
2answers
38 views

Debian VLAN (8021q) Configuration doesn't work

I try to setup VLANs on a virtual Debian machine. It's connected to an Cisco 2960 Switch. The Switch has 3 VLANs (1,100,200) which're allowed the pass the trunk. The Switch Configurations was tested ...
0
votes
0answers
14 views

Roundcube Web Mail client to hide folders

Roundcube web mail client works perfectly. But the problem is that I want to hide INBOX subfolders (they are without content) globally. There are separate folders which are used and they are with ...
3
votes
0answers
39 views

Minimal Linux with kernel and BusyBox: /etc/inittab is ignored, only /init is executed

I managed to create a small and fully functional live Linux CD which contains only kernel (compiled with default options) and BusyBox (compiled with default options + static, all applets present, ...
3
votes
1answer
57 views

How does `stdin` of linux work?

I know that stdin refers to standard input in linux, usually the keyboard. It can also be referred by file descriptor 0. So, which file descriptor does the (standard input) mouse refer to? Or is it a ...
0
votes
2answers
18 views

Copy over existing files without confirmation?

I need to copy and over-write a large amount of files, I've used the following command: # cp -Rf * ../ But then whenever a file with the same name exists on the destination folder I get this ...
4
votes
1answer
29 views

ZFS: Trying to remove top-level drive from Zpool

I have a zpool called storage that contains a five device raidz1 array. Today I went and bought another 3TB device and put it in my enclosure. However, instead of creating a new pool and adding that ...
1
vote
0answers
18 views

Keyboard is disabling

I stuck with a strange problem on OpenSUSE 13.1, after some random uptime my keyboard is disabling. I'm not even sure how to concretize this problem, this happening randomly and I can't see any ...
0
votes
1answer
33 views

Can a file be corrupted by copying from NFS to CIFS?

I have Linux RedHat 6.x, and I mounted a Windows 2008 R2 NFS share. If I copy data from my Linux machine to Windows, that doesn't seem like any harm. But if I take that file that is in my exported ...
0
votes
0answers
54 views

Mirrored Linux Commands [closed]

I've encountered two incidents where commands (or logic flow) is given forward and backwards In bash scripts: if ... fi (use to closed an if-statement) and in GNU/Linux command line: cat; tac (cat ...
0
votes
0answers
13 views

Disable CPU scaling with U 1404

I know there are a lot of things about this topic but I couldn't find anything not older than 4 years. As the stuff develops so fast I hope it is fine to ask again a few years later. What is ...
1
vote
0answers
15 views

Mirrored Linux Commands [duplicate]

I've encountered two incidents where commands (or logic flow) is given forward and backwards In bash scripts: if ... fi (use to closed an if-statement) and in GNU/Linux command line: cat; tac (cat ...
1
vote
0answers
11 views

TPM passwordless boot

I'm trying to create device with CentOS6, encrypted disk (with LUKS), TPM module and TrustedGRUB to boot securely and without interaction. I'm following instructions from ...
0
votes
1answer
18 views

Loginuid, should be allowed to change or not (mutable or not)?

I am trying to configure the linux kernel. I was confused by Make audit loginuid immutable (AUDIT_LOGINUID_IMMUTABLE) [N/y/?]. The help says: +config AUDIT_LOGINUID_IMMUTABLE + bool "Make ...
5
votes
2answers
129 views

File handles and filenames

I read this post. Are file descriptors the same as file handle? While trying to configure the linux kernel, it asks open by fhandle syscalls (FHANDLE) [Y/n/?]. Why is this option provided? Does ...
1
vote
0answers
21 views

Bluetooth Device not working debian wheezy

i just installed debian wheezy on msi cx640dx. my bluetooth device not working. here is some information. Kernel version: $uname -r 3.2.0-4-amd64 when i use hcitool dev it don't show any device. ...
0
votes
3answers
71 views

Connectivity between 2 remote Linux machines

I have two remote machines, I'm running a script on one of them. There's some part of the script that should be running on the other one, then the script will continue in its further tasks/commands. ...
1
vote
1answer
42 views

Curious about strange ICMP type 3 code 10 traffic to my IP address

My firewall (iptables) logs some strange ICMP type 3 code 10 traffic that I am curious to understand (specifically how or if this could be an exploit of some sort). Type 3 = Destination ...
1
vote
1answer
37 views

top command on multi core processor

I am using freescale IMX6 quad processor. I want to know if the top command lists the CPU usage of all 4 cores or of a single core. I am seeing an application's CPU usage being the same with 4 cores ...
0
votes
3answers
39 views

Grep display both matched and umatched lines [duplicate]

How can I use grep command to display both matched and unmatched lines? Matched line should be in red and other lines should be in normal color. Is there a grep option available to do that?