Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
1answer
17 views

iptables INPUT command

On a ubuntu1, this is iptables command: sudo iptables -A INPUT -p icmp -j DROP so on the other computer (xp1) I can not ping the ubuntu1.So this is OK. But On ubutnu I [[ can ]] ping xp1. and I ...
-4
votes
1answer
21 views

How Can I clear server log file to reduce memory?

I want to clear the server logs in Linux without having to restart server, so that I dont get Out of Memory issue. I heard that > filename would do that but that contents are stored to some other ...
0
votes
1answer
21 views

Can't connect to WIFI, when cloning my MAC address (Linux Mint 17)

I'm not able to connect to a WIFI using a cloned MAC address. I tried with 2 different access points, with the internal WIFI and with an external WIFI. After cloning to a valid MAC address (took from ...
0
votes
0answers
21 views

Centos6.5 can't use serial console but can see serial output messages during boot up

I configure CentOS 6.5 x86_64 version to support serial console. I edit configuration files as many people suggest. In GRUB, Add these two lines: serial --unit=0 --speed=115200 terminal --timeout=5 ...
4
votes
2answers
44 views

How to tell which services run at startup on Raspberry Pi? (raspbian)

I have some services that run on boot but I've actually forgotten how I set them up! If I want to change their activity how might I do that? For instance, maybe I want to disable a service from ...
0
votes
1answer
17 views

mdadm --examine displays something different than --detail

Who should I trust to fill my /etc/mdadm/mdadm.conf ? mdadm --examine --scan returns /dev/md/0 while obviously it's /dev/md0 that is currently rebuilding What should I put in my /etc/mdadm/mdadm.conf ...
1
vote
0answers
38 views

Mounting /dev/shm in a Gentoo chroot on Xubuntu 14.04

I'm trying to install Gentoo, and instead of using one of the bootable minimal install CDs provided by Gentoo, I'm using a chroot in Ubuntu. I'm mainly following the instructions outlined here, ...
0
votes
0answers
20 views

Howto write in chroot on Secure FTP(sftp)

As I understood, directory for chroot must have permission 755, and must be owned by root. But 755 mean that only owner(root) have acces for write to this folder. But what if I have user web, with ...
0
votes
2answers
61 views

Linux Mint and sound problems

I'm running into a no audio problem on the latest version of Linux Mint (Rebecca). I've uploaded the data to here for anyone to peruse, and hopefully find a solution to this problem: ...
0
votes
2answers
31 views

Install windows7 theme ubuntu - fails

I am trying to install a windows 7 theme on my ubuntu OS. I follow some steps steps from another site ...
0
votes
0answers
9 views

Troubles backing up some files from Linux system to FreeNAS using rsync

I'm using rsync to backup whole system over LAN to freeNAS server with this command: rsync -aAX --delete /* /mnt/backup ...
1
vote
1answer
17 views

Forcing dropbox to omit particular type of file extensions?

I use Dropbox to save my numerical work on the fly - it's very convenient since I don't have to think about saving code every time when I make a change - but there is one flaw. You see, my .cpp files, ...
-1
votes
0answers
5 views

How to root my Micromax A44 without bricking my phone? [migrated]

I am new to these root permission stuff. I want my phone to be rooted , so that i can extend my internal memory and add memory from my external card. I would like to know how to root my phone and what ...
1
vote
1answer
16 views

Get user logged into a given tty

I'm writing a bash script that disconnects idle sessions but writes to the tty a few seconds before terminating it to make sure it really is not being used. The format for write is write user [tty]. ...
0
votes
1answer
22 views

How to protect authorized_keys file?

I have setup key-based-only SSH login (and denied root login) to my Ubuntu server ls -l /home/ernest/.ssh shows this: -rw------- 1 ernest ernest 405 Dec 14 09:17 authorized_keys Is this means that ...
0
votes
1answer
31 views

What does `-n` option in sed do?

