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

Manually executing a CRON - Confused about params

I have this code snippet: $CUSER=tim $APPDIR=/var/www/testing $APPVENV=/var/www/testing/ven cat > $APPDIR/cronfile << EOF PWD=$APPDIR/$CUSER PATH=$APPVENV/bin:\$PATH 0 2 * * * testapp search ...
2
votes
1answer
30 views

Capture console output from existing process(es) to file [duplicate]

We have a requirement to troubleshoot an existing system running Busybox, we have Telnet access. It would be helpful to log the system's console output (ideally the last n lines of it) to a file for ...
0
votes
0answers
12 views

Trouble booting with Gnome

I have an HP Pavillion g6 Notebook PC that came pre-installed with Windows 8. I didn't particularly like it and ended up installing the latest version of Gnome on it instead. Since then, whenever I ...
2
votes
1answer
154 views

Kali Linux can't see my windows partitions!

I'm trying to install Kali Linux alongside with my Windows 8.1 using live USB , but I can't because Kali is unable to see my partitions and unallocated space in my disk which I prepared 50GB ...
0
votes
1answer
21 views

Centos, how to install “topicmodels” package on R?

I'm using a Linux CentOS release 6.6 on my laptop, and I've tried to install the "topicmodels" package into my R environment. So I used the install.packages("topicmodels") command but unfortunately ...
0
votes
1answer
33 views

Integrating GNU/Linux Debian on a Android device : can't create init file because there is already a folder with the same name

I'm trying to boot Debian on my nexus 10 where I have installed android 4.4+cyanogenmod. This is the tutorial that I'm reading: http://whiteboard.ping.se/Android/Debian I'm freezed where he says : ...
0
votes
0answers
13 views

how to keep the spaces when inserting line to parameter [duplicate]

When I want to see for example the line number 2 , from the CSV file I get the following line example1 LINE_NUM=2 # sed -n "${LINE_NUM}p" file.csv cwdfwefwe,"aaaaa ","\dsw\dawd\aw ...
0
votes
1answer
30 views

fetchmail doesn't get mail from provider

somehow can't get fetchmail to work properly... it wont get email from provider but it connects to properly # Configuration created Tue Feb 10 10:18:32 2015 by fetchmailconf 1.52 $Revision: 4636 $ ...
3
votes
2answers
155 views

Run crontab only if condition

I have a bash script that emails me whenever a web server is not responding, and the script is ran by cron every 5 minutes. However, if the website goes down for a few hours, I'd receive too many ...
1
vote
2answers
13 views

Using a non-standard location for avahi services

I want to use avahi on a system with a read-only rootfs where /etc is not writable. I can start avahi-daemon with the -f option to specify a non-standard location for the avahi-daemon.conf file ...
0
votes
0answers
27 views

tar causes USB disconnects & reconnects

I'm experiencing a very weird behavior on a device running Linux 2.6.24.6. The device has an SD-Card and USB-ports. If I plug a USB Stick/HDD into a USB port and run the following: tar -cf test.tar ...
2
votes
1answer
34 views

bashrc behaviour differs when opening a session or opening a terminal

I'm using RHEL 6.6. I got a problem configuring my .bashrc file. I have a sudo su - dummy followed by an exit in it. When I open a terminal, the current user is changes to dummy. If I type exit, I go ...
-1
votes
2answers
58 views

How to prevent the messages about REMOTE HOST IDENTIFICATION HAS CHANGED

Is it possible to prevent the following message about: ( REMOTE HOST IDENTIFICATION HAS CHANGED ) When using only this connection syntax ssh xxx.xxx.xxx.xxx example of warning message: ssh ...
-1
votes
2answers
55 views

Win7 file sharing VM latency

