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
26 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
7 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
20 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
8 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
1answer
15 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
12 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
24 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
16 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
19 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
35 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
15 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
30 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
17 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
30 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
7 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
50 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
33 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
36 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
13 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
23 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
19 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
37 views

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

I have installed Lubuntu on my Dell Chromebook 11 and everything works except for the backlight. Can't set the backlight with the brightness keys, neither with xbacklight,xdotool or any other GUI ...
0
votes
1answer
10 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
15 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 ...
23
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
51 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
26 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
6 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
23 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
2answers
66 views
+100

Cyberduck Connection Fails/Timeout

How would I go about changing either my SSH config or Cyberduck configuration to enable SFTP connections from my local machine to connect through a proxy server and then connect to my destination ...
0
votes
1answer
21 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
1answer
24 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
25 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 ...
0
votes
0answers
18 views

activate a raid1 array with a single spare disk

in a linux raid1 with 2 disks, one disk (sdb) died. i replaced the disk and rebuilt the array. during the recovery also sda begins to give i/o error. the recovery reach 100% but the raid status is ...
0
votes
0answers
36 views

Protecting against VM's malicious activities [closed]

I recently got my hands on a brand new server. I decided to install a SolusVM Master on that server, and to run a few VM's using only the OpenVZ template. Everything went totally fine until i ...
0
votes
0answers
20 views

Extract and replace images form a PDF file

I'm interested in finding a way (from command line only, in Linux) to extract images from PDF files, apply some effects and then put the new images back inside the PDF file. While I found a way to ...
0
votes
1answer
18 views

Layouting a disk image and copying files into it

Before asking here, I tried to search on SU/SE and Google without success. This is the closest thing I got. Basically, I'm trying to do the following: - create a disk image of about 128MB; - create ...
0
votes
0answers
10 views

is there a way for solaris system to get every single piece of info of disks? [closed]

the project currently i am working on require me that fetch all info installed in the system, like total capacity, form factor, ssd or hdd, rotational speed, interface type, etc. i searched a lot and ...
0
votes
2answers
63 views

Make phone calls from computer through land line [duplicate]

I have an ADSL line with 20Mbit/s downstream and 1Mbit/s upstream. Is it possible to make voice phone calls in Linux/Windows 7 using my own land line? I don't want a VOIP software (like skype), nor ...
0
votes
0answers
14 views

Using H.264 pixel format on Logitech C920 on Linux

This article states that it is possible to stream H.264 directly from webcams after kernel 3.2. I have the same camera (Logitech C920) and kernel 3.16 (of Debian testing), but the pixel format does ...
1
vote
1answer
30 views

How to grant execute access to a specific set of command to one group, and another set to another group

Say there is a set of shell commands {ls, cat, kill} I want to enable users in group A to be able to execute the commands {ls, cat} And users in group B to be able to execute the commands {cat, kill} ...
35
votes
7answers
3k views

How to quickly change the first word in a Bash command?

I would like to improve my workflow a bit with Bash, and I realize I often want to execute the same command to a different executable. Some examples: Git (where I would like to quickly change the ...
2
votes
0answers
33 views

Is there any difference in power between sudo rm and sudo rm -f?

Simple question, but I'm not sure I got a complete understanding from man rm. To the best of my knowledge the only difference is that adding the -f will plow through files without prompting and ...
1
vote
1answer
17 views

Does closing xterm terminate command running on remote host?

I'm using Linux a lot, but I'm confused with it. Maybe it is stupid question, but whatever. I'v logged in xterm to remote host by ssh. Now on the remote host i started command (rsync, a lot of data is ...
1
vote
1answer
37 views

Cannot access BIOS after installing a Linux distro

Some time ago, I went and installed ElementaryOS on my Samsung NP530U3C. After that, I could never access the BIOS again. Pressing F2 had absolutely no effect (neither any other common BIOS-accessing ...