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
1answer
23 views

Basic syslog confusion

When an application logs using syslog does it mean that it stores the logs somewhere under /var/log? Or can it be elsewhere as well?
1
vote
1answer
42 views

Can I mirror lo as eth0? [closed]

Is it possible to make eth0 point to lo? I have dumb process that keeps acting as eth0 exists while it doesn't.
0
votes
1answer
51 views

Fedora doesn't boot after migration to new disk

I bought a new larger SSD and copied all data from the old SSD to the new one. On the SSD I have Ubuntu and Fedora, Ubuntu works normally after migration but Fedora boots into Emergency Mode. I have ...
1
vote
1answer
32 views

Modifying linux for different boards

There are different linux available for different boards- called "linux ports" For example a (uc)linux port for STM32F4291 Discovery kit, a linux port for Beagleboard and so on. I want to know what ...
0
votes
1answer
45 views

Authentication failure for FTP server [duplicate]

I followed this link to install ftp server. And also added ftp user(ftpuser) and also added ftp password(1234567). But when I am using this password in any wordpress site or any ftp software such as ...
1
vote
2answers
54 views

difference between “ls –alR /” and “ls –alR / &”? [duplicate]

What is the difference between "ls –alR /" and "ls –alR / &"? I seem to get the same out put. but the & sign i think should run it in background?
3
votes
1answer
70 views

USB keypad (HID) not responding in linux but in grub

An external USB keypad I'd like to use gets recognised as a USB HID device, but it is not functional when Linux is booted. It does work when plugged into a Windows desktop and it does work while in ...
3
votes
2answers
124 views

File system that never breaks (data loss acceptable)

There're several existing topics revolving around this issue, but what I seek is slightly different. I have an sd card on an embedded Linux and it suffers from power loss. I might be able to modify ...
1
vote
3answers
51 views

Mount a second ssd drive on centos - How can I figure out which is the unused drive?

