These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

0
votes
0answers
4 views

How to use puppet to format a partition with a file system

With a filesystem such as ext4 or xfs. But how can we make sure it doesn't do it again and again on each run. I want it to do just on the First Run
-3
votes
0answers
19 views

Oracle VM only gives me a local IP address (127.0.0.1)

I am seriously struggling with this. My Oracle VM does not allow me any other IP address except the local one, 127.0.0.1. How can I get a proper IP address as well?
0
votes
0answers
22 views

Send command to open process in Shell file

In bash how can I issue a command to a running process I just started? For example; # Start Bluez gatttool then Connect to bluetooth device gatttool -b $MAC -I connect # send 'connect' to the ...
0
votes
0answers
12 views

Suspicious traffic in nethogs on fresh install

Earlier today google said that unusual traffic was emanating from my computer and gave me a captcha. I got curious and installed nethogs. Everything appears normal except for an unknown program ...
0
votes
4answers
2k views

Installed Linux, now Windows doesn't boot anymore

I had a working Windows 8.1 which I used regularly. Today I needed Linux, so I chose Ubuntu and installed it from a bootable flash drive alongside Windows. Everything worked well, I could choose which ...
-2
votes
0answers
22 views

Modifing RM & LS

I am new in Linux, is there a way to do the following: Modifying RM command so that a file in a specific folder are not deleted (means making deception) Then Modified LS in such a way that it doesn't ...
1
vote
1answer
17 views

Why does `hostname.local` resolution fail

I have a number of Linux machines, all with avahi running and a few Macs, all on the same local network. I often use ssh between pairs of machines, using hostname.local as the address. Most times ...
1
vote
1answer
61 views

