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

use `mv` command and my file gone [on hold]

i want to move myfile.tar.gz to folder My command is mkdir backup mv myfile.tar.gz /backup arrrgh, and the file gone in /backup directory not exist, try using find command not shown how to ...
0
votes
0answers
10 views

Help filtering logs - auditd

System: RHEL release 6.3 (santiago) Issue: Once I start the audit service I'm starting to get thousands of logs in /var/log/audit/audit.log Most of the logs received are of - sshd Log sample: ...
0
votes
0answers
5 views

Why is traffic matching the public zone instead of the desired zone

Trying to self-train on firewalld I set up apache and configured the zones as follow: My expected result is that traffic from the hypervisor would match the "work" zone and since http isn't allowed ...
0
votes
1answer
14 views

Helping to find power consumers in Cinnamon

I would like to identify what draws power in Cinnamon aka what eats the cpu and causes the context switches. It is not about finding out what draws power overall in my machine. Any good tips how to ...
2
votes
0answers
24 views

Random file showing up in various directories. How to trace its creator?

I am finding a 0 byte file named ^- (that is a caret and a dash) in various directories on my file system. I use zsh with oh-my-zsh and I am pretty sure something in there is creating it but I really ...
0
votes
0answers
17 views

Why doesn't Red Hat detect hard drive on HP BL460C Gen 8?

EDIT: The server I am using is HP BL460C Gen 8 having real hardware RAID. I am trying to install Red Hat Enterprise x86_64 bit on an HP ProLiant (iLO 4) server with an Array of 2 hard drives ...
0
votes
0answers
34 views

Get first day of the month

I need to get the first day of the month in this format "%y%m%d" or 150301 I can get the current day in this format: date +"%y%m%d" But the first day of the month is a lot trickier. Any thoughts? ...
-1
votes
0answers
5 views

Samba DC - account is saved only with temponary file [on hold]

I have problem with Samba AD. When I log in to account on Windows computer, account will not be saved. smb.conf: [global] workgroup = miegl server string = Home server netbios name = ...
0
votes
0answers
12 views

Executing Minecraft Server Commands via SSH and Screen

I'm extremely new to linux, so please help me out if you can! I have read many of the posts about managing/monitoring servers using SSH and Screen, but have not found anything regarding my particular ...
1
vote
0answers
6 views

Red Hat Enterprise Linux 6.5 remounts root filesystem read-only after hibernating

I have a Lenovo ThinkPad T430 running Red Hat Enterprise Linux 6.5, kernel 2.6.32-431.30.1.el6.x86_64, and my filesystem structure consists of a master LUKS partition holding two logical volumes, one ...
0
votes
0answers
8 views

Installing Slax 7.0.09

Halo,folks.How do i install Slax 7.0.9 on the same hard drive as my Windows XP.Isit possible.I already have partitioned the hard drive to ext.4 for linux using gparted.The hard drive also has a ...
0
votes
0answers
11 views

Ubuntu Linux 14.04 on Parallels Desktop 10, Mac OS X 10.10.2: Parallels and/or Ubuntu update broke Terminal (no command-line prompt) [on hold]

Apologies if reposts are not welcome; I just asked this question on "Ask Ubuntu" and was advised to post it here. I'm not clear on whether the problem is with Ubuntu or if it is more general, as I ...
-1
votes
1answer
34 views

How to copy authorized_keys to another user on linux? [duplicate]

I can ssh into a Linux node on the cloud with root. I've created another user, web, and I want to add my ssh keys to that user. Here's what I've tried so far (as root): mkdir -p /home/web/.ssh cp ...
1
vote
0answers
13 views

Mount USB stick without partitions using udev rules

I need to have udev mount a USB device that has raw data, which appears like /dev/sdc, but in the same time if another stick has partitions I only need to have folders mounted only for those ...
3
votes
3answers
43 views

Modifying binary during execution

I often come across the situation when developing, where I am running a binary file, say a.out in the background as it does some lengthy job. While it's doing that, I make changes to the C code which ...
2
votes
4answers
56 views

Why does Linux use an Initial Ram Disk at boot?

I was wondering : What's the goal of using an initrd in the first part of the boot process and then use pivot_root to put the root on the real disk ? Why not only use what's on the disk ?
1
vote
0answers
8 views

Standard convention installation folder for GitEye on Linux and how to start it

I couldn't find an answer for this here already (maybe didn't know the right keywords to search for...) - my apologies if this kind of question have already been asked. What about be a "good ...
1
vote
0answers
25 views

How to install custom plugin on Google Ghrome Ubuntu 14.04

I have a problem while trying to install rutoken plugin for Google Chrome v. 40.0.2214.115 (64-bit) on Ubuntu 14.04. That's what I try: Download plugin from ...
0
votes
0answers
9 views

Learning about interface between Network and Running Daemons (PHP,MySQL) - for scaling

I am a PHP/MySQL/jQuery programmer and coder, not a hardware guy. My new job involves scaling a LAMP server. This is a question of "what are the terms I should even be searching for" as I need to ...
0
votes
0answers
9 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 ...
9
votes
3answers
404 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
9 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
6 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 ...
1
vote
0answers
13 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
22 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
26 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
7 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
12 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
44 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
50 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
29 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
19 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
22 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
13 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
20 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
23 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
46 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
24 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
18 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
5 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 ...