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
5 views

Odd 7z Extracting Behavior

In short, I would like to use command-line 7z to extract an archive and recreate the directory structure of the archive. I know the function letter for this is "x" yet it does not seem to work for ...
0
votes
0answers
6 views

Webcam problems on Centos 6.6

I've been unable to get a few different webcams working on CentOS 6.6. (Logitech C270 & Creative Live! Cam Sync HD) I think it's related udev but unsure. The following are my /var/log/Xorg.0.log ...
0
votes
0answers
7 views

Installing CUDA toolchain in linux without botching X

I've been trying for some time to install the CUDA toolchain on my linux (Fedora 20 x64, GeForce GT 540M) system. The main issue is that the drivers that curently allow X to run ...
0
votes
1answer
11 views

swap file vs partition

I needed some more swap for something I'm doing so I set up a swap file rather than editing partitions. Are there any disadvantages to using a swap file instead of a swap partition? My OS is ...
0
votes
0answers
12 views

Iptables rules suddenly not working

I'm trying to set up a webserver using an Odroid U3; as OS I have Debian 7.4. The issue came when trying to load the iptables rules with iptables-persistent. I'm using the same file with rules I've ...
0
votes
1answer
11 views

chmod throws missing operand on 764, OK on 664

Having set everything in my project to 777 (rwxrwxrwx) for debugging purposes, I wanted to dial down the openness and set the directories (not the files) in the root folder to 664 (rw-rw-r--). To do ...
1
vote
0answers
11 views

SSD seems to be read-only, nothing can be written to it (linux ext4 filesystem)

After two week of normal use my new SSD began to work strange. Now it seems that no file is written to it. An example: root@hooker3:~# mount |grep ssdhome /dev/sda3 on /ssdhome type ext4 ...
1
vote
0answers
12 views

Gnu screen, using the exec command in .screenrc

I have added the following lines to my .screenrc bind -c music u exec amixer sset Master,0 5+ >& /dev/null bind -c music d exec amixer sset Master,0 5- >& /dev/null bind -c music t exec ...
0
votes
0answers
11 views

In programs like Xterm, Xpdf, Nedit does refer to some Library?

These software have a menu different from other apps (in my gnome system) and they look like a light weight GUI. Can anyone please tell me what is the difference between this X and Gnome's ...
0
votes
0answers
10 views

Ansible: can't del user

I'm trying del user with the same name on all my servers. I'm using ansible all -m user -a "name=tim-g state=absent remove=yes" -s After this, system ask me the sudo password, but it's no work, I ...
0
votes
0answers
6 views

Netcat server execute program and return result

I am attempting to create a minimal local listen server that takes an input request, pipes the input to a program and then returns the result of the command. What I have at the moment is the program ...
0
votes
0answers
15 views

Iptables stops the network after a while

I have 3 dedicated servers (same hardware Supermicro X8STi and same bios) with CeontOS 7 Linux 64Bit and I'm having a problem with one of them, with iptables to be precise. When I change the policy ...
2
votes
1answer
15 views

Delete .avi videos by length using Linux terminal

How can I delete videos, via terminal, by length of the video? I have a cutoff point of 30 seconds, and I want to delete anything under that. If I select by size (find . -type f -size +27818098c) it ...
0
votes
1answer
4 views

Setting ACL for group read access

Let me introduce you to margaret and pepijn, my two LDAP users. Pepijn is at the bottom of my non-existent corporation's food chain and is therefore member of only one LDAP-group: pepijn@srv:/$ ...
0
votes
0answers
8 views

Linux cannot work with file “-c” [duplicate]

I have this file created accidently I guess but cannot handle it: -rw-r--r-- 1 root root 329 Dec 11 08:59 -c :~# cat "-c" cat: invalid option -- 'c' :~# cat '-c' cat: invalid option -- 'c' :~# ...
0
votes
0answers
6 views

Correct external HDD permissions

I have just reformatted a 2T external to use the EXT4 file-system with GPT partitioning from NTFS using ms-dos. Currently the permissions for this device are 755. I think this is correct, but I am ...
0
votes
1answer
18 views

How to match one or more non-slash characters

