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

sending NEDIT to background on launching

I have this problem - for opening nedit it will open in the foreground. Then either you open it using & ex- prompt> nedit & is there any way where I can open nedit directly in the ...
10
votes
3answers
518 views

How do I replace the last occurrence of a character in a string using sed?

How do I replace only the last occurrence of "-" in a string with a space using sed? For example: echo $MASTER_DISK_RELEASE swp-RedHat-Linux-OS-5.5.0.0-03 but I want to get the following output ( ...
0
votes
0answers
13 views

How to add adobe reader plugin in chrome linux

I have installed adobe acrobat reader in my linux machine(lite). How to acrobat reader to chrome. I tried in the chrome settings (extension->developer mode->load unpacked extension)but what file to ...
0
votes
0answers
9 views

Update Oracle Linux 5.5 to 5.8 with RDAC Driver

I need to update Oracle Linux 5.5 to 5.8, that's the easy part. The problem is that on the system it's mapped an IBM DS3k (DS3512) storage with RDAC. Actual configuration: OS: cat /etc/*-release ...
0
votes
0answers
17 views

How to create multi-bootable OS from USB drive in Mac OS X

While Googling and tried with some instruction from many website introduction including Youtube and also been get through this article http://apple.stackexchange.com/q/130221/116741 but still can't do ...
1
vote
0answers
15 views

FS on NFS share responding slow

We have two server ex name app1 and app2.Both server have a nfs mount from same server as below:- nfsserver:/prlocal 249G 190G 46G 81% /prlocal Now the problem is when we try to access the FS ...
0
votes
1answer
24 views

how to get list of all processes accessing a shared library [duplicate]

I know that ldd utility can list all libraries linked to a process but I want it the other way around. I want all processes linked to a library. I want to replace a shared library without crashing the ...
1
vote
0answers
28 views

How does the Linux kernel initialize console graphics?

Observation: I switch on a Linux box Boot loader displays its output on screen Boot starts with first output messages Screen goes blank, and never comes back on. Note: this is about the console, ...
0
votes
0answers
8 views

Xen ERROR Couldn't find xen kernel for Ubuntu tree

xen-4.2 running on server with multiple CentOS running guest, But when i am trying to install Ubuntu i got following error. How do i install Ubuntu on CentOS Xen Server? [root@example ~]# ...
1
vote
0answers
15 views

Replay pcap on local machine only

RHEL 6.5. I have a capture of UDP packets, generated this way: tcpdump -nnXs 0 -i eth1 udp port 26477 and dst 233.86.230.111 -w ITCH.pcap I've moved this file over to a dev VM, and want to replay ...
2
votes
2answers
47 views

How do daemons like apache or bind open ports below 1024?

I know that ports below 1024 are protected and can't be opened by a user without sufficient permission. However, I'm wondering how daemons such as bind or apache can do so, though they aren't running ...
0
votes
3answers
56 views

How to use password in shell scripting

I am writing a script which greps for for multiple files from 3 log files. One of the log file is created as superuser and every time it executes it prompts for password. How do I put it the same ...
0
votes
1answer
31 views

Restore sudo privileges

Trying to install tor-browser, I screwed up my sudo privileges when I tried to take ownership of a directory. Now I get a message: sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit ...
1
vote
0answers
6 views

ufw firewall - how to only “allow” when I am going through a proxy

I am using a proxy to navigate on internet, and I am trying to setup a firewall that will only let me connect to internet via this proxy: if I forgot to turn on the proxy, that I should not be able ...
0
votes
1answer
20 views

Explain ipaddress assignment to the virtual box?

presently my subnet ipaddress starts with 192.168.0.XXX. now my quetion is I am using virtual box in that i installed ubuntu 14.04 can i assign the ipaddress of the node with diffrent ipaddress ...
0
votes
0answers
4 views

Difference between remastersys backup & remastered disk

I am new in Linux OS. I want to take backup of my machine. Now, I am at stage of taking backup but it asks me for below options Option 1] remastersys backup Option 2] remastersys disk I ...
2
votes
1answer
23 views

Mount my mtp in my android phone on a directory?

I have installed mtp-tools on my debian7.8. mtp-files can list all my files on android phone. How can I mount all my files on android phone on the directory /tmp/myphone? root@debian:/home/debian# ...
0
votes
0answers
15 views

Fedora 20 boot issues

I've tried installing Fedora 20 (minimal install, machine is old and only has ~1GB RAM), twice now on an old computer meant to act as a home server to SSH into. Both times, I will be able to log in ...
2
votes
0answers
23 views

Trouble calling syscall by name [migrated]

I am in process of adding system calls to linux Kernel 3.19. Tried out the following for adding a syscall 'add' for x86 arch in Ubuntu 14.04 LTS. src=3.19 source Added entry to ...
1
vote
0answers
22 views

Specifically what advantages does Kali Linux have other than preinstalled packages? [on hold]

I have been using Kali Linux increasingly over the last few months. I also have an Ubuntu system, and have found that there are many similar tutorials on how to install Kali tools on Ubuntu. However, ...
0
votes
1answer
23 views

Trying to make a Universal Makefile

I'm working on my own netfilter module for the first time. According to internet documentation, The simplest module contains the following C code: //'Hello World' kernel module, logs call to ...
0
votes
1answer
24 views

After installing Linux Mint, only a terminal is showen when I boot into it

I have been using windows for as far back as I could remember and developing in virtual boxes but I have decided to install Linux Mint onto a second hard drive on my main computer. Sadly, when I boot ...
0
votes
1answer
19 views

cron: output of a script?

I've got a cronjob that looks like this 0 0 * * 7 [ $(date +\%d) -le 07 ] && /home/archiver/archiver.sh &> /home/archiver/output And it works from the cron+bash perspective in that ...
1
vote
1answer
50 views

how to choose appropriate linux hardware - poor graphics performance

I can't believe I am asking this question here myself. Apologies if this is not the right place for this question. I've been using linux since 1996, SuSE version 4.1... And yet I am still not able ...
0
votes
1answer
19 views

Why do we need a usbkbd driver when there is usbhid?

I discovered that it is the usbhid that controls my USB keyboard by default. I discovered it by doing rmmod usbhid. When I removed usbhid the usb keyboard stopped working. Note that usbkbd was not yet ...
0
votes
0answers
7 views

DHCP occasionally assigning IP address with hostapd

I am currently getting my internet from a building of mine two blocks from where I live. I usually use a wireless card to connect to the access point that has the internet..What I am trying to do is ...
0
votes
0answers
12 views

Why I am not able to login on vsftpd server using a basic client program? [on hold]

#include<stdio.h> #include<sys/types.h> #include<sys/socket.h> #include<stdlib.h> #include<arpa/inet.h> #include<unistd.h> #include<string.h> #define PORT 21 ...
0
votes
1answer
30 views

How do I run a service with numactl

I need to do something like this to run MongoDB $numactl --interleave=all /usr/bin/mongod --config /etc/mongod.conf & What should I change to be able to run the mongo daemon with the options ...
1
vote
0answers
19 views

Outgoing masquerade address changes after adding a second interface to the bridge

In fact I have the following configuration: extrouter(192.168.1.1) <- wifi -> [eth2 (192.168.1.11) Centos 6/6 based host br0 (172.22.5.254)] br0 contains two tap interfaces (tap0/172.22.5.1 ...
1
vote
0answers
7 views

can i use lirc using the i/r on my rtl2832U dongle as regular or seperate i/r port?

although this might have rtlsdr tone to it but i am on a hunt for info, tip, tricks & mods related to lirc while trying to get it (or some kind of version) to work on my linux machine. ultimately ...
1
vote
0answers
10 views

how to troubleshoot domain name before re-pointing Nameservers

suppose I have a site: awesomefootball.com hosted on a Linux server with db etc.. For testing, I know how to pull a copy to my MacBook and set up /etc/hosts file to let me test at ...
1
vote
0answers
6 views

KDE5 Digital clock widget show a different time, than the configured

I'm using KDE 5 over Arch Linux, and the digital clock widget show a different time than the configured for kde. The widget can be configured to show a different time changing the timezone for it. But ...
2
votes
1answer
60 views

Test if postfix is running

I'm searching for a reliable way to test if postfix is running from inside a bash script. My first attempt was simply trying pidof postfix, which doesn't work. Then I tried to get the postfix ...
1
vote
0answers
17 views

Libpcap share directory method missing

so im trying to run a c program but everytime i try to run it i get this message error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory ...
0
votes
0answers
11 views

CentOS install spanning 2 or more CDs

I have a custom CentOS install which used to fit on 1 CD. With recent additions, it takes up more space than can fit on 1 CD. Some of our customers have old systems that aren't DVD compatible so we ...
2
votes
0answers
45 views

Two *different* mountpoints having the *same* absolute path (bind-mount problem)

Scenario a NFS share is mounted on /mnt/temp/dir (and other shares are mounted in subdirectories), I umount everything there but supposedly, it doesn't work well (maybe I start with umount ...
0
votes
0answers
26 views

Bad resolution (max 1024x768) ElementaryOS (Ubuntu)

I installed Ubuntu (Elementary OS) a week ago and the resolution was always max 1024x768, but I want 1920x1080. I have searched in the internet for solutions, but I didn't find working ones. I tried ...
1
vote
0answers
22 views

HDD and SDD partition help

I have just got my Thinkpad T420 with an additional mSATA drive and i couldn't be more excited. My current partition layout is: HDD: /boot 256MB, /var 30GB, /opt 50GB SDD: / 15GB, /home/ 50GB, ...
1
vote
1answer
29 views

Calculating RAM/Swap Space Requirements [duplicate]

I have been developing a MySQL database that makes some use of BLObs. This has now been transferred on to a virtual machine (VM) in preparation for going fully into the 'cloud'. However some of the ...
0
votes
1answer
55 views

Did Linux have a bug where reading /dev/null would crash the system?

About 10 years ago I've been told by someone that for years Linux used to crash whenever you tried to read /dev/null (ie. cat /dev/null). Is this actually true? Did such a bug exist? And if it did, ...
0
votes
0answers
18 views

Linux user ssh connection disabled after execution of setfacl command

I have very little linux administration experience, after searching a lot stuff online, finally I decided that I must hope that someone helps. The problem is, I needed to share an account with a ...
0
votes
0answers
13 views

No cursor/caret in Linux VMC under Windows Hyper-V?

I have just installed CentOS-7, Minimal Installation, into a Hyper-V VM under Windows Server 2008 R2. When I Start the VM from Hyper-V Manager it opens a window it calls Virtual Machine Connection, ...
0
votes
0answers
15 views

Plain remote Linux desktop on my VNC Viewer?

So for some reason my VNC Viewer is not showing any desktop icons on the remote Linux. I remember it first happened after I clicked on the button "Quit this session". I am using putty as a terminal ...
1
vote
0answers
27 views

tar --occurrence= option ignored?

Using GNU tar 1.26 on Linux, I'm looking for a way to stop processing after the N-th occurrence of a file in a .tar archive. This should work: tar --file=archive.tar --list --occurrence=1 filename ...
0
votes
1answer
30 views

IPTables Firewall/Router/Gateway needing to block outbound traffic from users

I have multiple ethX interfaces. eth0 is connected to the internet. eth1 is connected to a trusted network. eth2 is connected to a network I need to impose usage rules. What I'd like to do is ...
3
votes
0answers
16 views

Linux, SVN and Dropbox — Which directory should store my svn repository?

I'm trying to set up a linux server for a small team of programmers / artists to use as a svn repository. This repository will be restricted to lan usage but will be backed up online using dropbox. ...
1
vote
0answers
13 views

Can I mount a share and enable the user_xattr mount option?

I have a ext4 drive that is mounted using defaults mount options. It is a RedHat Enterprise Linux version 6.5, 64 bits. I can call lsattr on any file on that server. I need to share that drive with 3 ...
-2
votes
1answer
28 views

What ./configure make and make install does [closed]

I would like to know exact backgounf taks that happen when you install an application from source What happens when you run ./configure What happens when you run make What happens when you run make ...
1
vote
1answer
16 views

Login using Private key on USB Dongle on SSH@linux

I'm presently using PPK file (public and private key pair) generated from putty to Login (password less) through ssh in Linux server and it is working well. I am exploring possibility in using my ...
3
votes
1answer
25 views

Set SLIP Between xenix and linux

For study purpose i want to set a slip-serial tcp connection between a new linux machine and old xenix machine wich run on VirtualBox. I've setup xenix Virtual Machine with two serial ports: one on ...