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
4answers
479 views

Focus on application when changing workspaces in awesome-wm

I am using archlinux in combination with awesome-wm for quite a while now. I still haven't figured out how to automatically grab the focus on an application when changing workspace through Mod+number. ...
1
vote
1answer
56 views

What does the “w” in “yum install -y php56w” stand for?

Following instruction on this page I installed PHP using command: yum install -y php56w My question is: what does the 'w' stand for in php56w?
0
votes
0answers
33 views

To which extent will bitlocker affect my boot chain

My laptop has the following setup: uefi (no secure boot) gpt ssd custom bootmanager (refind, similar to grub) leading to windows 8.1 (via windows bootloader) and a varying linux distro (via grub) ...
1
vote
2answers
163 views

SSH to a host with known but non-static (variable) IP

Is it possible to have ssh or .ssh/config use a dynamic IP address that is stored in a file? I have a remote machine with dynamic DNS that puts its current IP in a file in a shared dropbox. I'd ...
0
votes
0answers
6 views

Can PHP sockets and HTTP requests be logged?

I would like to be able to log outgoing HTTP requests from PHP scripts with the time and PHP script location and line. It occurs to me that since you apparently can open sockets in PHP, you would also ...
0
votes
1answer
25 views

zip extractor reading archives from stdin

As follows from UNZIP(1L) man page Archives read from standard input are not yet supported Are there another CLI programs running under Linux/cygwin which can extract from zip archives reading ...
0
votes
1answer
3k views

Not able to mount/install vmware tools

I'm using the vmware player 6. I installed Mint 15 Olivia (MATE 64bit), everything is fine...except that I cannot install vmware tools. When I start the vm and click im vmware menu: ...
0
votes
1answer
28 views

Hide HDD from Windows but not Linux

I have a PC with multiple HDD's, one HDD has Windows, one HDD has Linux, the rest are storage drives. I want to only be able to access certain drives from certain OS's, is there any way to do this? ...
2
votes
2answers
58 views

Making a script executable

I am trying to execute a program (Usearch or samtools) by just typing the name of the program (e.g. usearch [options]) from anywhere. I am running Ubuntu. Instructions say to "add the binary to your ...
0
votes
1answer
10 views

Encrypted folder mounted by a cron job, won't keeps mounted

I have an A.sh script that queries a server; retrieves the mount password and mount the Private folder in the client. Then I have a Init.sh script that first check the internet connection status and ...
2
votes
1answer
17 views

CentOS - Trying to backup/restore a MySQL database?

My CentOS 6 server got a server issue, so customer support took a backup of my server and reinstalled it. The backup is in a folder called /home/42406. I'm trying to find my MySQL database called ...
0
votes
4answers
3k views

Single application through OpenVPN tunnel (Debian Lenny)

I'm using Debian Lenny and I want to tunnel rtorrent only through a OpenVPN tunnel. I have a tunnel running, the config file looks like this: client dev tun proto udp remote openvpn.xxx.com 1194 ...
-1
votes
1answer
20 views

One-size-fits-all package manager for ubuntu? [on hold]

I’m a mac user and I was thinking about switching to Ubuntu since Apple is becoming a little to expensive for me. One of the first things I couldn’t live without is a good package manager. Now, brew ...
0
votes
1answer
50 views

suse linux installatation on HP Gen9 server

I am unable to install SUSE Enterprise Server 11.0 with sp3 on HP gen9 server. It's unable to recognize the storage. The raid controller is p440ar. It had tried installing with HP ProLiant Gen9 ...
0
votes
0answers
20 views

awesome WM pulse audio daemon not starting without headphones

EDIT to this question: (Made at top since post is quite long) I seem to have this problem even with the default rc.lua script. The only difference is whether I use awesomeWM or not. Volume in ...
0
votes
1answer
12 views

Can't open folders in Fedora KDE Plasma 5

I installed Fedora a few months ago, I've been using Gnome with it and wanted to use KDE Plasma 5, I tried it live first by downloading the custom Fedora ISO which contains KDE instead of Gnome. I ...
-1
votes
0answers
36 views

Using motherboard splash screen during Linux boot

Windows 8.1 with UEFI uses the motherboard manufacturer's splash screen while booting. This results in a feeling of extra smooth boot process. How can I get this behavior with under a Linux system? ...
0
votes
0answers
16 views