I am using mount/umount commands with a Win VM on a KVM Linux host. I have a script that continuously loops: sleep 1 sec mount read guest file unmount When I change a Win7 file (say, a text file ...
0
votes
0answers
21 views

DirectFB does not write to /dev/fb0, embedded device

I am developing a Linux based port for a custom board based off the Atmel at91sam9261-ek demo board. Processor core is arm926ej-s LCD (board customization) is VGA, 640x480, 24 bit packed true color. ...
0
votes
1answer
28 views

Why does transmission adds a new user to the system?

When I installed transmission, I've seen here that I need to change the ownership of some groups to able this to work with my raspberry pi. First of all: why does transmission adds a new user to the ...
0
votes
1answer
65 views

How to open the SSH port 22? [closed]

I have installed the ssh utility on an embedded system but I can't connect to it. I am able to ssh from the device to another computer on the network but not the other way around. The only port ...
0
votes
1answer
47 views

Extracted files to /usr, system seems broken now

I've extracted a tar file with sudo to / which contained the following file structure: Since then I can't do anything on my server anymore, each command is either permission denied or command not ...
0
votes
1answer
64 views

How can I use a linux shell script to change directories and copy files?

There are several files I need to copy which are stored in different directories. The file names will all have two common fields that are distinctive for a particular date and time. I can usually ...
0
votes
1answer
26 views

Disconnect vpn from Linux server

I have pptpd for PPTP and openswan for L2TP installed on a Ubuntu server, which work without any problem. When a client connects to the server, a new connection is created shown as pppx in the ...
1
vote
1answer
37 views

Run Out Of Space On /dev/sda2

My Linux (Mint 13) laptop reported that 'The volume "Fiilesystem root" has only 0 bytes disk space remaining'. When I ran a 'df' I got the following result:- HP-255-G1-Notebook-PC # df Filesystem ...
0
votes
0answers
141 views

Help In Installing Kernel headers in Kali Linux

I have Kali Linux 1.0.7 on a usb persistent drive as 1.0.8 and above have problem with usb persistence. i want to use cudahashcat as i have a nvidia gt740m.I Wanted to install the drivers but for that ...
1
vote
1answer
52 views

How To Run Script In Linux At Startup

I am trying to run a script at startup, for that i added a script in Init.d and created a link using command "update-rc.d script_name defaults" But when i restart the system i got only black screen. ...
0
votes
0answers
17 views

Two servers fail to communicate with eachother

I'm hosting an Apache Archiva instance on one server and trying to publish some files from my continuous integration server to that server. However I'm getting the following error when trying to ...
0
votes
3answers
89 views

create XML file using bash script

I want create simple xml file using bash script ( not with dom ) but when I set value in the line then echo print the $lorem word and not the val lorem=LOL echo '<root><foo ...
2
votes
1answer
25 views

Linux compatibility layer for IBM AIX

Most software that runs on Linux can run on FreeBSD using an optional built-in compatibility layer. AIX is based on UNIX System V with BSD-compatible extensions. Is there a Linux compatibility layer ...
0
votes
3answers
66 views

Adding new user in Linux

I created a new user in Linux using useradd connectweb and I see the following in the /etc/passwd file connectweb:x:1002:1002::/home/connectweb:/bin/sh but when I try to navigate to the folder ...
0
votes
0answers
38 views

apache user cannot sudo while running via httpd

I have a requirement where an web application (php) must run a script on another server. I tested running the remote script as apache user by sudo-ing to the apache user via the root user. The script ...
3
votes
1answer
189 views

What's a UTS namespace?

The man page of unshare says: UTS namespace setting hostname, domainname will not affect rest of the system (CLONE_NEWUTS flag) What does UTS stand for?
0
votes
1answer
32 views

Why do I need to mount a USB flash drive if it's already in my Raspibian

I have been reading tutorials on how to configure transimission to save my downloads in USB flash drive. When I go to /media in my file manager I can see my USB flash drive and access its files. This ...
1
vote
1answer
718 views

Install NVIDIA GTX graphics driver on Linux Mint 17.1

I can't get my NVIDIA graphics card to run on Linux Mint 17.1. All I get is a black screen. I tried installing the driver with $ sudo add-apt-repository ppa:xorg-edgers/ppa $ sudo apt-get update $ ...
2
votes
1answer
27 views

Why is my network interface running at a low speed?

I recently replaced a 100Mbit switch with a gigabit one, and tested that two computers plugged directly into that switch could, indeed, share data at gigabit speeds (by the simple and obvious ...
4
votes
1answer
201 views

Why did sshd delete my /dev/zero?

When I do lsof +c 0 | grep /dev/zero, I see the following two lines: sshd 19064 root DEL REG 0,4 497862 /dev/zero sshd 19064 root DEL REG 0,4 498725 /dev/zero ...
2
votes
3answers
240 views

Why creating partitions in linux is good solution for easy recovery?

I have heard if you don't make partitins in linux it is so hard to recovery your data. And if you make some partitions it would be easy to recovery. for example if you make /par1 /part2 /part3 it is ...
1
vote
0answers
36 views

Limit transfer speed rate by Iptables Rules

I have D-Link Router DSL-2730U that support busybox OS and iptables version 1.4.0 I managed successfully to block the host for being connect to the internet using the following command block by ip ...
0
votes
1answer
45 views

Debian - ifconfig not showing wlan0

I have Debian installed on my laptop (T440s). I've installed the iwlwifi drivers but Wifi does not work. ifconfig -a only shows eth0 and lo. What should I do? Also, how do I adjust brightness?
1
vote
1answer
30 views

Java Client Connection Refused by Linux Server

I have a Java server and client, which is a simple server that prints a message when the client communicates with it. It works perfectly fine when the client and server are on the same machine. When I ...
0
votes
0answers
15 views

How to instruct RHEL6.5 Linux to save/starts states before crush or restart

I have multiple Workspaces, each responsible for different revisions of the same software. Not to have to recreate all Worspaces and open all tools/windows, I'm wondering how can I instruct Linux to ...
1
vote
0answers
8 views

How do I stop recurring error messages from appearing in messages and auditd.log?

On my CentOS linux machine, in my auditd.conf file, I have set my max_log_file_action=keep_logs. However, in my /var/log/messages and /var/log/auditd.log, the following message appears multiple times ...
0
votes
2answers
60 views

Help to read a flat file into unix and output to simplified csv like format for import into excel

I have a text file that has data written to it in the format below, its thousands of rows. The new record always begins with WHATEVER.RDNDISPLAY or WHATEVER.DSPLY_NAME. The name of the record is ...
4
votes
3answers
79 views

Bash, insert last used argument of current command

I'm aware that you can recall the last argument of the previous command with !$ and also cycle through previous arguments with ALT + . but can you recall the last argument used for the current command ...
1
vote
0answers
22 views

ping on linux vs ping on mikrotik

I have ubuntu server 14.04, with two network cards (LAN and WAN). I made a masquerate for WAN card. I have internet access from a host within the Lan of router. I do a ping to 8.8.8.8 and try to ...
1
vote
2answers
76 views

sed:can't read /usr/lib/libltdl.a:No such file or directory

I tried to install the package libgraph but while executing make it says that justin@justin-HP-Pavilion-g6-Notebook-PC ~/Downloads/libgraph-1.0.1 $ make Makefile:781: warning: overriding commands for ...
1
vote
2answers
26 views

Kernel panic if LUKS password is bad x times

Q: Is it normal if a RHEL 6.5 machine kernel panics if I type the LUKS password a few times wrong?
-1
votes
1answer
30 views

Can't connect to the server ftp.ch.debian.org

I want to update apt-get update, but I got an error. When I try to install something I get the same error. This is my network configuration:
1
vote
1answer
24 views

Change internet link when fault

Situation: 2 internet links - A and B - both connected to linux router. 2 routing tables, one with default via A, second default via B. iptables and ip rule select "best" table for specific traffic. ...
0
votes
1answer
23 views

Coordinates X237595Y81600 to X2375Y8160

I have create a gerber file and it has lines inside which look like this: X90095Y15350 X100095Y15350 X110095Y15350 X120095Y15350 X120095Y25350 X110095Y25350 X100095Y25350 X90095Y25350 X80095Y25350 ...
0
votes
1answer
49 views

What is a Binaries-based installation on Linux? [closed]

can you explain me what a Binaries-based installation is and how does it work? On linux there is the Package-based installation, the Source-Based Installations and the Binaries-based installation. ...
-1
votes
1answer
63 views

When can I say that I have a good knowledge on linux [closed]

I am new to linux operating system. I heard that linux operating systems are fast and they can be customized to as our needs. i have installed linux mint 17. I am loving it and i would like to learn ...
0
votes
0answers
37 views

FreeRadius: Authentication with active directory

I need to setup a radius server with active directory authentication, on a RHEL 6.5 server. I have been following this guide. As per the guide, I have made necessary configurations which are as ...