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

-1
votes
0answers
10 views

Why are the file formats different?

When you go to a certain site to download an application. why can't you run the same file formats for different operating systems?
2
votes
3answers
9k views

How to use SSH Public Key with PuTTY to connect to a Linux machine

I am trying to set a public SSH key connection from a Windows 7 machine to a Red-Hat Linux machine. The ultimate purpose is to use pscp (PuTTY's version of scp) from the command terminal w/o the need ...
1
vote
0answers
4 views

Laptop shuts down by closing the lid when plugged, not goes to sleep as it should

I have installed Debian 8.0 Jessie with Gnome on my HP ProBook 430 G2. The weird problem is that when I close the lid while laptop is plugged, it shuts down and does not go to sleep as it does when ...
1
vote
1answer
11 views

How to confirm apt-get confirmation during mysql-server installation

I am trying to write bash script that will install mysql-server-5.6 I want to ask user for password and then I will use it during installation mysql-server and some other configuration. But my script ...
2
votes
1answer
157 views

SSH Gnome Terminal Background/Foreground Colors

How can I automatically change the background/foreground color of my terminal based on the host that I SSH into? My current setup is an Ubuntu desktop running Gnome-Terminal that SSHs into a set of ...
1
vote
1answer
2k views

Write file permissions for root user

I have a file called myfile that I would like to move using: sudo mv myfile deep-dark-directory/ I need to use sudo to move the file as deep-dark-directory needs root privileges to write and I ...
4
votes
2answers
2k views

setting audio balance from command line

I'd like to set audio balance from command line (linux), I'v looked at 'aumix' (and googled around) but it seems it does not have an option... can you suggest any method?
0
votes
0answers
18 views
+50

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 ...
1
vote
2answers
30 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 an being able to echo things to the terminal where I am. So, I get always the same ...
0
votes
0answers
561 views

Linux Mint 17 cannot connect to wired connection

I have just installed the latest Linux Mint after running into this problem with Ubuntu and thinking that was the culprit (Linux Mint 17, Cinnamon 64bit and Ubuntu 14.04.1 LTS were what I have been ...
0
votes
3answers
42 views

Compiling Linux kernel

I want to compile the linux kernel (for use in a floppy linux minimalistic linux distro, which I am trying to make), but how am I going to do this in order to be fitted on a 1,40 floppy disk? I have ...
10
votes
4answers
5k views

Fast window switching without Alt-Tab or Command-Tab?

Alt-Tab or Command-Tab can sometimes be slow, especially when you have many windows open and you frequently switch to only a few of those windows. How do you work around this problem -- any tool to ...
0
votes
2answers
18 views

Samba: Need guest/everyone read-only and writeable by users in group

I can't get this to work correctly. I can login as guest fine but when I enter the username and password for a user on the server, it doesn't accept it. Not even root. smb.conf [global] ...
0
votes
1answer
2k views

How to fix Ubuntu 10.10 black screen from terminal?

I'm trying to install Ubuntu Desktop 10.10 on an Intel Atom mainboard (Intel D945GCLF2) with CRT that has been running Ubuntu 9.x previously. Both, Desktop live CD / installer and alternate install CD ...
0
votes
1answer
13 views

Forwarding requests to my external IP to a different IP

When I connect to my external IP in linux, it gets forwarded to my gateway (router). But I need to run a server, so I need to be able to forward requests to my external IP to my computers ip address. ...
0
votes
0answers
13 views

Copying an SSH ID to a server from a certain computer yields an error while the same command works fine from other computers

I get the following error message when trying to copy an SSH key to a remote server: ssh-copy-id -p*** ****@****.com Pseudo-terminal will not be allocated because stdin is not a terminal. ssh: ...
1
vote
2answers
37 views

can we do the full disk encryption of a already installed Linux machine?

I need some information regarding any possibility to do full disk encryption for a already installed Linux system(e.g centOS or Ubuntu). Is there any default mechanism for FDE present in Linux like ...
3
votes
0answers
21 views

why cannot I filter traffic using TCPDUMP while sniffing on wireless interface

I've 2 wireless interfaces one has the type of AP and the other has the type monitor. the AP is attached to a bridge br-lan. When I run for example: tcpdump port 5201 -s 0 -ni wlan0 TCPdump is ...
4
votes
4answers
2k views

Need to find which drives are mirrored within RAID-10 array

I have a home media server running on openSUSE 12.2. I'm using eight 2TB drives in a RAID-10 configuration. I deliberately bought two different types of drives: four Seagate Barracuda Green and four ...
0
votes
1answer
18 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 ...
0
votes
0answers
5 views

How to run Cornelsen's “Tobi” software (for Windows) on linux, using Wine

There are a lot of resources on how to run Windows software with Wine, but this question is specifically about how to run a software called "Tobi Fibel" from the German Cornelsen Verlag on (Ubuntu) ...
0
votes
2answers
18 views

Locale on Debian 7 doesn't change

So I have tried all things that I could Google up but still locale settings aren't changed (kind of, you will see what I mean). To start off desired locale (lv_LV.UTF-8) is available on the system: ...
1
vote
1answer
27 views

What chages and adjustments to Chrome/Chromium are most effective to lower the number of writes and prolong the life of SSDs?

Ive got a corsair Force 80 SSD, an AMD APU and 4 gigs of ram as assets as well as some thumb drives I suppose.Im running Mint Linux 17.1 64 bit in this box and mostly its used to crawl the web. Lots ...
5
votes
3answers
1k views

How to configure dual boot NixOS with Mac OS X on an (U)EFI MacBook?

I could not find any description of configuring dual boot of NixOS and Mac OS X on an (U)EFI MacBook. I am willing to experiment, but i would like to know at least that what i will try is supposed to ...
8
votes
1answer
9k views

create tar with multiple directories and file locations

I have some scripts and files located in various locations like: /etc/dir1 /var/www/html /home/somedir I want to make a tar file so that it copies files and folders with the location structure. ...
2
votes
1answer
22 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
2answers
15 views

Which .bashrc file to edit

On my raspberry pi (running raspbian), I'd like to edit the .bashrc file so that various actions can be performed at every login. However, I have found two .bashrc file on the system: one is located ...
4
votes
1answer
2k views

How to unmark an NTFS cluster as bad?

How do I unmark clusters as bad in NTFS? Background I mistakenly ran >chkdsk /R on my SSD, where /R: Locates bad sectors and recovers readable information (implies /F) /F: Fixes errors ...
-3
votes
1answer
42 views

Slackware asking for “root” during the installation [on hold]

Why Slackware Linux asking for root user during the installation? while its not a Live-CD. I really don't know why...
6
votes
5answers
33k views

How can I determine if Apache is installed on a system?

I have Linux Mint on my computer but I don't know how to find out whether Apache2 is on it or where it is actually installed. I run my web browser (PHP installed) with http://localhost as a URL and it ...
1
vote
1answer
855 views

How do I disable the huge clown mouse cursor when using a QHD display?

I recently purchased a large QHD monitor for some screen real estate. Unfortunately, as soon as (I'm assuming) Cinnamon noticed the 2560x1440 resolution, it went and blew my cursor up to an annoyingly ...
1
vote
1answer
84 views

Status display after boot on Debian

I run some VM's and some of them are dedicated to several jobs. For example lets say that one machine is running samba and ftp services and another is running Apache and some database. Now what I ...
-1
votes
0answers
19 views

How secure is it to use a image of an prebuilt Operating System?

I've bought a Banana Pi (single-board computer) (with ARM-CPU) to learn more about Linux/(L)ubuntu. I read that closed-source or prebuilt Software is problematic in terms of privacy/security. I ...
0
votes
0answers
11 views

ChromeOS hack dont let me mount usb in filemanager app

Hello a Chrome Laptop(Samsung Series 3 ) comes to may hands, this are for internet but I wan´t use as child computer or office, because wifi internet is not very easy here. I in developer mode and ...
0
votes
0answers
35 views

How do I boot from a different disk?

I have a working Debian installation. It boots from /sda using GRUB2, with the root partition on sda1. Its a standard install, nothing strange. I've added a 16GB mSATA device which appears as sdc. I ...
1
vote
0answers
10 views

IPv6 global address lost after delay

I have a (gentoo linux) computer behind a home router (Fritz!Box 7360). When I initially connect it via a wired connection, it is assigned a link-local address (fe80:...), a unique local address ...
6
votes
3answers
921 views

Linux for work, virtualized Windows for games?

Hello, as a freelance developer I recently found myself severely bound by the memory limit of 32-bit operating systems, and I need to upgrade to a 64-bit system in order to continue working ...
13
votes
10answers
15k views

Linux program to create a timeline diagram?

I want to create a diagram which will show a timeline, and at certain points of the timeline I want to annotate with text and/or a diagram. Cue ASCII art... Event in March ...
0
votes
0answers
23 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
27 views

Ubuntu 15.04: suspend from console without sudo

For years I have been able to suspend my Ubuntu-based machine from regular account using dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower ...
-1
votes
0answers
18 views

Third party encryption tool for specific folder or files

I usually store some ansible permission key files which are used for local office servers. I need to use ansible online with all nodes. At the same time, I want those files available on dropbox so I ...
0
votes
1answer
28 views

How to add Windows to grub?

The following is the list that I got when I executed the command sudo fdisk -l: Disk /dev/sdc: 120.0 Gb, 120034123776 bytes Id disk: 0x975e4baf /dev/sdc1 * 2048 206847 102400 17 ...
-1
votes
1answer
13 views

Backup to offsite NAS through firewall

I want to setup offsite backup for my Windows PC. I can setup a Linux NAS in my office, connected to an intranet that is only accessible through a Linux server with SSH access (which I don't have ...
1
vote
1answer
2k views

Unable to access intel fake RAID 1 array in Fedora 14 after reboot

First I am relatively new to linux (but not to *nix). I have 4 disks assembled in the following intel ahci bios fake raid arrays: 2x320GB RAID1 - used for operating systems md126 2x1TB RAID1 - used ...
3
votes
1answer
29 views

How to fix my locale to display Unicode correctly?

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 ...
0
votes
0answers
7 views

Linux, file contents from Redis query

I want to make a linux file whose contents are the result of a Redis query. Why? I want to multi-tenant a LAMP app. The LAMP app's configuration is in a file. Rather than fiddling around with ...
2
votes
3answers
3k views

Linux, how to know the current boot disk

I've a Linux Centos (5.0) machine with 2 disks. I was changing the SATA cable to one of the disk when I realized that depending on what SATA slot I'm using, the OS starts from sda or sdb. The problem ...
239
votes
7answers
156k 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
0answers
15 views

fglrxinfo shows wrong data for graphics card

I'm trying to set up a linux partition running Ubuntu-Mate 14.04.2. I have an AMD Radeon R9 290 installed. I was able to successfully download and instal the catalyst drivers, but when I run ...
1
vote
1answer
18 views

renaming all files with similar structure to same name

I have a lot of files in subsubfolders. They all look like in.*.radiate, where * is just a number. Is there a way to rename all of them with a single command to just in.radiate? Either in linux or ...