Can't access host-only network when on two interfaces

I'm trying to use a host-only connection with my VirtualBox VM. My VM is set up and can ping the host (192.168.56.101) on vboxnet0. If I disconnect the host from my local network (internet access) I ...
0
votes
0answers
12 views

Unable to enable libvpx library in ffmpeg from command line

This is my first question I have asked on superuser, so please be patient with my ignorance if it should surface. I have spent hours and hours trying to figure this one out and would greatly ...
31
votes
3answers
27k views

How do I get out my embedded Windows 8 key from a Linux environment?

I have seen other SuperUser questions on this topic: How to find Windows 8 product key? | How to find Windows 8 OEM product key? However, all of the answers assume you have Windows 8 running. I've ...
0
votes
1answer
42 views

Do you know any OS independend centralized backup solution?

I'm currently looking for a new backup solution for my home network. That's my IT infrastructure: - HomeServer with OpenMediaVault on Debian - 1 Arch Linux Client - 3 Windows Clients (7/8/10) - 1 ...
1
vote
1answer
23 views

How to configure macvtap to let it pass multicast packet correctly?

I'm trying to create VMs which can see each other and host. They are hosted with qemu/kvm and managed via libvirt. The network adapter of VMs is created with macvtap(VEPA mode) for performance. After ...
-1
votes
0answers
13 views

Applications do not detect file changes

For some time now (I think since I upgraded to my Linux Mint Debian Edition (LMDE) to LMDE 2) several applications that watch directories for changes, no longer respond to such changes as they should, ...
0
votes
2answers
35 views

How to store formed command line without running it in bash or terminal?

For example, I have formed a long complicated command that will improve the world and lower an entropy in the Universe. But then (huh!) I see that I forgot to make a dir required. I want to store my ...
137
votes
7answers
190k views

How to get the summarized sizes of folders and their subfolders?

Let's say I want to get the size of each folder of a linux file system. When I use ls -la I don't really get the summarized size of the folders. If I use df I get the size of each mounted file system ...
3
votes
1answer
246 views

When piped with ls, grep in solaris is not working

I am using the below command in solaris ls -l | grep '*PROC*' But it is not working. I have many files that contain "PROC" in their name like "XREF_PROC.complete" but when I use the above command ...
0
votes
0answers
9 views

Why is my <HOME> key generating ~ characters in a remote sessions?

I get the feeling this is yet another problem due to the weirdness and vagaries of Linux keyboard mapping. Anyway locally my key works as expected inside a terminal based emacs however when I shell ...
13
votes
3answers
10k views

linux merge folders: rsync?

I have two copies of a folder src/ dest/ I want to merge them, doing the following: If a file is only in src, I want it to be moved to dest If a file is only in dest, I want it ignored IE left ...
0
votes
0answers
4 views

XML Canonicalize and diff

I've found lot about c14n for diffing xmls, but it doesn't work like I've expected. I can use xmllint --c14n or xmlstarlet c14n, but results for (I hope) same XMLs differs a lot - One XML looks like ...
0
votes
0answers
19 views

bashrc file read error in xterm

My bashrc files is read but is not interpreted correctly. qwul@qwul-ThinkPad-L440:~$ cat .bashrc #PS1='\[\e[1;32m\]\][\W]\$\[\[\e[0m\]\]\] ' alias la="ls -a" #alias ll="ls -l" ...
1
vote
1answer
66 views

How to manualy spawn a client in a specific tag in Awesome?

I already have automatic tag assignation for clients using rules, but sometimes I need to spawn a client in a specific tag. For example, I usualy want my browser (dwb) in tag 2 using the following ...
42
votes
7answers
62k views

How to list folders using bash commands?

Is there any way to list just the folders in a directory using bash commands? ( as the ls command lists all the files and folders )
2
votes
1answer
33 views

What's the difference between dd and cat for writing image files?

When writing image files to disk or to a USB stick, the instructions usually use dd, like this: dd if=myimage.img of=/dev/sdb How is this different from, say: cat myimage.img > /dev/sdb I ...
1
vote
1answer
6 views

Linux unattached chroot or directory?

Would it be possible to chroot or otherwise create an unlinked(in the main root file system) directory? From what I understand, the kernel automatically deletes any file/folder that has no link in the ...
0
votes
2answers
3k views