This is the man page entry for -n: -n suppress automatic printing of pattern space I notice that when not using -n for certain operations, each line is printed to stdout (and the requested ...
3
votes
2answers
25 views

Listing content of directory with absolute path is not equal to listing with relative path?

I launched Ubuntu 14.01 instance in AWS by using its API (with Python and Boto). I changed properties of the root device - 30GB instead of the default 8gb and used magnetic disk standard instead of ...
0
votes
0answers
32 views

Kali Linux rtl8187L injection and drivers

I use the kali linux version 1.0.9 remains. RTL8187L chipset with wireless adapter. this command: airodump-ng mon0 -c 11 I get the following error: fixed channel -1 mon0 aireplay-ng -0 0 -a ...
0
votes
1answer
10 views

Cannot remove package gramps

I used dpkg and apt-get to install, purge, remove gramps package different versions. It all went to situation when I cannot remove it fully and install clean. $ sudo apt-get remove gramps Reading ...
0
votes
1answer
31 views

DVD ROM keeps spining at random times

My dvd rom tries to read disk at random moments while I don't actually use it. I even disabled it in BIOS but no help. How to disable dvd rom permanently? What causes this behavior? I can't ...
0
votes
1answer
43 views

SSH to remote machine without domain name?

So I've been trying to SSH into my PC running Fedora. The problem is that I've never used SSH before, and have no clue about how to SSH into my machine. My machine's host name is redhat, and the ...
0
votes
0answers
8 views

Using gnu dd_rescue to rescue data from a failed hard disk

I'm using gnu ddrescue 1.18.1 from the SystemRescueCD Linux distribution. I started the recovery process yesterday using this tutorial: ...
1
vote
1answer
24 views

Is it possible to run Ubuntu in a virtual machine and be able to boot to it?

Say I were to install Ubuntu Linux onto a virtual machine (or the other way around, installing it to dual boot), and keep it's files on it's own partition. Is there a way the computer could also boot ...
0
votes
0answers
13 views

OpenGrok Setup for SVN Repository in Linux Server and localhost URL should be accessible through Windows Browser

I have configured OpenGrok in Windows environment with Tomcat Server and was able to index the SVN Checked-out Project. The Search really worked fine :-) Reference: ...
2
votes
2answers
199 views

Why does the 'vi' command open 'vim' editor?

I am using Ubuntu 12.04. Not that I am complaining as I like my vim and prefer its many features. However, I’m curious as to why it does it. It is not aliased in .bashrc or .bash_profile. I am not ...
-1
votes
0answers
45 views

John the Ripper: Crack ZipCrypto password

I made a password protected zip file with 7zip, using ZipCrypto algorithm. Set the password to 1234. I am using john-1.7.9-jumbo-7. I followed this manual: ...
1
vote
1answer
45 views

Functional MD complex RAID10 suddenly marks all drives as spares

This morning during a long ~1.5TB read operation sending data to an NFS client, my md complex-RAID10 array spontaneously stopped, then dropped four members for being "non-fresh" and failed to start ...
0
votes
0answers
49 views

Wine says “fixme:heap:HeapSetInformation” when trying to run command

Fedora 21 x64 (LXDE spin) wine-1.7.30 (Compholio) Under Linux Wine I'm trying to execute this command: $ wine "/home/user/.foobar2000/drive_c/Program Files/foobar2000/foobar2000.exe" ...
1
vote
1answer
40 views

Linux recursive rename files only

I am trying to recursively rename all files within a directory and subdirectories to lower-case but leaving the directory names unchanged. All examples I have found rename both files and directories ...
0
votes
1answer
14 views

Kali Linux and windows 8 issue [duplicate]

ok so I download Kali Linux to a usb stick plug it into my computer and I had to change my EFI to legacy I did everything went smoothly until I wanted to get back to windows 8 I restart my computer go ...
2
votes
1answer
29 views

How to get back hosts file after accidental deletion

I made a mistake and accidentally deleted hosts file from my system and cannot figure out how to get back my hosts (/etc/) file, when I do sudo service apache2 restart It's showing: sudo: ...
0
votes
3answers
63 views

How to do an One time install of an OS in Virtual box Using a USB

I have a USB stick with Kali Linux in it. I want to use it in VirtualBox. I am able to boot from the USB stick in a normal session but not from within VirtualBox. I need to install Kali once from ...
0
votes
1answer
36 views

How could I test a port forward attempt was successful

I have set a random port number to a private IP address that's connected to my network. This device that exists at that private ip on the network is running linux. I setup this port foward from a ...
1
vote
1answer
30 views