What to do if the owner of /usr/bin/* changes to a non-root?

It would be the right thing to say that I messed up! Accidentally, I changed the owner of all files in /usr/bin to 'dev' from 'root'. Now, sudo does not work! If I use sudo with any command, I get - ...
1
vote
1answer
14 views

Best NFS scenario to both read and write at certain times?

The problem that I'm facing is that I have an NFS NAS that I use to store and export a home directory, media files like music, movies, etc. The critical things are backed up, so spare the comments ...
1
vote
1answer
15 views

Restoring file system using tar causes login loop

Note: I am doing this to learn more about linux. I understand there are other tools that can be used with simple interfaces. Note: I am using Fedora 23. I have it installed physically on an SSD and ...
0
votes
0answers
124 views

KVM network packet loss to guest

I am running a server with Debian 8.3, uname output Linux x 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux I am using KVM to run a virtual machine with CentOS ...
7
votes
3answers
847 views

Font getting reset in virtual console on GNU/Linux

I have set a custom font on my virtual console (vt1) using the following command: shell> setfont ter-114f If I switch to X (using Ctrl+Alt+F7) and come back to the virtual console (using ...
1
vote
6answers
820 views

I can not install MySQL using yum on Centos7

I've installed centos7 recently, but, when I am trying to install MySQL using the command: yum install mysql-community-server I keep getting Exiting on user cancel while I am not hitting any ...
2
votes
3answers
24k views

Linux, how to change HDD state from ReadOnly after temporarly crash?

At this time no ansver for this problem. Usually after some problems with readings or writings to block device, kernel decides to switch flag for WHOLE DEVICE as read-only. After this any writings to ...
2
votes
1answer
25 views

Forwarding X-windows through a su - session

I'm trying to forward my X windows, but seems to be limited to just on session? What I'm trying to do is invoke x-applications as another user, through a sudo su -. If I know the other user's ...
2
votes
0answers
22 views

How do Linux kernel modules get enabled in a Linux distro's kernel package?

Although I know how to recompile my kernel to enable a module I want, I'm curious to know how the default Linux kernel modules are chosen in a Linux distribution's kernel package. Taking a comparison ...
15
votes
5answers
14k views

How to recover a shell after a disconnection

Am doing some work on a remote CentOS 5.6 machine and my network keeps dropping. Is there a way that I can recover my hung sessions after I reconnect? EDIT: am doing some updating and installing with ...
0
votes
0answers
9 views

Automount USB sticks on fedora 22

I need to automount any USB stick that gets connect to any USB port. I am running Fedora 22. I thought this would be straightforward but it is taking a while for me to set up. The tutorial I find when ...
3
votes
4answers
816 views

Active Directory Domain with SAMBA or Other Tool

Can I create a domain using SAMBA and set up Active Directory with SAMBA on it? And by this I mean no windows servers involved. I would also like to be able to log in from a Windows machine. ...
0
votes
0answers
8 views

Strange PFN read from pagemap

I m trying to find the physical page to which a range of virtual addresses are mapped in a piece of C code that I ve written. I m using the /proc/self/pagemap to read the mapping. I ve used the code ...
1
vote
1answer
896 views

D3100 Dell docking station

So I got my Fedora 22 as I finally decided to switch from Fedora 20 ( been using it forever, found it kinda hard to detach ) The problem is that I bought my new docking station for multiple monitors ...
4
votes
2answers
315 views

How do I print the (numerical) ASCII values of each character in a file?

How can I print the numerical ASCII values of each character in a text file. Like cat, but showing the ASCII values only... (hex or decimal is fine). Example output for a file containing the word ...
2
votes
1answer
46 views

Switch off 11-minute kernel mode

If ntpd works, then the kernel copies system time to hardware clock every 11 minutes. It is shown by command adjtimex --print I want to stop the kernel eleven mode. If I run hwclock ...
1
vote
1answer
27 views

how do I add a second ipv6 address on Linux without making it default

I would like to add an extra IPv6 address so I can run a service on it but I want to retain the existing IPv6 address as the address to use for outgoing connections. When I add an ipv4 address with ...
45
votes
3answers
16k views

What is the difference between procfs and sysfs?

What is the difference between procfs and sysfs? Why are they made as file systems? As I understand it, proc is just something to store the immediate info regarding the processes running in the ...
0
votes
1answer
318 views

Tmux: <Crtl>-b doesn't work

Every time I start tmux and then press Ctrl+b, the terminal prints ^B. I am using Windows to connect to Raspberry Pi. I have tried Putty and Bitvise. EDIT: finally I found a imperfect solution. # ...
0
votes
1answer
12 views

Install compat-libstdc++-33.i686 on Red Hat Enterprise Linux Server release 6.5 (Santiago)

I need to install compat-libstdc++-33.i686 on a Red Hat Enterprise Linux Server release 6.5 (Santiago) without a Red Hat Network Subscription. Is there some where that I can download the required .rpm ...
2
votes
1answer
24 views

Two nfs exports from different servers mounted on the same mount point

Recently found these lines on my test server: <some IPV4>:/zebra on /zebra type nfs ...
1
vote
2answers
758 views

bash scripting : using expect

I am facing an issue when I run simply these commands. The remote server want to pass "yes" to add the key in RSA file because first time connection established with scp. commands are given below ...
0
votes
0answers
7 views

Left-clicks not working for any device in openSUSE Tumbleweed

Okay, so I really am at wit's end here. I had this problem where my left click stopped working randomly. It had happened once before, but I thought it was a non-issue, as the problem manifested when I ...
1
vote
2answers
30 views

Using DD Disk Image on Red Hat

How can I use dd command on a Linux Red Hat Server 5 to obtain a disk image and then use it eventually in Virtual Box?
0
votes
1answer
30 views

FFMpeg : Creating a video clip of approx. 10 seconds when video duration is unknown without audio-

I am working on a project where I am looking to extract a video clip from an input video. I have found many links(Eg : link) which do this task, but in all this I have to specify video duration. ...
2
votes
1answer
831 views

azap from LinuxTV dvb-apps strange signal behavior with Hauppauge WinTV-HVR 950Q

What I want to do I have a Hauppauge WinTV-HVR 950Q USB-TV-Stick. I want to use this stick to successively tune to and read in a certain live TV stream. What I do I trigger a scan and save the scan ...
2
votes
1answer
4k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
2
votes
2answers
58 views

Script execution failed

I have created a script to capture the heap and thread dump of a running java process. #! /bin/bash myhost=$(uname) if [ "${myhost}" == "SunOS" ]; then ...
1
vote
1answer
34 views

Shell Font Over SSH

I have a Linux machine (CentOS 7) in which I frequently SSH into from multiple devices. I have installed ZSH and Oh-my-zsh on the remote machine. I would like to install the following theme: ...
2
votes
1answer
19 views

Unable to edit the /sys/block/sdX/device/queue_depth file

I'm trying to increase my SSD's queue depth value with the following command: echo 64 > /sys/block/sda/device/queue_depth But I receive the following error: bash: echo: write error: Invalid ...
0
votes
0answers
22 views

linux + start script under /etc/init.d dependencies with other services

from some reason the script UPMnT.sh not start at boot I cheeked everything: chkconfig is ok links are ok but I worry about maybe there are dependencies between other script to this script can ...
-1
votes
0answers
20 views

What is the difference between “make defconfig” and “make alldefconfig”?

When configuring a linux kernel there are different ways to use a "default" config: defconfig - New config with default from ARCH supplied defconfig alldefconfig - New config with all ...
1
vote
1answer
19 views

Libraries and linux Kernel 2.6

Which command i can use to see what my current installed software libraries use from the Kernel 2.6? I want to know this so I can check if it would work fine in case I upgraded my Kernel to 3.1.
1
vote
0answers
28 views

Static CDC ACM device binding

I'm using a buildroot linux on IMX6 board. I have 2 CDC ACM device, a reader and a modem. My modem have always been on /dev/ttyACM0 and I want it to stay that way. The problem is that my reader is ...
1
vote
1answer
3k views

Dual-boot Ubuntu cannot access the Windows drive that it was installed on with wubi

I had Windows with two drives C: and D:. In the drive C:, I have my Windows. In the drive D:, I had my all other files and data. I installed Ubuntu in the drive D:, without deleting any data from it. ...
1
vote
1answer
39 views

Why are given file sizes slightly different between Windows and Linux?

I have just transferred (via scp) a bunch of .gz files from a Windows machine to my Linux machine. They are large files so I checked they had transferred entirely by comparing file sizes. Those that I ...
1
vote
1answer
86 views

LFTP exclude file extensions

I am trying to mirror directories with lftp but I don't want to download filetypes that are notoriously large like .mp4 and .swf. But I am having trouble with the regex - and seeming like the ...
3
votes
2answers
156 views

Why doesn't iptables receive the marked packet?

I was learning the ping command options. In that I found the -m option to set the mark for a packet. The below command sends the packet with marking of 10 to the 192.168.2.65. ping -m 10 ...
1
vote
1answer
22 views

insmod: cannot insert './intrpt.ko': Function not implemented

I'm writing a kernel module that receives interrupts for mpc8308 (PowerPC) board. when I make the code for Ubuntu and my current version of kernel it works well with interrupt of keyboard, but when I ...
0
votes
1answer
1k views

What does “4m[terminated]” mean after restarting CentOS?

After installing CentOS 7 and restart it, it always promptd "4m[terminated]". After googling, I can't find the meaning of this phrase. What does this prompt mean? Will it affect normal OS functions?
1
vote
0answers
18 views

How to customise the output format for linux log when view log in terminal?

when I run this monitor command $ sudo tail -f /var/log/ufw.log | cat -n 1 May 23 03:04:25 Vultr-Ubuntu14-Tokyo kernel: [51809.671147] [UFW BLOCK] IN=eth0 OUT= ...
11
votes
5answers
25k views

org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] while running eclipse on ubuntu

I was trying to open eclipse in my ubuntu VM with the below commmand.. And as soon as I do that, I always get the below exception - ubuntu@username-dyn-vm1-48493:~$ eclipse Eclipse: An error has ...
0
votes
1answer
2k views

How to execute Netscaler commands through a remote machine via SSH connection

I have been trying to execute some NetScaler commands like "bind" & "unbind" through a Linux Box via an SSH Connection. Now the Problem is, Manually we are able to enter & execute commands on ...