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
2answers
45 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
28 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 [closed]

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
44 views

Best Linux Distro For Me :) [closed]

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
47 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
45 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
16 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
46 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
20 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
34 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
14 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
19 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
131 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
24 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
77 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
44 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
40 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?
5
votes
1answer
29 views

How to disable Alt-Arrow switching of Virtual Consoles?

The following happens on different Linuces: When I'm in a virtual console, hold Alt and press ← or →, the virtual ttys cycle. This is really annoying as I'm using fish-shell which also uses this key ...
1
vote
1answer
22 views

Why does chroot get ENOENT on an existing file?

;TL-DR - Answer: because the dynamic linker ld-linux-x86-64.so.2 was missing. I have mounted a squashfs (shouldn't matter) filesystem -ro,loop at /mnt/foo. It contains among other things the ...
2
votes
4answers
113 views

Number of processors in /proc/cpuinfo

While i was learning about cpu load i came to know that it depends on numbers of core. if i have 2 cores then load 2 will give 100% cpu utilization. So i tried to find out cores.( i already know that ...
0
votes
0answers
20 views

Why does Android crash when stressed on Memory where as GNU-Linux keeps running?

I have two devices, an Android phone with an eGlibC stack running side by side with Bionic, and an old HP tower with Debian. My HP tower has 512 MB of RAM. My phone has 2GB of RAM. I run top on ...
3
votes
0answers
30 views

Stop init.d from running, and go to terminal prompt

I'm running Rasbian (Debian?) on my Raspberry Pi, and have allot of auto-starting things in init.d. But what if I want to stop them all from running, and simply break into a terminal prompt? I've ...
0
votes
0answers
11 views

Can't execute server messages outputed when printing to laser 3 on openSUSE

This is my 1st post and I have a sporadic printing issue I'm needing some help with. I have 3 laser printers setup on my secure network; all ping on different IP addresses; 2 of which are printing ...
5
votes
2answers
28 views

Vocabulary trainer for Unix

I am looking for a Linux (Ubuntu) software that allows me to take note of new words that I learn online. I manually add new words, their meaning and usage. The software then displays each item in a ...
2
votes
1answer
26 views

Fetching Remote Windows System Information From Linux Server

I need a script/command that would fetch Windows System Information (Host Name,User Name, Domain, OS Info, Hardware Info, Memory Info, processor Info, etc) by running it on a Linux Server (RHEL 6.5 ...
2
votes
1answer
35 views

Changing file permissions on an HFS+ filesystem

I ran the command fdisk -l to find out what my external drive is formatted to, I found out it's uses GPT partitions and the filesystem is HFS+. When I try and create a new folder on the external ...
1
vote
1answer
37 views

Why doesn't my supervisor daemon start on reboot?

I have added a crontab entry via crontab -e for the current user: @reboot supervisord -c /etc/supervisord.conf Yet after the reboot, supervisord demon is not running. I need to run the command ...
0
votes
0answers
30 views

Creating multiple proxies on a single VPS

I am trying to create SOCKS Proxies on my Debian Linux VPS. I was just wondering what is the best way to go about doing this? I have tried things like Dante and it doesn't support multiple Proxies.
3
votes
0answers
42 views

Why is my swap not being activated automatically via fstab?

I've got a Linux embedded system that I'm experimenting with (the Elektor Embedded Linux Made Easy board, based on the GNUBLIN http://en.gnublin.org/index.php/GNUBLIN-Elektor). I'm using the 3.3 ...
0
votes
1answer
103 views

read only root filesystem

Somehow my Debian went to read only in root file system. I have no idea how this could have happened. For example when I am in /root folder and type command nano and after that press Tab to list ...
0
votes
2answers
56 views

29GB Log File on Linux Mint on a 38GB Partition

Had a low-space warning, Google'd the problem (had 1.8GB free at the time), found topics about running $ sudo du -x -d1 -h /var | sort -hr and I did: 30G /var 29G /var/log 353M /var/cache ...
0
votes
0answers
9 views

Could I disable ext4's journaling safely in BBWC?

I knew set "nobarrier" flag is safe in BBWC when using ext4,but since "nobarrier" flag couldn't ensure proper order of journal logging and data flushing,then it seems journaling is useless。So is it ...
3
votes
1answer
62 views

Is there a way to pass a variable from an awk statement to a bash function as an argument? [closed]

I am trying to look a for some specific values from (such as 1 or 4 and 2 or 3) a text file using an awk statement in a bash script. If this value is found in the file (within the awk statement), then ...
5
votes
1answer
59 views

Linux: $SSH_CONNECTION is set even without SSHing to the server

I have a remote server and I am writing a script in the server and want it to fire only when I SSH. I thought of using the $SSH_CONNECTION and $SSH_TTY for this purpose. I found out that when I have ...
4
votes
1answer
81 views

PS: what does “ps -o comm= -p $PPID” do

I have a script which does ps -o comm= -p $PPID. The explanation says this gets the parent process name. From the man page I found out -o means user defined format, comm means command and -p means ...
2
votes
2answers
178 views

Linux mint 15, synaptic can't download all repository indexes

I'm using Linux Mint 15, and started getting these errors from synaptic update manager. I did not change anything in the system, one day it just started to throw these errors. My network works OK, all ...
2
votes
0answers
14 views

how to migrate a squashfs system to another filesystem that's read/write

Well, basically what i want to do is copy all of my router's files (even the dev file (because i'm running busybox)) to my usb flash drive and let my router by default boot from the usb device. it ...
1
vote
0answers
27 views

What does the 'barrier' mount flag mean in Linux?

The manual for the 'barrier' mount option is: barrier=0 / barrier=1 This disables / enables the use of write barriers in the jbd code.barrier=0 disables, barrier=1 enables (default). ...
0
votes
0answers
11 views

sslserver using 100% cpu

I've a qmail setup with sslserver being used to secure the pop connections. Normally it runs very well, however some instances of sslserver start taking 100% cpu and its child process qmail-pop3d ...