I need to mount my secound ssd drive to /home2. I already created the folder /home2 - Now, how can i figure out which is the unused drive ? Is this /dev/sda or sdb ? What is the exactly thing i`ve to ...
2
votes
0answers
25 views

Opening a device node in a device driver in linux [migrated]

I am writing a device driver on Xillinux that will read and write data to an FPGA application over Xillybus. Basically I want to create device nodes such as /dev/pe1, and when I write to the nodes ...
1
vote
2answers
52 views

Disk on key is read only on every computer

I have a 16 GB SanDisk Cruzer Blade Disk-on-key. After a few days of use, it has become write-protected/read-only. When I plug it in, you can see this in my Ubuntu's dmesg: [ 819.003359] usb 2-5: ...
11
votes
4answers
1k views

How Does Linux deal with shell scripts?

For this question, let's consider a bash shell script, though this question must be applicable to all types of shell script. When someone executes a shell script, does Linux load all the script at ...
0
votes
0answers
24 views

SSH into servers each with different subdomain over one IP [duplicate]

I have several Ubuntu VMs (bridged) behind a router that I want to access remotely. I've also got an nginx reverse proxy that handles the port 80 traffic like this: sub1.example.com -> server1 via ...
0
votes
1answer
49 views

Upgrading CentOS 6.3 to 6.5

[Note: I manually moved this here from StackOverflow] I'm trying to update CentOS 6.3 to 6.5. If it matters, I'm doing this inside VBox 4.3.8, on a Mac running OSX 10.9.2. Following directions found ...
5
votes
4answers
169 views

Run a command when system is idle and when is active again

I want to run a command when the user becomes inactive (the system is idle). For example: echo "You started to be inactive." Also, when the user becomes active again (the system is not idle ...
2
votes
1answer
91 views

SSH agent forwarding, multiple hop

I tested this setup with Linux origin machine - everything is the same - only the first hop can use keys from origin machine. Initial problem I'm trying to set up SSH agent forwarding with multiple ...
0
votes
2answers
59 views

Socks5 server on Debian

I would like to setup socks proxy on my Debian VPS. I try to use squid but its to hard for me. I saw a Dante software and think about it. I would like to setup dante to work with the web browser and ...
3
votes
4answers
120 views

Work out the link count of inode number?

How can I work out the link count of an inode number? If I know the inode number is, say, 592255 - what workings out can I do to find out the link count? I know directories have a link count of at ...
1
vote
1answer
55 views

Not able to copy multiple files using rsync 3.0.9 version?

I am trying to copy two files using rsync from a machineB but somehow it always copies only one file but not the second file - Here is the syntax I am using - rsync -avz ...
0
votes
1answer
132 views

usb kernel module does not load on demand but works fine with insmod and modprobe from the shell

I have a USB Linux Kernel module that compiles and builds. Running insmod loads my module and dmseg and tail -f /var/log/debug shows me it works as expected. Running depmod -a then modprobe from the ...
2
votes
0answers
29 views

Automatically memtest and then boot

Is there some way to reboot server, so it runs memtest (say, 1 or 2 passes) and then reboots back to Linux and writes report to some log? This feature in Windows Server 2012 helped me to diagnose bad ...
1
vote
1answer
30 views

Debian7, date and time formats to Hungarian

how can I change (only) the date and time formats to Hungarian on a Debian7 (but the language I want to keep English)... I've tried to change like this: /etc/defaults/locale # File generated by ...
0
votes
0answers
15 views

rsyslogd crashes while running from board.(rsyslogd -M /lib/rsyslog option is running well)

when i tried rsyslogd without any option from my board it will give following error. rsyslog runtime error(-2066): could not load module '/home/vipul_test/lib/rsyslog/lmnet.so', dlopen: ...
1
vote
1answer
21 views

Using 'find' to email me those files modified recently

I'm using 'find' at the end of a script to email me any .log files in the current directory that have been modified in the last 6 hours. I need this because the file names change so I can't be any ...
0
votes
1answer
27 views

installation causing error

I have downloaded g2ipmsg from http://www.ipmsg.org/archive/g2ipmsg-0.9.6.tar.gz while installation this package it causing some error checking for G2IPMSG... configure: error: Package ...
3
votes
1answer
54 views

Monitoring Linux user activities and auditing them

var/log/secure provides us below information : Mar 20 08:07:07 testing sshd[29749]: Accepted password for oracle from 10.51.1.12 port 49239 ssh2 Mar 20 08:07:07 testing sshd[29749]: ...
0
votes
2answers
43 views

Running Commands on Remote Linux Server Using SSH

I am writing a Bash Script wherein I need to run some set of commands on a remote Linux server from my local computer using SSH. I want the results to be displayed on the terminal screen or dump the ...
1
vote
1answer
59 views

Monodevelop doesn't run the project. When I try to run nothing happens

I've been trying to get Monodevelop up and running for almost a week now, first on my redhat and now on my fedora. The debugger doesn't work, when trying to debug I get this error: I tried ...
-2
votes
2answers
63 views

Run command automatically after login?

Another quick question. I have installed f.lux on Ubuntu 12.04, however the program refuses to work unless I run a command xflux -l [longitude] -g [latitute] -k [temperature] So I've created an ...
1
vote
1answer
58 views

Installing Lispworks on rhel 6.5 Workstation. Error when loading application

Does anybody know what this error means and how to get Lispworks Personal edition to run on Redhat? Error: Error during GUI startup: Could not register handle for external module "-lgthread-2.0": ...
1
vote
0answers
49 views

Why is my embedded Linux unable to detect the sd device?

I have this ARM9 SAM9G25 embedded System, running a Linux 2.6.39 Kernel and a Busybox. I put the Images (of the bootloaders, and the linux+initramfs) on a SD so that in the end the system is booting ...
0
votes
0answers
23 views

C# project not building. Error says mono is not configured correctly. On a rhel 6.5 Workstation

I'm using Eclipse, and I installed the emonic plugin for C# and the .net. When it autobuilds a project I get this error: BUILD FAILED Mono 3.5 Profile (mono-3.5) is not installed, or not correctly ...
2
votes
2answers
32 views

Does time window still exist when the signal is not blocked

Many books say that a time window exists between the generation and delivery of the signal when the signal is not blocked. So I wonder whether the time window still exists when the signal is not ...
1
vote
0answers
23 views

udhcpc starting before PHY is up

I'm having a issue with my Ethernet PHY not being up before eth0 tries to get an IP address This is my etc/network/interfaces # Configure Loopback auto lo iface lo inet loopback # The primary ...
2
votes
3answers
150 views

How to use rsync or scp to efficiently copy the files from machineB and machineC to machineA?

I am running my shell script on machineA which copies the files from machineB and machineC to machineA. If the file is not there in machineB, then it should be there in machineC for sure. So I will ...
9
votes
2answers
142 views
+100

On system memory… specifically the difference between `tmpfs,` `shm,` and `hugepages…`

I've been curious lately about the various Linux kernel memory based filesystems. Note: As far as I'm concerned, the questions below should be considered more or less optional when compared with a ...
1
vote
2answers
78 views

How to find out all the files in other machines using bash shell script?

I am trying to find out which files are in machineB and which files are in machineC. And I need to run my shell script on machineA to figure out which files are in machineB and which files are in ...
6
votes
3answers
914 views

How to shutdown Linux at a specific datetime from terminal?

It seems I can shutdown using sudo shutdown by specifying a time or minutes. Is there a way to specify datetime for shutdown?
0
votes
0answers
14 views

Setting up the .Net framework in eclipse on a rhel 6.5 Workstation

Can someone please show me how to set up the .NET framework in eclipse, I have no clue where my mono framework is and what folders are which. EDIT: I followed these directions: link to website but ...
0
votes
1answer
65 views

Install C# plugin for Eclipse on rhel 6.5 Workstation

I've been trying to install a C# IDE or C# programming support on my Redhat Workstation, but no luck. I couldn't get Monodevelop running. Now I get these errors on the emonic plugin install for ...
1
vote
0answers
55 views

RHEL7 text-only installation

I want to install RHEL7 in purely text-only mode. Although I added the inst.text and inst.cmdline kernel option (since I want it to install from kickstart) it still requires more than a console as it ...
3
votes
1answer
25 views

How to determine how many bytes / hr are being written to my SD card

I have a Debian embedded Linux system that uses an SD card as the RFS. What is a reliable way to determine how many bytes / hr are being written to the SD card?
0
votes
0answers
54 views

Change the highlight color in Elementary OS

When I hover the mouse in buttons or dropdown menus, the text's color changed to white but also the background of the text changed to white and make it unreadable. Look at the image in the right click ...
0
votes
2answers
40 views

Why programs often fail to run when started by `daemon`?

I do daemon -f -i ./some_gui_program - it starts. I do daemon -i ./some_gui_program - nothing visible happens. Why I can't start GUI programs detached on Linux this way? What's the use of daemon's ...
1
vote
0answers
29 views

How to use fslint (in particular findnl) on the command line to actually mimic the behavior of the fslint-gui?

So I am trying the fslint tools. However, the help included in those tools as well as the man page don't indicate that the cleanup actions offered by the fslint-gui are also available through fslint ...
1
vote
1answer
78 views

How can I know if a network is password-protected before connecting to it?

What command can I run to determine the security of a wireless network, without needing to connect to it? I want to know if it needs a password to connect or if it's a public network without security. ...
3
votes
1answer
70 views

How to set the CPU freq. in Linux?

I'm using this ARM9 SAM9G25 embedded system, that when switched on, is only online for a few seconds and because I want to speed up the whole process, I'd like to check the CPU frequency, and set it ...
3
votes
1answer
51 views

ext4, why 70k file takes 88 blocks

[root@xx]# cat -n create_extents.sh 1 #!/bin/bash 2 3 if [ $# -ne 2 ] 4 then 5 echo "$0 [filename] [size in kb]" 6 exit 1 7 fi 8 9 ...
2
votes
2answers
96 views

GUI library or Window Manager using HTML [closed]

Ok... You want some clarity? Being a programmer this sort of question always has conditionals. Are there any DE's or (more generally) DE backends that support building (scripting) or rather modding ...
0
votes
1answer
14 views

Linux Image to recreate a machine with the same configuration

I have a CentOS 6.5 machine with some installed packages , I want three more identical boxes to be setup and I was wondering if I can make an image of the one machine that I have pre-configured and ...