I am given a relative path that descends n levels deep and want to produce the "reverse" path that ascends the same number of levels. I want to produce the same number of levels with or without a ...
0
votes
1answer
5 views

In a single terminal window capture the command to start a.out 3 times each running as background job

On linux terminal window is there a way i can start a program like ./a.out 3 times each running as background jobs. I was told that IO redirection is helpful.
0
votes
0answers
5 views

Serial device not detected by Lubuntu

Serial Wacom Tablet stylus and Serial Wacom Tablet eraser should appear in the xinput list in a Motion LE 1700 Tablet PC, however they are missing in Lubuntu 14 (32bit). Is there a way to make ...
0
votes
2answers
8 views

Trying to run Konsole from XMing (Windows) fails

Connecting from XMing latest running on a Windows 7 laptop to an Ubuntu 14.04 server running KDE. I get the following error: cpatti@hab: ~ $ konsole ...
0
votes
0answers
14 views

Cannot boot onto any OS after deleting Linux partition on UEFI system

Today, I decided to delete Ubuntu 14.10 from my computer. Everything was OK, I had created the USB recovery drive of Windows 8.1. After formating the Linux, I restarted. Sadly, I forgot to delete the ...
0
votes
0answers
9 views

Harddrive spinning down though time increased with hdparm

I have an external harddrive connected via USB. The usual method to set the spindown / standby time of harddrives seems to be using hdparm. So I run sudo hdparm -S 200 /dev/sdb and get /dev/sdb: ...
0
votes
0answers
16 views

Fix program freeze with ram buffer

I'm using program with small bug. It's closed - source, so i cant change it code. It's very good for what its doing, and there is no apps like that one. So i can't use other programs. But that ...
0
votes
1answer
30 views

How to prevent installation of software with known vulnerabilities in Linux?

Is there any tool for Linux which scans software during installation for known vulnerabilities (weaknesses that could later be exploited)? In addition to scanning software after it is installed, I ...
0
votes
0answers
7 views

Owncloud in subdirectoy on arch + nginx + uwsgi

After several system updates of my Arch linux server, the owncloud web interface it is hosting stopped working. Unfortunately I noticed it only recently and I can't really go back to working system ...
0
votes
0answers
13 views

Trying to create two LVM groups using Preseed

Here's the trick of what I'm trying to do. I have VMs that I'm going to use to test a product feature. Testing that product feature requires that I configure the disks in different ways. My plan is to ...
0
votes
2answers
14 views

Replace Referenced files with Symlink

I have a git repo I am working with that has files and folders that need to be symlink to files and folders inside another folder. All of the symlinks are refrenced as text in the second projects ...
1
vote
1answer
27 views

Environment variables on Linux-like systems

How to set environment variables for a user in most generic way that is independent of shell environment variables (like profile for Bourne-like shells, bahsrc, zshrc, zshenv, ..)? The idea is to set ...
0
votes
1answer
6 views

SuperMicro won't boot (won't POST) after trying to modify GRUB

I have a SuperMicro in this configuration. We installed Ubuntu 12.04 on it and I used it for over a year until finally upgrading to 14.04. I upgraded from CD choosing only default options, and the ...
0
votes
0answers
6 views

MWM hints inconsistently working / not working in i3

I've been searching for solutions to this problem on-and-off for about four months now, with no success. I think it's time I turn to StackExchange for input. I run a dualboot with Windows 8.1 and ...
0
votes
2answers
43 views

Making backups of 10 hard drives. Should I just make disk images?

I am going to be making backups of about 10 hard drives, around 4 TB of data. I will be using a USB to SATA adapter and then be transferring the data to a 4tb external USB drive. I will most likely be ...
1
vote
0answers
12 views

How to burn multiple sets or groups of MP3s with multiple drives simultaneously

I have lots of MP3s that I need to burn into multiple audio CDs. I manually select 80 minutes or less of audio at a time, using multiple sessions of k3b with multiple CD-R drives to burn ...
-1
votes
1answer
27 views

What are CPU time, user time, system time respectively?

I find someone asked a similar question, but my problem is NOT user-cpu-time, but user time vs system time vs cpu time. For example, the following info is what I got after a simulation on Linux: User ...
1
vote
1answer
30 views

Did I just send my private ssh key?

