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

1
vote
0answers
735 views

Fedora 21 won't boot anymore; Computer wants me to perform MOK management

I have Fedora 21 installed. Last time it booted, I changed Gnome theme. Then I restarted and now I get following: If I select to continue boot, computer restarts and I get this window again. If I ...
2
votes
1answer
68 views

Make a request through vpn interface

I want to be able to make request through a specific network interface, like this: ping -I eth0.1 google.be ping -I eth0.2 google.be This example works on my multihomed OpenWRT router. I now want ...
0
votes
1answer
2k views

ipmitool set idrac mode

I have a DELL server R610, on this server there is a RHEL 6.4 This server has an idrac entreprise. I would like to configure the idrac from command line, avoiding reboot. I read on the man page of ...
8
votes
2answers
339 views

How to show line numbers in vim on the right side of the buffer?

I have set nu in my .vimrc which shows line numbers on the left side of current buffer. I would like to see line numbers on the right side. How to achieve this? UPDATE: This should also work for set ...
2
votes
2answers
232 views

How to find a specific file and move it to a specific directory?

How to find a specific file, and move it to the specific directory /var/tmp? For example I want to find the file 0914_Jul-2014.gz. Remark, the file 0914_Jul-2014.gz, is under ~300 subdirectories: ...
3
votes
1answer
3k views

creating a custom service on ubuntu

I am setting up an ap called scumblr (https://github.com/Netflix/Scumblr/wiki) The final step calls for initiating the server using the following 3 commands: redis-server & ../.rbenv/shims/...
1
vote
1answer
3k views

Trouble switching from DHCP to a static IP on Kali Linux

When I installed Kali Linux 64bit, I forgot to set up a static IP address, and now DHCP determines my address with my router. I have already modified /etc/hosts and /etc/network/interfaces to declare ...
0
votes
1answer
144 views

Rename files in selected folder in Linux [duplicate]

Command for rename file as IMG0001 to 4R0001 in folder for f in *;do mv "$f" `echo "$f" | sed 's/IMG/4R/g' `; done AND I just want rename selected folder /tmp/2014/1201 (rename files) /tmp/2014/...
0
votes
1answer
150 views

Backing up Linux server to Windows domain

I'm maintaining a small Linux workstation/server in a Windows-domain-based environment. Apart from being in the same network, the Linux computer is not connected to the domain. Until now, I'm using a ...
0
votes
1answer
43 views

Make own graphical server [closed]

I had experience to work with framebuffer and found it pretty well to make own graphical applications. But the problem is that framebuffer is too slow. My goal: 1) Make a new tty which will work for ...
0
votes
1answer
344 views

How to copy a file with scp via another server

I have three machines. The local machine L, Server1 A, Server2 B. L is able to connect to A A is able to connect to B L is not able to connect to B I want to copy a file from L to B without ...
0
votes
0answers
49 views

bootable usb creator without default bootloader

I want a program (a linux command is more preferable) to create a bootable usb drive but all the programs which I have seen have a default bootloader which they install but I want the bootloader in ...
0
votes
0answers
16 views

Gzip Mutliple files using single command [duplicate]

Want to Gzip my all the .csv files into a gzip file. I am using this command. gzip *.csv; Problem File contains '//' in its name that's why command is giving error. Error : - '//File.csv' is not ...
3
votes
0answers
97 views

Replace webcam transmission with an image from the hard drive

I'm working with an Android app installed in my Arch Linux using the emulator Genymotion. This app is not mine and I have not access to the source code, I'm just working with it. In some part of the ...
1
vote
0answers
43 views

Is it safe to use the -y and -Y flags to hdparm?

Is it dangerous to use the -y or -Y flag in hdparm during a write, or when the disk is still mounted, or will hdparm refuse to spin-down, or automatically sync and unmount?
2
votes
1answer
133 views

how does hdparm calculate spin-down times?

I have been trying various options with hdparm, like setting the spin-down time to 5 minutes withhdparm -S 60 and setting the APM to 1, but I end up getting a spin-down in less than 5 seconds... How ...
1
vote
1answer
312 views

unable to open luks encrypted device (wrong password)

