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
0answers
121 views

Ethernet port on Linux machine not recognizing ethernet connection with embedded device

I have an atmel at91sam7x256 microcontroller that I would like to use for a TCP/IP communication. The very first step of my project is to be able to "ping" my board given its IP address. I have its IP ...
0
votes
1answer
252 views

Restrict user to given directory

I wish to allow Bob to only access files in directory /var/www/main/open via sftp. I've edited /etc/ssh/sshd_config, and changed Subsystem sftp /usr/libexec/openssh/sftp-server to Subsystem sftp ...
3
votes
1answer
172 views

Why does my .bashrc get read when I run noninteractive commands over ssh

I've prepended each of my bash config files (~/.bashrc,~/.bash_profile,~/.profile) with echo NAME_OF_FILE, i.e. I get '.bashrc' when I source in ~/.bashrc. What baffles me is why I get and ...
3
votes
1answer
1k views

Ubuntu localhost: Not found

I have updated my Ubuntu 13.10 to 14.04, so I have a newer version now. But I spotted that after the update I experience a 404 error while trying to access my http://localhost/ After a complete ...
1
vote
3answers
57 views

Execute script when process reaches 6 hours of lifetime

I wonder if it's possible to execute a perl script when a process with a given PID file reaches a total of 6 hours of lifetime? Can this be done through crontab or similar? The perl script I want to ...
0
votes
2answers
635 views

Delete empty column from csv file with bash script

Looking for some way to look at a csv file and delete columns including the header that have no values in the subsequent lines that follow. Perhaps if I wanted to delete column Test03 from below ...
0
votes
6answers
109 views

Installing linux on windows 7

I am currently having Windows 7 on my system. As I am planning to learn Linux thought of installing it. But I don't want to have it as dual boot. Instead I want to use it when I am on windows 7 as a ...
0
votes
1answer
46 views

Mount new partition over top of live data

On my server, I have a tiny root partition that is now full up. I removed the swap from the hard drive that has the root partition, and moved the swap onto a RAID 0 partition. I now want to use the ...
1
vote
1answer
155 views

Can't find clogin command for rancid

I'm new to CentOS and setting up Rancid (only used rancid, but new set it up). I've having an issue were I type clogin as my rancid user, however i get command not found ...
1
vote
1answer
24 views

Can I have one piece of a flash drive dedicated to just files whereas the other piece is a bootable file system?

I'm putting my 16 GB flashdrive to the max. This is how I currently have it set up: +---------------------------------------+ | Partition | File System | Mount | ...
1
vote
0answers
55 views

How to safely back up a sparsebundle that is exported via afpd?

I have several OSX client machines that back up via TimeMachine to AFP shares on an Ubuntu Linux server, exported by netatalk/afpd. These clients back up at arbitrary times of the day, every day. ...
1
vote
1answer
82 views

When installing linux how does the root file system get created in disk?

I understand the Linux boot process fairly well. But the first time installation is pretty vague to me. How does the root file system (/etc, /bin, /sbin etc.) get created in the disk with the ...
1
vote
1answer
81 views

GPU glitches? Crashing both Linux Mint & Windows 7

My GPU is apparently dying on me. Yesterday it caused a BSOD on Windows and crashed MDM on Linux Mint. It caused a few strange graphical glitches before crashing on both operating systems. Today, i ...
1
vote
1answer
29 views

How can I restrict a bash find to only specific sub-sub-directories

I'm trying to list all the files in a specific sub-directory but different directories which are themselves on a different volume. The following works, but only on a fully specific sub-directory (and ...
1
vote
1answer
68 views

Delete all files older than a specific file name?

I want to be able to look for the most recent file ending in .backup, and delete ALL files that are older than that file (but of course keep newer files). Here is an example of a directory listing ...
3
votes
0answers
1k views

'user is not in the sudoers file' but actually is

I have already read a lot of posts about enabling sudo-access for a specific user but those couldn't help me so far. The situation is: I'm running Debian Testing. On the system there are only two ...
0
votes
1answer
124 views

nslcd failing to come up in Lubuntu 14.04 Desktop

After installing Kerberos and LDAP via instructions from Ubuntu's Single Sign On instructions, modified a mite to fit my setup, I could manually sudo service nslcd start and then call getent passwd to ...
1
vote
1answer
44 views

Execute dynamic command into all screen sessions

