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
1answer
35 views

Faster recovery from a disk with bad sectors

Recently I tried to dd from an unhealthy HDD to a file. I used dd if=/dev/sdb of=somefile bs=4096 conv=noerror,sync. My problem was that dd wasted a lot of time when it encountered a bad block. In my ...
0
votes
0answers
20 views

How can I access the internet connection on a windows machine via usb from a linux machine?

Suppose I have a laptop with a linux system with no internet connection, and a windows 7 pc connected to the internet. How can I use the internet connection of the pc on the laptop, connecting the ...
31
votes
3answers
3k views

Can history files be unified in bash?

I routinely run multiple screen sessions on my Linux desktops and servers. A problem with this is that when I grep through my command history, I find I issued a command in a different session, and ...
1
vote
3answers
35 views

Why I can't access to this directory after that I use the chown command?

I am not so into Linux and I have the following problem. I have installed a LAMP environment of an Ubuntu Linux system dedicated to the develop (it is on my PC and it is not a production server). So ...
2
votes
4answers
2k views

Static IP for up VPN?

To setup a VPN is it necessary to have a static IP? Also VPN is a new concept to me any help (guides) and tips for setting up a VPN Server and Client in Windows (Xp and 7) (alternatively Linux ...
0
votes
1answer
21 views

Linux: routing table - Gateway column: 0.0.0.0 vs *?

I have found SO question about What does 0.0.0.0 gateway mean in routing table? but this is not exactly what I want to know. I have noticed that in some outputs (e.g. here) of Linux route -n command ...
1
vote
1answer
402 views

How can I force Thunderbird to use my preferred text color and to ignore the text color specified in incoming messages?

I use a dark theme in Ubuntu. Everything is fine in Thunderbird except for the messages that arrive where a font color is specified ( I assume Outlook forces a color to be specified). Those messages ...
2
votes
1answer
14 views

Select default network card

I have a laptop connected to the internet via Wi-Fi. It is also connected to a private network via LAN. If the laptop is connected to both networks it doesn't have internet connection. How can I tell ...
0
votes
1answer
18 views

How to correctly set writable the /var/www/ directory of an Ubuntu Linux system?

I am a software developer so I am not so into operating system configuration details and I have the following problem. I have installed a LAMP environment of an Ubuntu Linux system dedicated to the ...
1
vote
1answer
2k views

Installing Gnome 3.12 from stable repository for OpenSUSE 13.1

I installed (upgrading) Gnome 3.12 from a stable repository for OpenSUSE 13.1, I follow this: sudo zypper ar http://download.opensuse.org/repositories/GNOME:/STABLE:/3.12/openSUSE_13.1/ GNOME sudo ...
0
votes
0answers
6 views

NullPointerException using the VisualVM launcher

I'm running Arch. I installed eclipse-java from the AUR and later installed visualvm from there too. After setting up the visualvm launcher, and creating a run configuration using it, I still get a ...
2
votes
2answers
175 views

TERM=xterm-256color vs xterm+256color

I noticed debian ships with a terminfo xterm+256color while most other distros only have (and is the default in osx) xterm-256color looking at the info on both, i can see that xterm+256color is very ...
0
votes
1answer
27 views

How do I add customer data to the end of a NSIS installer

NSIS allows you to insert data on to the back of their exe files and then allows you to be able to read that data back during installation: http://nsis.sourceforge.net/ReadCustomerData How do I ...
1
vote
0answers
17 views

Script that search for a string in the ouptput of a command

This may sound a bit complicated but I do not see any other way. I want to create a script that will check after running the command 'cli ha' to search if a certain line contains a string = 'Active' ...
1
vote
0answers
65 views

Limiting low bitrates with iw on ath9k

I am trying to prevent low (legacy, B) bitrates to associate with my AP, using ath9k and iw. I think I should run: iw wlan0 set bitrates legacy-2.4 6 9 12 18 24 36 48 54 ht-mcs-2.4 lgi-2.4 But is ...
1
vote
0answers
16 views

Stop automatic comments in my crontab

I have added the bellow cron jobs in my crontab : 0 5 * * * /bin/systemctl restart gb_subagent.service 28 13 * * * /home/comment.sh &>/tmp/errorcron.log 29 13 * * * bash ...
1
vote
3answers
27 views

Listing folders without certain file

I have a 150 subfolders. Apparently 4 of them do not have files that should be in them, named PKA.dump How can I run a command in linux to find which folders are missing the file PKA.dump?
3
votes
2answers
62 views

Linux's write command issue

I'm trying to send a message to myself through write command because I want some scripts running in the background and being able to echo things to the terminal where I am. So, I get always the same ...
-2
votes
0answers
23 views

Router firmware back to its factory default

I upgraded TP-Link TL-WR841ND v7 to dd-wrt but wireless was not working. So I switched it back to its default firmware. I tried factory default settings and firmware upgrade back to its default ...
3
votes
0answers
33 views

FTP with TLS doesn't work, nor can I change port in pure-ftpd

I have been having problems with my ftp server that I have tried fixing for over a week now. My configuration: I am running Raspbian on a Raspberry Pi. My ftp server is pure-ftpd, and I'm running ...
0
votes
0answers
15 views

How do i remotely connect to linux box bu tunneling via windows machine

i have a windows machines which serves as jumpb box where it has access to other network behind the firewall and i can do RDP from my laptop(windows) to this windwos machine (JB) Now i need to ...
3
votes
1answer
33 views

How to fix my locale to display Unicode correctly in irssi?

I've just arrived in my new lab and japan and the server I can use has only Japanese locales. A call to locale -a returns C POSIX ja_JP ja_JP.eucjp ja_JP.ujis ja_JP.utf8 japanese japanese.euc So I ...
240
votes
7answers
157k views

How to chmod 755 all directories but no file (recursively)?

How to chmod 755 all directories but no file (recursively) ? Inversely, how to chmod only files (recursively) but no directory ?
0
votes
2answers
3k views

apache wont follow symlinks | 403 permission denied

I'm using Ubuntu 14.04, and have a problem with the Apache configuration: I created a Symlink from /var/www/html torwards /home/me/myWebDirectory but localhost/myWebDirectory renders a ...
3
votes
1answer
3k views

RW mounted usb drive regarded read-only by cp

Context Can any of you help me with the following, I've got a micro sd card inserted via a usb stick into my Compaq 8510w laptop running the latest Arch Linux (x86_64) release. I have a udev rule ...
20
votes
8answers
2k views

How can I identify malware containing Chrome extensions in Linux?

I seem to have been infected by malware. Specifically, every now and then (once every few days usually) I get redirected to a page that asks me to download something, usually a "new version of Flash". ...
3
votes
2answers
607 views

What partitions do I need to install Arch Linux on my Macbook

I have a ~2006 Macbook (1,1) that I am trying to resurrect as a Linux machine. I no longer want nor need OS X, so I want to install Arch as the only OS on this machine. I have tried several times to ...
0
votes
0answers
55 views

Get Buildroot output image to target device

I have an x86 PcEngines WRAP 1.E router. It has a CF card slot (thats its hard drive) and I can communicate with it through RS232. I want to get Linux in. I chose Buildroot to do that. Everything was ...
-3
votes
0answers
23 views

Which smartphones supports most operating systems? [on hold]

The title says everything, I would like to know, which smartphone supports the most current operating systems? I am thinking about the following systems: Sailfish OS Android Custom Roms Tizen Ubuntu ...
1
vote
0answers
11 views

How to move specific icons from message tray to top panel in Gnome 3.14?

I'm using Fedora 21 with GNOME shell 3.14. I found an extension called TopIcons which works well but it moves all icons, whereas I need only specific ones. I found an instruction but it seems to be ...
0
votes
2answers
40 views

Bash scripting parted for GPT

Using Bash & Python scripts in Ubuntu 12.04, we are delivering a disk image to customers as a file (generated by dd). Once dd’d to the new disk, we resize the partition to fit the disk. Now that ...
1
vote
0answers
15 views

Live TV streaming with Tvheadend works fine on laptop, but not on home server

I have a DVB-T TV tuner USB dongle (Afatech AF9013/AF9015) which I'm using in conjunction with the latest version of Tvheadened and the latest stable build of Kodi. I ultimately want my small home ...
0
votes
0answers
8 views

Plesk 12 PHP Cache options

On my Plesk 12 vServer I've installed multiple PHP versions: PHP 5.3 PHP 5.4 PHP 5.5 PHP 5.6 I'd like to enable a cache method (APC, Redis, XCache or Memcache) for all of those PHP installations. ...
0
votes
0answers
7 views

Setup default PHP version in Plesk 12

I've just setup a Plesk 12 CentOS6 vServer. I installed some PHP-versions like 5.4, 5.5 and 5.6. The customers can change the running PHP version in the interface. All is working fine, but I have one ...
-1
votes
0answers
15 views

How to boot the GRUB rescue prompt as i am unable to format the laptop

I installed Ubuntu in my laptop. After some days i was trying to format my laptop through the recovery mode given by laptop manufacturer. I went into the recovery partition by navigating through the ...
0
votes
2answers
3k views

Linux 64bit on Virtual Box with window 7 profession 64 bit

I have HP ProBook 450 G1 Laptop with Window 7 Professional. It is Intel Core i7 and it claim it has Virtualization Technology. But I can't find it in Bios to enable it. Now I installed Oracle Virtual ...
-1
votes
1answer
8 views

Trouble with connection to irc.freenode.net via Tor

I have a trouble with connection to irc.freenode.net. I have set up Konversation IRC client according to guidelines: https://freenode.net/sasl/ https://freenode.net/irc_servers.shtml#tor Server: ...
0
votes
0answers
17 views

Set up Firefox sync programmatically

I want to set up Firefox sync from the command line. I wrote a Arch Linux install script I want to be able to set up Firefox sync as well. I am thinking I can change the profile somehow, but I am not ...
0
votes
2answers
4k views

How to find out total NIC cards and total available physical ports in linux

I need to find out how many total physical ports my server has, and how many of them are in use and how many free. Can you kindly help how to find it: This is what i find from dmidecode output: ...
-3
votes
1answer
44 views

How to make a program start a first start up of the day? [on hold]

Is there a way to make a program start when I log in, but only in first session. If I shut down and restart again in the same day, that program won't auto start. I am asking in both Windows and Linux. ...
0
votes
0answers
14 views

Sugar on a Stick Installation on white Macbook 2009: Don't

This is more a psa than a question. If you know better where to post, please let me know. I have been trying to install sugar (not) on a stick on the main drive of my daughters white macbook, 2009. ...
0
votes
1answer
41 views

grub-update and “/usr/sbin/grub-probe: error: unknown filesystem”

I've got a Debian 7 Wheezy (stable release) and my GRUB suddenly refuses to see one of my partitions. It is an OS X HFS+ partition on the GPT disk. This behavior was introduced in the month or so and ...
0
votes
0answers
106 views

trouble using autofs with ntfs-3g

I try to mount a ntfs disk with a autofs rule. here is the slave file: # cat /etc/autofs/auto.windows # automount second disk which contains windows data /windows ...
0
votes
0answers
9 views

Use IPTables FORWARD for NFS

I have this topology [R1] -> [F1] -> [Server] I need to pass ssh, web and nfs traffic through F1 to Server using iptables. It's quite easy with ssh and web but I'm stuck with nfs. I have set static ...
0
votes
1answer
7 views

Kali Linux KDE login issue

I have installed a Login theme(Caledonian) in Kde. But after rebooting there is no text field to enter username. Only a Password field, but when I enter password, it says Invalid. I tried Console ...
3
votes
3answers
1k views

How do I isolate a Windows Virtual Machine in Virtualbox running in Ubuntu

I have searched and searched but not found a way to do this. The answers I found said to get a second nic and dedicate that to the windows guest. My host is linux mint 16. I see how to specify a ...
0
votes
1answer
18 views

Using second keyboard for for special characters [duplicate]

I currently having an unused keyboard (a HP's KBRF1921 to be exact). I always need to type some Greek characters such as αβɣ and latin character as abc. It'd be great if I could use one for latin ...
1
vote
0answers
22 views

Force a Linux kernel module to be compiled as a module instead of built-in

I have the sources of the kernel of an embedded Linux box (specifically a QNAP NAS) which is running a 64-bit v3.12.6 Linux kernel, together with the kernel config files. What I'm trying to do is ...
0
votes
1answer
19 views

Increase size of a vdi fixed disk, used for a virtualized ubuntu server

I have a fixed vdi disk in an ubuntu server (it's a virtual machine, i'm using virtualbox for handle this from my ubuntu desktop so). I installed a lot of things, and the disk is full (i wasn't pretty ...
0
votes
1answer
12 views

Can't shrink or move linux partition “leftward” in gparted

I have a partition that is completely full, and there is no unallocated space on either side of it to "expand into". So want to shrink one adjacent partition, maybe "scoot" the data over on the ...