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

-2
votes
0answers
8 views

recursive diff for binary compare

diff -rq path1 path2 where path1 and path2 are directories containing non-binary files (non-binary with respect to diff) runs very slow as compared to diff -rq path1 path2 where path1 and path2 are ...
0
votes
0answers
23 views

Linux - view processes as they are being run?

I know I can use top or htop to view running processes in (near) real time, and I can use ps to print a list of all currently running processes, however what if I want to view certain processes and ...
0
votes
1answer
15 views

MDADM RAID-0 does not increased size after grow on AWS Linux with EBS

I wanted to grew a Raid0 from 2 disks to 3 (each 1TB EBS on Amazon AWS) but the size did not change thereafter. The RAID started with two disks sdc and sdd and the new one was sdf. Here is the ...
0
votes
1answer
9 views

iproute2: How do i connect one machine to the internet via another

I have the following setup: A > 169.254.8.125/16 <--(ad-hoc)--> 169.254.9.109/16 < B > 192.168.178.21/24 <--(wifi)--> 192.168.178.1/24 < AP/router > internet I want to connect A to the ...
0
votes
2answers
36 views

Change default permissions for new files and folders

Every time I create a new file or folder in Linux, it is accessible for r/w by myself, not the group. I want to change my system setting such that every new file or folder will be automatically ...
2
votes
0answers
18 views

How to boot encrypted drive

i have a laptop installed with endpoint security disk encryption. I create a live usb to boot linux, but it doesn't work. Is there a way to boot a usb thumb drive from an encrypted disk? do i need to ...
0
votes
1answer
53 views

SSD Performance testing in linux

I'm testing the performances of my new SSD card, and it seems I'm stuck with sata2 speed even if my controller is sata3. Here is the command I'm using. dd if=tempfile of=/dev/null bs=1M count=1024 ...
0
votes
0answers
19 views

Ubuntu swap not mounted half of the time

I have about 8 different ubuntu systems using different versions of ubuntu/lubuntu/kubuntu/mythbuntu/etc. Some are physical machines, some are virtual. The issue I always have is that upon booting up, ...
0
votes
2answers
55 views

Set backlight brightness on boot on a ThinkPad T440s runing on Arch

I recently bought a new Lenovo ThinkPad T440s laptop and installed Arch Linux on it. Most things worked out of the box. One minor problem, among few others, is with the backlight brightness. I can ...
0
votes
1answer
32 views

GPT damaged, two half-sized disks instead of one

I'm trying to help my father installing Gentoo instead of Windows on his new Acer Aspire S7 notebook. However, we are experiencing issues to partition the 120GB SSD disk. fdisk -l tells us we have ...
0
votes
4answers
41 views

IPtables keeps resetting rules and blocking almost everything

Every time I reset IPtables, the rules keep coming back in about 10 minutes, blocking everything besides port 22 and 80. When I do a "iptables-save", I see this I can't find out where it's coming ...
0
votes
1answer
20 views

How to manually control internal printer hardware

How can a printer's internal hardware be directly controlled via a computer (with Linux)? Perhaps some command-line utility? With "internal hardware" I mean components such as the ink cartridge motor ...
0
votes
1answer
51 views

Grub menu dosent appear. Boots directly to windows 8.1

I have been struggeling with a problem for a couple of hours. It feels like I have tried everything but nothing works. I installed linux mint 17 alongside with windows 8.1. I turned off fast boot and ...
0
votes
0answers
35 views

SSH error on linux - Permission denied, please try again

I've looked at many similar questions and none of them help. I'm trying to log in as root to my server but keep getting "Permission denied, please try again". I can log in via SSH fine on my other ...
-1
votes
1answer
35 views

Installing Linux Mint on a PC with Windows 8 and dual boot

How do I install Linux Mint 17 on the same computer that is running Windows 8 and then make it dual boot?
0
votes
0answers
11 views

Access a web server through different nodes in the local network

I have a Google App Engine instance running on my Linux PC. Now I want to send requests to that machine from other PC's that I have on the local network. When I type the host PC's local IP address and ...
0
votes
2answers
12 views

Passing multiple files with whitespace to python script