I am working on setting up a minecraft server network in ubuntu server 14.04 LTS. I have several screen sessions each with their own process running in them There are screens on: 2471.LobbyServer ...
0
votes
0answers
620 views

iptables: Allowing multicast & other traffic on LAN, not to WAN

I have a Linux 3.10 machine functioning as a NAT router between the wlan0 LAN and the eth0 WAN. I would like to allow all communication between machines on the LAN (they are trustworthy) and allow ...
1
vote
3answers
211 views

How can I restore my /bin/bash file?

I am facing a problem with my terminal (Ubuntu 12.04 LTS) . I was making some changes in the /bin/bash , but I have kept a backup of bash.rc in case of something went wrong. Anyway today I have tried ...
0
votes
1answer
249 views

I upgraded Xuntubu 12.10 to 14.10 Utopic Daily build BY Mistake

I accidentally added a line of source for Utopic to sources.list. And later my system can't get into GUI. While trying to fix the problem I accidentally typed in command sudo apt-get update and sudo ...
0
votes
0answers
121 views

Fedora / Vagrant Firewall Issue: Unable to Connect to HTTPd / MySQLd / Webmin

Yesterday, I migrated from Ubuntu to Fedora 20, and after some fiddling with NFS and iptables I was able to get my vagrant instance (CentOS 6.5) to boot, mount the NFS share, and was able to access ...
0
votes
1answer
73 views

iptables eth0 wlan0 bridge not working

I am trying to allow an embedded system to share the wireless of my laptop. The embedded system is an A20 Olinuxino Micro running Debian and my Laptop has Ubuntu 12.04. I tried this which has worked ...
1
vote
1answer
31 views

Transparently proxifying certain devices on the network

I'm using my computer as wireless access point and router to my home network using hostapd under Ubuntu 14.04. I want to transparently proxify certain wifi devices in the network (identified by their ...
1
vote
1answer
90 views

Require password for installing Windows applications on Admin account

I am trying to emulate some of the security I've noticed on Linux onto my Windows 8 machine. I really like that on my Ubuntu install, any time that I change anything potentially harmful (install ...
25
votes
3answers
2k views

What's all those users in the /etc/passwd file?

The /etc/passwd is supposed to have a line for every user on the system. Amongst the common username and root there is a bunch of other users. Some examples: timidity:x:114:127:TiMidity++ MIDI ...
0
votes
0answers
3k views

How to change resolution of CentOS 6.5 Resolution on virtualbox (Host: Win7)

So I'm trying to configure the resolution of my CentOS 6.5 virtualbox. Here are the steps I have taken: Installed guest additions Changed virtualbox preferences > Display > Maximum Guest Screen Size: ...
1
vote
1answer
282 views

Simplest way to verify if a given string is a valid FQDN name?

I need to supply either '-name' or '-sname' when starting an Erlang VM depending on whether the given string is a fully qualified name (FQDN) or not. What would be the quickest and ...
0
votes
3answers
3k views

Check if a DHCP server existing in my network using bash

using CentOS with static IP, Is there any way to determinate if a DHCP server running on the network using bash ?
0
votes
1answer
82 views

Enlarged partition, filesystem still reports old size

I resized the root partition with GParted, from 20 GB to 40 GB, but the filesystem still reports a size of 20 GB. How can I use all 40 GB? Update The resized partition was an LVM Physical Volume ...
0
votes
1answer
631 views

Windows (7 or 8) does not detect SSD during installation, Linux does

Since a few days I'm trying to install Windows (tried 7 and 8) on a new SSD (Crucial M550). However, the disk is not listed in the target device selection, nor is it listet when using diskpart -> list ...
0
votes
1answer
125 views

ZFS on linux: switch partition to whole disk

There is a ZFS pool with raidz1 in it. The pool is created on top of three 2TB drives using the whole disk and a 2TB partition on a 3TB drive. What is the recommended process to reconfigure the pool ...
0
votes
0answers
112 views

Mount Error (mount: page allocation failure. order:5, mode:0x40d0)

I am trying to mount mtd block on temporary file system(part of RAM). Some times mount command fails and below error comes in dmesg logs. Command: mount -t jffs2 /dev/mtdblock7 /temp/configuration/ ...
1
vote
1answer
27 views

Putty XForwarding open file in same instance

I have to use Eclipse ( or some other gui editor ) over putty using XForwarding with xming to remotely edit some files. The problem I'm facing is that sometimes I have an instance of eclipse open ...
0
votes
3answers
92 views