Creating a USB stick for installing centos 6.x using DVD1 and DVD2 iso files

First, we create 2 partitions on the USB stick that is let's say 16GB. first partition is let's say only 1GB and the second partition is the rest of what is available. after we "w" write the ...
0
votes
1answer
10 views

date/time setting does not work after unplugging power adapter or sudden power cut in linux

For some reason, I want to configure the date/time in my Linux (CentOS 6.5) to be different from the REAL date/time, but the setting won't work if I turn my computer(desktop not laptop if this ...
0
votes
1answer
14 views

scp files between hosts using ssh local port forwarding

I have a problem about transferring files between hosts. Lab environment is like: My host <-> Host A <-> Host B I only have access to Host A and I want to transfer files to Host B. Host A has ...
1
vote
1answer
12 views

xrandr would not detect my second monitor

I am using linux, have 2 monitors and 1 laptop (3 screens in total) in my setup. xrandr detect 2 displays (laptop + 1 ext monitor) and I get the same output on both external monitors. $ xrandr ...
1
vote
2answers
207 views

Failed to modify entry for user in samba with tdb backend

I have a debian server with samba. I can no longer manage users accounts. I can't add, modify or remove them. This is Debian wheezy with samba 3.6.6. There is no ldap and the database backend is tdb. ...
1
vote
2answers
36 views

how to mount beyond /dev/sda15 when using a GPT disk with lots of partitions

I have a GPT disk with about 20 partitions. They're on /dev/sda how can I mount each of these at the same time? as I understand /dev/sda is limited at /dev/sda15 this feels weird - being able ...
2
votes
1answer
35 views

How do I determine the PID of my python program if there is more then one python program running?

I have two python programs running on my system, say they are called program x and program y. I want to get the pid of program y, but not x for my bash script. When using pgrep python, I get the pid ...
0
votes
2answers
36 views

used chmod wrongly to mess up copy rights. How to correct

I ran a chmod command like chmod 644 dir/* It seems to have worked for files in this directory, but files in all other sub-directories are now in some limbo state. ls -l dir/sub-dir shows: ...
2
votes
3answers
5k views

SFTP ChRoot result in broken pipe

I have a website that I want to add some restricted access to a sub-folder. For this, I've decided to use CHROOT with SFTP (I mostly followed this link : ...
0
votes
1answer
26 views

bash error when starting shell from tmux

When I open a new shell in tmux I get an error message. This error message does not show up when I start a new shell in GNOME terminal. What might tmux be running at startup that I need to check? ...
4
votes
1answer
3k views

How solve permission problems for docker in ubuntu?

I have installed docker as described here. I use Ubuntu Trusty 14.04 (LTS) (64-bit). Everything during installation was well. Also command $ sudo docker run -i -t ubuntu /bin/bash completes well ...
0
votes
1answer
2k views

FTP Not Connected - Can't input user credentials

I'm trying to download a file from a Linux server via FTP from Windows command line. I've successfully downloaded the file with FileZilla (same server, same file), but I want to do it in cmd.exe. ...
0
votes
2answers
25 views

Extracting files from windows to linux on a same partition

First Hello. I'm having a little stupid issue that comes to me when i installed Fedora 20 on my laptop. Before installing the Fedora i had Windows 7 on my C: partition. The laptop is with 700 GB ...
0
votes
1answer
11 views

Embedded Linux board with NFS boot and SSH

We have a BeagleBone Black-based embedded Linux board. It has eMMC and I have setup for NFS boot also. When I am booting the board from eMMC, I am able to connect board through SSH but when I am ...
0
votes
0answers
20 views

Capturing TS video stream gives Invalid timestamps and Invalid DTS error messages

I'm capturing a video stream using ffmpeg -i "http://streaming_url.com/playlist.m3u8" -acodec copy -vcodec copy -absf aac_adtstoasc "out_put_file.mp4". The m3u8-file links a list of .ts-files. ffmpeg ...
0
votes
0answers
11 views

Vagrant: Mounting folder using NFS version 4 in arch linux

I am trying to mount an NFS folder using Vagrant 1.7.2 in Arch Linux. Currently the mount is working by forcing it to use nfs version 3: gemini_dcr.vm.synced_folder '/scr', '/folder', type:'nfs', ...