I have to convert a lot of .ai files to .svg, and I've found ai2svg tool. I've tried for i in `find ./ -type f -name \*.ai`; do python ai2svg.py "$i"; done But I get errors like IOError: [Errno ...
0
votes
0answers
12 views

Wrong modification times when saving on Samba share

I have a kvm virtual machine with Windows 8.1 with main purpose for Word/Excel and a bit of PowerPoint. Sometimes I save the virtual machine state and when turning it on again, the date and time of it ...
0
votes
1answer
17 views

Linking multiple folders into a single folder so that relative paths work. (Fedora)

I have a SVN repo that has a structure that does not line up with the needed relative build paths. The SVN repo directory looks kinda like this root alpha trunk p1 p2 p3 tag branch bravo ...
1
vote
2answers
30 views

Linux not resolving linux hostnames but does resolve windows hostnames

I have a network of computers, mainly Windows machines on a windows domain. I have 2 Linux machines, which are connected to the network and get their IP's via DHCP from the Windows 2003 server. My ...
1
vote
0answers
13 views

nfsroot freezing every once in a while presumably due to network glitch

Setup I've set up a thin client running gentoo according to these instructions. It seems to work quite nicely except that every once in a while it freezes. I've found that I can duplicate the issue ...
1
vote
0answers
37 views

need to install Windows Server over the current linux server

My company has rented a dedicated server. Usually the company I have rented from in the past installs a non registered version of Windows. I update it and install our own license. This time, it looks ...
2
votes
4answers
66 views

grep “*.JPG” not returning entries ending in .JPG

When I run this command ls -l Documents/phone_photo_vids, I get 100s of entries in the following format. Notice the endings of the images are either PNG or JPG -rw-r--r-- 1 moi staff 189280 ...
1
vote
0answers
23 views

Program to check if system has header files? [closed]

Are there any good programs (or ~/.bashrc functions) to check if a header file exists on my system?
-1
votes
2answers
40 views

Can I have a self-hosted VPN on my Linux host?

I have a account on a Linux host, is it possible to install a VPN (or opneVPN) on my server? or does it require special kinds of servers?
0
votes
1answer
38 views

Virtual Box internet connection issues

I have faced a problem and I'm already stuck. Gonna describe it soon but first some info: I'm running Win8, my VBox is 4.3.12, I'm using wireless connection. The problem I'm having is I can't use ...
1
vote
3answers
39 views

How to rename files deleting the " character using the linux shell

I have a number of files with double quotes in the filename like this: "This_is_a_long_filename_with_quotes".mp3 I try to use the linux command rename, I can erase the underscore easily using ...
0
votes
0answers
15 views

Negative Priority in Top Output

interesting problem: I have four brand new servers with 4, 16-core AMD Opteron 6300 processors that have recently been installed with RHEL 6.2 with the MRG kernel. I'm trying to optimize the servers ...
-1
votes
0answers
16 views

How does sudo decide whether a command is only executable by sudoers with ALL rights? [migrated]

I just wondered why on a Debian system with sudo installed a default user can execute ls but not ifconfig since the binaries do have the same rights: -rwxr-xr-x 1 root root 114032 Jan 26 2013 ...
1
vote
1answer
44 views

A tool for sending and receiving plain text via TCP? [closed]

For debugging purposes, I'm looking for a tool that can do the following: Connect to a TCP socket send plain text commands receive plain text answers Yes, of course telnet can do that. But my ...
0
votes
1answer
16 views

Is there a way to send a screen command to a screen session “above” my current screen?

I would like to be able to send a screen command to a screen session "above" my current screen session (which is on another server). Imagine the scenario of starting an initial screen session and from ...
1
vote
5answers
36 views

Turn comma-separate rows into 1 column

I have a list of users basically from /etc/group, Id like to basically format that line into one column, I just need the users. So if a field looks like this: bob,john,jane,sam,joyce Then I'd like ...
0
votes
1answer
36 views

mac how to run a command in a different tab/window of a terminal

In Windows, I can run any program from the command prompt by typing c:> start startup.sh and windows will run the startup.sh in a different command prompt(terminal) window. How can I do the ...
0
votes
1answer
18 views

“echo” prints the options in crontab

I'm running Rasbian 3.12.26+ on a Pi model B. Here is what my cron entry looks like: * * * * * sleep 11; { echo -en "\e[1;4;33m"; date; echo -en "\e[0m"; curl -k "http://sampleurl.com/update.php"; ...
0
votes
0answers
11 views

TTY doesn't scroll

I dpkg-reconfigured console-setup on my Linux Mint 17 install. Now when running long-output commands, such as apt-get, the tty doesn't scroll at all. If I hit enter a couple of times, I get new lines, ...
1
vote
2answers
39 views

Recompile vim with the same features

I want to recompile vim with the same features for a different linux distro. I only kept the source tar and I don't remember any of the arguments I gave ./configure the first time. What's the easiest ...
0
votes
2answers
22 views

Linux folder and file permissions

If I have a directory on which user has read permission why is it not possible to check if there is a file in that directory. For example, let's say I have folder /myfolder with permission read. That ...
0
votes
2answers
28 views

Perl not found?

I try to run a pl script in the console. It shows me this error: bash: ./vmware-install.pl /usr/bin/perl: bad interpreter: no such file or directory. What does it mean? whereis perl returns ...
0
votes
2answers
20 views

How to execute a PL file in Linux?

I have a vmware-install.pl file that I need to execute. I double click it but Linux will open it in a text editor for editing. How to execute this file? Can it be done from GUI? In file's properties ...
0
votes
0answers
17 views

remote terminal(shell) access from web browser

I want to access terminal (linux) remotely from the web browser. Is there any freeware available for that ? Which we can auto configure to set username and password.
0
votes
0answers
11 views

Automated posting of large e-mail attachments on a webpage [closed]

When willing to communicate a large file to others via e-mail, it is recommended to post it on the web and include only the link to the document. This saves storage space and bandwidth. Companies ...
0
votes
0answers
9 views

Swap [autofs] configuration files according network

I would like to setup a laptop on Linux to use two different autofs config according to the network it is plugged. I have the two working autofs files (see below) and I would like to swap ...
0
votes
0answers
16 views

Cinnamon doesn't load at launch loading LXDE instead, what is wrong here?

Hi I Found myself with this weird issue that after installing Cinnamon desktop environment on a Debian-based linux distro, with apt-get upgrade apt-get install cinnamon, at the log-in moment Even ...
0
votes
1answer
33 views

How To add a shortcut key to the terminal in LXDE?

Hi I am new to GNU/linux, I searched trought the web and saw that the most common shortcut to the terminal is CTRL + ALT + T, however this doesn't work for me. This make me came with two questions, ...
0
votes
0answers
9 views

Couldn't create partiton in my pen drive for LUN storage

I am trying to create LUN storage in my pc for some specific task in linux platform using vmware. But the command prompt says there are no free sectors available. Hence, i used my pen drive and tried ...
1
vote
0answers
37 views

In the Terminal is there a way to search for a command you previously entered? [duplicate]

In the Terminal is there a way to search for a command you previously entered? Say you typed something in just a moment ago, you can press the up arrow. But if you typed it in hours ago, or a day ...
0
votes
0answers
40 views

Script for temporarily disabling internet connection

I want to block internet connection to me for about 8 hours or so on my Linux machine. I have no will power, so simple call for ifconfig down ifconfig up or similar commands doesn't apply to me, ...
2
votes
1answer
45 views

Configuring a static IPv6 address that inherits delegated prefix

My ISP (comcast) delegates a prefix, my router is passing along the prefix delegation (pd) onto the LAN. My Debian machine is getting the prefix and appending using EUI-64 address. That's nice but not ...
0
votes
0answers
33 views

Battery charge management - lenovo

I have a Lenovo Ideapad P500 with Linux Mint installed. For some reason the battery only charges up to 59% and then it stops. I've seen similar problems solved for Windows, but not for Linux Mint. Is ...
1
vote
2answers
45 views

Match a list of users against /etc/passwd

I have a simple one-column list of users. It comes from the lastlog command. I need to be able to tell if these accounts are disabled and I do not have root access. I can only view with more and ...