RDP to Windows machine via SSH tunnels breaks the connection

I am having a weird problem that I cannot understand why it happens. Basically, it is the same symptoms described by this user: ...
0
votes
0answers
16 views

Getting Razer Blackwidow macro keys on linux

I've read Getting macro keys from a Razer BlackWidow to work on Linux and the python script didn't work for me so I compiled the haskell from source. I changed my product ID in main.hs and everything ...
2
votes
1answer
49 views

How to write a systemd service that depends on a device being present?

I would like to write a systemd service that depends on USB WiFi dongle being present. It doesn't need to start when device is plugged in as long as it doesn't start when device is not plugged in. How ...
3
votes
1answer
34 views

Change UUID under Linux?

I need to create and assign a new UUID to an ordinary disk partition under Linux. What tools are available and how do I use them?
0
votes
1answer
39 views

Find UUID under Linux?

I need the UUID of a disk partition under Linux. The partition is mounted but does not show up under ls -l /dev/disk/by-uuid as can happen when duplicate UUIDs exist, for example, following ...
1
vote
2answers
28 views

How can I get socket information, from outside of a Linux process, on its socket?

I'm specifically interested in listening TCP sockets, but getting all and any socket (struct sock, as defined in Kernel's include/net/sock.h) information for a socket would be nice. For example, this ...
0
votes
1answer
13 views

Two fully functioning profiles running simultaneously

Question: Is it possible to open two different instances of Firefox, each running a separate profile, and have it so each time firefox -P <profile name> is run it will connect to the already ...
0
votes
0answers
19 views

Virtualbox Guest VM not capturing any mouse/keyboard input

Kind of a stupid question, but, I'm running a Kali Linux image from a VMWare .vmdk file inside Virtualbox, and I can't move the mouse cursor, and it doesn't appear that it's taking any input. It was ...
0
votes
0answers
23 views

Standalone EXE not running with Wine

So, I'm running a system with Lubuntu and a application that I developed on a windows PC needs to be able to run on Lubuntu. To clear a few things up, I'm having to run Lubuntu cause the system I'm ...
-1
votes
0answers
9 views

Move files from SubFolders to ParentFolder on server

The structure is: Parent\Folder1\file1......filex Parent\Folder2\file3......filex . . . Parent\FolderX\file1.....filex I have a huge amount of data in each SubFolders. I need to transfer them to ...
0
votes
0answers
11 views

Defining git commands on windows

I have a script that I use to add some functionality to git. For this particular case I cannot do it with an alias. The name of the script is git-cim. In linux if I place this script in my path and ...
2
votes
1answer
33 views

Virtualbox: Physical host doing routing between host-only networks appears to do NAT by default, which is not wanted

Configuration: Ubuntu 14.04 host Virtualbox 4.3.18 (from http://download.virtualbox.org/virtualbox/debian ) Ubuntu host functioning as a router - net.ipv4.ip_forward=1 Several host-only networks ...
0
votes
0answers
26 views

Mount SharePoint Online (Office 365) in Linux

We have started using SharePoint Online included with our Office 365 subscription. Our windows users can install software that automatically syncs the Shared Documents from SharePoint to their ...
0
votes
2answers
21 views

how to know if a device is in use in linux

I use several ways move a large size of data (commands, programs in background, nautilus) some times these programs notify me that the process end but I see the led of my devices is blinking, and I ...
1
vote
1answer
32 views

Using scp to transfer a .txt file list of files

I have 1.6 million files on server A, and only about 20k of them need to get to server B. The destination, server B, is on GoDaddy shared hosting, so I'm just about limited to scp for transferring ...
0
votes
0answers
17 views

32bit and 64bit Cygwin sshd services on the same machine

I have Windows 7 station and I would like to have two running sshd services: ssh daemon for 32bit Cygwin ssh daemon for 64bit Cygwin I installed 32bit Cygwin sshd using setup script ...
0
votes
1answer
9 views

Customized routing rule for VPN usage

I have a PC running Xubuntu. I purchased a VPS server and setup PPTP VPN with it. I'd like to achieve the following: for services like google, twitter, etc, I'd like to use the VPN connection. ...