I was setting up ssh for git following this guide. I used the key before on another system successfully, expecting it to work now too I tested it with: ssh -v -T git@github.com And received the ...
0
votes
1answer
12 views

How to run logrotate as a local user?

I'm trying to manage logs which are generated by local scripts. These logs are nothing but stdout and stderr redirected to local files. I don't have root access and trying to run logrotate as a ...
1
vote
1answer
21 views

Making a juniper VPN work on linux

I've tried several tools, the original scripts (ncsvc and ncui) do not output any error message to know what wrong with connection, even with wireshark I could not know what was wrong. The best tool I ...
1
vote
1answer
13 views

MDADM RAID5 recovery, refused to add replacement disk

I dealing with a faulty raid5 setup (3x2TB disks): Number Start End Size File system Name Flags 1 1049kB 1026MB 1024MB ext3 primary 2 1026MB 6146MB ...
0
votes
0answers
22 views

Dell Chromebook 11 - impossible to set backlight and /sys/class/backlight/ empty

I have installed HugeGreenBug's Lubuntu on my Dell Chromebook 11 and everything works except for the backlight. Can't set the backlight with the keys, neither with xbacklight,xdotool or any other GUI ...
0
votes
1answer
7 views

Replace with sed a tag value under a specific section when matching a line

I would like to change a line when another line matchs under a section of a file using the sed command (or awk). Here is an exemple of the file : Extract of MyFic.txt : <PlayList> ... ...
0
votes
0answers
13 views

Installing Turcom driver on Linux installed on a Chromebook

So I recently got an HP Chromebook 14. I have Linux already installed and running. I have a Turcom drawing tablet but because my laptop does not have a CD drive, and the website provides some drivers ...
17
votes
2answers
1k views

Is there a one line command to make chmod interactive?

I am looking for something like: ls | ask_yes_no_for_each_file | chmod +x the_files_approved Or similar syntax. Also could work on other commands that you want individual confirmation for.
0
votes
2answers
37 views

Is exFAT now the best choice for an external hard drive that will be used for Windows, Mac, and Linux? [duplicate]

I'm running a Windows, Mac, Linux tripleboot off of a single SSD, and am now, unsurprisingly, in need of additional storage space in the form of an external hard drive. I want to format my hard drive ...
0
votes
0answers
14 views

Issue compiling with g++ on CentOS 6.6

I've written a very basic newbie c++ program, and I'm trying to compile it with g++. Here's the program: #include <iostream> using namespace std; int main () { cout << "This is my ...
0
votes
1answer
3 views

Azure Linux remove and add another disk

I had a need to increase the disk space, for my Linux azure, we attached a new empty disk and followed the steps here ...
-1
votes
0answers
16 views

How can I properly use “crunch” in Kali linux?

NEW UPDATE! i was able to: crunch 8 8 0123456789 -o /root/Desktop/filename.txt https://security.stackexchange.com/questions/79896/how-can-i-properly-use-crunch-in-kali-linux this is my first post so ...
0
votes
0answers
20 views

Modifying SSH Config for SFTP Connections via Proxy Server

How would I go about changing my SSH config to enable all SFTP connections from my local machine to connect through a proxy server and then connect to my destination server? This is how my SSH config ...
0
votes
1answer
14 views

Likewise open aka powerbroker open, dns error when joining domain

When joining the domain using powerbroker open on a machine which is a bind dns server, i'm running into an issue. I'm not totally sure what powerbroker is trying to do at this point exactly ...
0
votes
0answers
11 views

WLAN on OpenWRT router

I've installed OpenWRT Snapshot R43972 on a router that is not officially supported (a Swisscom Centro Grande resp. Pirelli / ADB according to the descriptions here and here. However, the PCB layout ...
1
vote
0answers
5 views

gparted - can't change owner from root after format

The last things I tried reported no errors but did nothing :( $ sudo chown -R $USER:$USER /media/johnny/DAT10 $ sudo chown -R johnny:johnny /media/johnny/DAT10
1
vote
1answer
21 views

How to add PEM file as SSH private key to “known hosts”

I have Ubuntu desktop, and I have been given a PEM file (mykey.pem) that is the SSH private key for a Linux server. I am trying to figure out where this PEM file needs to be placed locally on my ...