I'm using CentOS 7 with a luks encrypted root partition. Usually I have to type my password during boot, but sometimes the system doesn't accept it. It reacts as it was wrong, but it isn't. I did not ...
3
votes
0answers
122 views

Discover what is cached by dm-cache

I am using dm-cache successfully for quite a while now. Now I would like to know which files are being currently in the cache. I understand that dm-cache works with blocks, not files, but since there ...
0
votes
1answer
294 views

Create A Script That Responds To A Password Prompt

I'm writing a shell script that will respond to a prompt. For example, when I execute a file, the executed file will then prompt the user with this: Please enter the password: Then I want the script ...
1
vote
1answer
619 views

How to enable using commands on remote host using ssh without password?

i set up to use ssh between two hosts without password. ssh log in is working fine but execute commands failed with the below erro: **isn't allowed to be executed with process or redirect controls.**...
1
vote
2answers
207 views

Is system call the only way that a user program can intentionally affect the state of a Linux kernel?

I think there are several ways that a user program can intentionally affect the state of a Linux kernel. By invoking a system call; By invoking mmap() and writing the memory that has been mapped to ...
0
votes
2answers
435 views

Linux for use in a cyber café? [closed]

My friend owns a cyber café and is facing lot of problem with various Windows operating systems. I thought about using Linux Mint or an Ubuntu flavor for the cyber café. I've seen Linux Mint's user ...
3
votes
1answer
3k views

Can the hard drive timeout be disabled in Linux (attempting task abort)

Unfortunately, when a hard drive (usually a virtual drive) is slow, Linux aborts requests to that drive after a timeout, possibly causing data corruption. Last time this happened to me, I had 2 vms ...
1
vote
0answers
266 views

Utility to list and modify kernel modules loaded at system startup

How do I list all kernel modules loaded while system startup? Is there a user space utility to list and modify the modules loaded during system startup? I am working on RHEL6 Desktop and RHEL6 Server....
1
vote
1answer
2k views

F2FS vs ext3/ext4

We are using Beaglebone black Based custom board, we are planning to use eMMC in our board. We are in the process of checking different filesystem options, What are the different file system we can ...
8
votes
2answers
4k views

What is the difference between “inode size” and “Bytes per inode”

Below information is taken from man page,I would like to know the difference between bytes-per-inode and Inode-size? -i bytes-per-inode Specify the bytes/inode ratio. mke2fs creates an inode for ...
1
vote
3answers
6k views

Mount same disk to two linux machines - SAN/NAS

I do not know anything from storage and filesystems that's why i have created this question. I want to mount the same disk to two linux machines and both machine must be able to read/write on the ...
7
votes
1answer
300 views

Some basic questions about Linux kernel's security [closed]

I don't know much about Linux kernel, and I have some questions. What is the main purpose of separating kernel memory from user-space memory? To make sure that a user application cannot do anything ...
3
votes
2answers
2k views

Linux sloppy mount

Could anyone describe to me what sloppy mount is? There's two mount points on my server but I have no idea how to erase the sloppy one. I hope some one could explain to me the potential faults or what'...
2
votes
0answers
24 views

Error occuring resgiter the Redhat 6.4?

I'm trying to register the Redhat from RHN Registration. This report the bug There was an error while populating the profile This error shouldn't have happened. If you'd like to help us improve this ...
3
votes
2answers
1k views

Video capture device: any chance of getting raw data?

I have a HDMI capture device called Live Gamer Portable (AverMedia C875 USB - 07ca:0875), and it has drivers for Windows and Mac, but not for Linux. As it has Mac support, is it possible to access raw ...
1
vote
0answers
411 views

Xorg mouse input driver

My Xorg.0.log shows the following output: [ 14.509] (II) config/udev: Adding input device Microsoft Microsoft Basic Optical Mouse v2.0 (/dev/input/mouse0) [ 14.509] (II) No input driver ...
1
vote
1answer
109 views

Alpine: work with some e-mails

How can I setup alpine to use more than one mail address? That SMTP Server parameter in config looks like an global. Can someone help me? NOTE: At least for both e-mails on the same server. Thanks.
0
votes
0answers
376 views

How can I resolve the initramfs issue during installation of Ubuntu 14.10 with an ISO file?