Is it a good plan to use a desktop tower as a server than purchase an actual tower server?

I have a Dell PowerEdge SC430 which is now 8 years old. I want to replace this server with a new one, but it was suggested to me so get a Desktop tower with the same specs because it's going to be ...
0
votes
1answer
113 views

How to share ppp0 to wlan0 with redsocks

I can't understand the meaning of this: I have a USB modem along with a USB Wifi router, and I use redsocks for ppp0. Then I want to forward the incoming connection from Wifi to redsocks. I have ...
0
votes
1answer
75 views

Fedora 20 Post-Upgrade: /boot Partition is Almost Full

I just recently upgraded one of my boxes from F18 to F20 which went very smooth (using fedup). However, now my /boot partition is almost full: /dev/sda2 477M 436M 12M 98% /boot ...
0
votes
1answer
115 views

USB key boots, but post-BIOS text-mode menu loops back to itself rather than booting OS

I'm trying to get a Linux Mint Debian Edition 16 USB key booting. On a Win7 machine, using linuxmint-201403-mate-dvd-64bit.iso (or 32-bit, they both do this), I used LiLi and forced it to use the ...
0
votes
0answers
118 views

Fedora Boot Loader not verified?

I just installed fedora 20 on my sister's HP laptop from a live USB. I told it to take all of the hard drive. It gives me two options from grub: Fedora, with Linux 3.11.10-301.fc20.x86_64 Fedora, ...
0
votes
2answers
244 views

Installing openssl on CentOS 5.3

I am trying building apache with mod_ssl and I am running into issues becuase my OpenSSL version is less than 0.9.8a. I tried updating but yum says I have the latest version ( 0.9.8e-27.el5_10.1, ...
0
votes
2answers
61 views

Move files from one server directly to another server without writing to PC disk

Forgive me if I word this Poorly. I'm working with a Linux desktop and several ESXi hosts. Lets name my desktop Desk-1 and the ESXi hosts ESXi-1 and ESXi-2 for simplicity's sake. I'd like to move ...
1
vote
0answers
65 views

Compatibility issues between Empathy and GTalk

Are these IM clients compatible with Google Talk in terms of audio and video calls? I am asking this particular question due to problems arose upon initiating a video call from the Empathy client to ...
0
votes
2answers
54 views

How to `rm` files in current directory and directories inside current directory

I would like to rm all files that end in ~ in both my current directory and all directories inside my current directory. I was under the impression that the flag -r or -R would do this; however, the ...
0
votes
0answers
27 views

How can I use zgrep to take a file with IPs and recursively search another path, then take matching lines and correlate them into a single txt file?

How can I use zgrep to take a file with IPs and recursively search another path, then take matching lines and correlate them into a single text file? The command I have been using to find a single IP ...
1
vote
0answers
28 views

Is there a way to make a desktop session recording using RHEL/CentOS 6 Base or Extras packages only?

I have access only to the Base and Extras packages and am trying to make a screencast on CentOS 6.5. All of the packages that I have used in the past (istanbul, recordmydesktop) are unavailable to ...
0
votes
2answers
56 views

How to increase disk space in linux

I searched but can’t find a simple solution and easy to implement. I have a VM with two disks, one with 50Gb and other with 20Gb, and I need to increase 10Gb in the disk of 50GB so that you have ...
0
votes
3answers
57 views

Running Windows install on real HW through Linux VirtualBox Host

Assume a box with both Linux and Windows installed on real hardware. Is there any way of booting the Linux and starting the Windows system via VirtualBox or some other virtualization framework from ...
2
votes
1answer
63 views

find -regex not recognizing \d digit

I have a directory structure that looks like the following: processor0/10 processor0/10.1 processor0/10.2 processor1/10 processor1/10.1 processor1/10.2 ...etc... processor7/10 processor7/10.1 ...
0
votes
0answers
33 views

providing a windows share to linux machines in a multiuser environment

I have a file server running Windows Server 2012. The files should be accessible from several Linux machines, some of them forming a cluster. Users must be mapped correctly (all logins are done via ...
1
vote
1answer
57 views

Create folder with special characters in truecrypt on fedora 20

I have a problem to create folders and files containing special characters (eg é, è , ù , ç .... ) Volume: Volume Type : Normal Size: 10M Encryption : AES Hash : RIPEMD -160 File System : FAT I ride ...