My system specs are: HP Probook 4445s, Windows 7 SP1, 64-bit, 4GB RAM, AMD A8-4500 APU I want to have both Windows 7 and Ubuntu on my laptop. I am installing Ubuntu 14.10 from an ISO file. I would ...
1
vote
0answers
20 views

run a certain file (e.g. a .py) when a certain image, .wav or excel file get opened [duplicate]

Recently, me and my friend have purchased a Palm Vein Scanner. the goal was using it in a mini-project as a new door lock system. we are connecting it to a Raspberry Pi to run the software on it. ...
1
vote
1answer
69 views

Transfer speed while copying from Windows to Pi

I am using a raspberry pi with samba as remotely accessible storage in my local network. While copying files from windows to pi I am getting strange transfer speed. It jumps from 200 kB/s and less to ...
0
votes
1answer
123 views

firstboot starts Xorg with wrong command line

After installinx nx server, gnome and setting run level 5 in inittab, nx can't connect to X server, but after killing Xorg it can. Looks like I have to accept the license to get rid of firstboot, but ...
0
votes
1answer
133 views

When I boot Linux, it asks for password, pretends to proceed, but then returns to asking it again

I turned off my computer by pressing a turn off button for a long time. Then I turned it on. Usually it doesn't ask for password, but this time it did. So I tried to enter my password and it seemingly ...
1
vote
1answer
252 views

How to delete a file in QNX4 format when a CF card is mounted as read-only in Linux?

Recently, the DMA device of our lab is broken and the suspected problem is in the CF card which is in QNX4 format. I want to delete a file named 'calforce.dat' and recreate it by calibrating the ...
2
votes
1answer
471 views

Number of packets sent and received on an interface

I'm interested in creating a script which prints total number of received packets and sent packets on an interface. The output should be like: interface TX: number RX: number Can anyone help me ...
0
votes
0answers
816 views

Wireless connection keeps dropping

A little while ago I installed Ubuntu on my tower because I was getting tired of Windows; but it seems that either my internet router hates Linux, or the driver keeps choking on itself, because at ...
3
votes
2answers
229 views

Unable to change ulimit setting

I edited /etc/security/limits.conf to have root hard nofile 20000 root soft nofile 10000 And added session required pam_limits.so to /etc/pam.d/common-session and /etc/pam.d/common-session-...
0
votes
1answer
78 views

How can I modify client SSH settings?

I am logged in a system as student. How can I modify client SSH settings so that when I write the following command ssh 123.4.5.67 , SSH client authentificates me as another user?
0
votes
0answers
767 views

device descriptor read/64, error -71

I have problem with USB ports on MSI WIND laptop. I have FC17 installed and usb printer sometimes not responds. If I replug a printer in USB port - it's working. Tried to change usb cable and printer ...
1
vote
1answer
651 views

CentOS 7 Crash on boot

Getting this message attempting to boot CentOS 7 BUG: unable to handle kernel NULL pointer dereference at 000000000000009B And then a kernel panic Happens when trying to boot from the OS HDD or ...
1
vote
1answer
98 views

Is there a console command that replicates Alt+[F1..F10] to change terminal?

Hi I'm a Linux noob developing a custom embedded barebones distro. I have console access over serial to my machine. I would like to control what tty my user sees on their framebuffer. Currently the ...
1
vote
1answer
319 views

linux with KDE, disable CTRL+F9 combination key

On my linux (ubuntu) with KDE, when i press CTRL+F9 the system shows all the opened windows as miniatures, allowing me to select one by clicking on it. Unfortunately, the very same key combination is ...
0
votes
2answers
71 views

Can I install on my PC an Arch Linux installed in VirtualBox?

I was wondering if I can install Arch Linux in VirtualBox, installing there all the apps I will use, and then make an ISO to install on my PC (I mean, as host and not as guest). Is there a way to do ...
1
vote
1answer
63 views

Delay before new/modified file appears

I'm seeing two separate cases where there's a (random?) delay before a new or modified file appears. The first case is my Rails development environment: I modify a code file (in vim) and save it, ...
0
votes
2answers
572 views

How to install Linux on a system with no CD-ROM drive and no USB boot option?

I have a laptop from 2000 with a CD-ROM drive that no longer functions. BIOS offers no options to book from the USB drive. I can see no options in BIOS for booting to a network. What other method can ...