A family of Unix-like 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
1answer
1k views

Is there a Linux equivalent for VHD from which it can boot?

I have searched for this quite a lot, yet all I could find was VLite. By the way, I'm talking about an equivalent for Windows native VHD boot and not virtualization.
0
votes
1answer
534 views

Custom .desktop file not showing in Nautilus “Open With” menu

I want to be able to double click on a Python script (or SH script) inside Nautilus and then it run. So I made a custom desktop file, contents: [Desktop Entry] Encoding=UTF-8 Type=Application ...
0
votes
1answer
499 views

FreeNAS/ZFS/Raid-Z slightly different disks

I'm considering using FreeNAS and "recycling" some of my older 1TB disks. Two are the exact same model Western Digital while another is Seagate and the fourth is Samsung. Typically, since all disks ...
2
votes
2answers
322 views

Plotting timedata in gnuplot

I have a log file (auth.log) where non-relevant lines has been removed. I wish to aggregate lines per hour/day into the plot, meaning that each line that is within the same hour or day is aggregated ...
11
votes
2answers
3k views

btrfs: HUGE metadata allocated

I have a 256GB SSD disk on which I converted my ext4 root FS to btrfs. I erased the ext4 backup subvolume, enabled compression and defragmented recursively to enable it on all files. btrfs fi df / ...
1
vote
1answer
2k views

Broken sudo on amazon web services ec2 linux centOS

So I had no idea of the dangers of messing with the /etc/sudoers file, and was just trying to make a simple change in there. However, I seem to have put something with incorrect syntax in there, ...
1
vote
1answer
293 views

Trying to Narrow Down a Disk Error

I've been experiencing some weird errors from some hard drives, and I'm having trouble narrowing down the problem. It's part of a RAID array (Linux software RAID, budget hardware), so when it dropped ...
1
vote
1answer
633 views

How to multiplex two videos with ffmpeg

I'm converting videos using the -s option for multiple resulutions and I want to include a short intro at the begining of the video. but for some reason it skips the second -i so i'm only getting the ...
1
vote
2answers
2k views

How to start FatRat HTTP server daemon in console?

I'm new to Linux and I would like to setup a simple download server on my RaspberryPi. I installed FatRat via: apt-get update apt-get install fatrat Since I'm not using a GUI on RaspberryPi, I ...
2
votes
0answers
553 views

Getting i/o statistics of a process per file

I have a process of I would like to monitor the i/o with some precision. I know the PID, but I can't really control the way it is started (so I can't really put a pv-like command in between). What I ...
0
votes
1answer
196 views

How to mount zfs-fuse earlier in boot sequence so I can do rsyslog there on Ubuntu 12.04?

I'm trying to use zfs-fuse as the file system driver for a read/write partition that includes system logging on an Ubuntu 12.04 distribution. I have succesfully redirected rsyslog there by modifying ...
2
votes
1answer
1k views

VIM copy doesn't work in Gnome Terminal (to system clipboard)

I prefer using VIM in a gnome terminal (On Fedora 19) instead of using GVIM. But I can't seem to copy to the system clipboard. I'm pulling my hair out trying to figure this out because other threads ...
0
votes
1answer
916 views

Is the `rm` buildin GNU command case sensitive?

Is there is a way to remove a file or directory ignoring if the name of the file is uppercase or lowercase? Example. I both /FiLe and /file. If I write: rm /file will it remove these two?
0
votes
2answers
1k views

How to move wireless connection to other network namespace?

# ip link set wlan0 netns 1 RTNETLINK answers: Invalid argument It works for usual ethernet. It also works for proprietary broadcom "wl" driver. How to do it for usual mac80211-based driver?
2
votes
1answer
145 views

Is it safe to delete empty directories recursively on Linux?

Using the find command, it is easy to recursively delete all empty directories. Which empty directories are safe to delete, and which ones are not?
1
vote
3answers
11k views

How to install the latest version of VLC media player in debian

Recently there was a news that VLC has been upgraded to version 2.1.0 and added support to many new formats and fixed some versions I am using debian and I want to upgrade my VLC on my box. I had the ...
4
votes
3answers
12k views

How to fix“error while loading shared libraries: libgl.so.1”

After I run this command dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P I got the problem while opening smplayer,cairo-dock,unity-2d-shell and amdconfig ,"error while loading shared ...
5
votes
5answers
6k views

How do I reset a bootable drive so that it no longer is bootable?

I made a bootable USB stick (Fedora) to install on a system. I'd like to reuse the stick, so I want to remove all traces of the functioning system; in particular I'm not sure how to reset the MBR ...
5
votes
2answers
391 views

tmux freezes when using ctrl-prefix ctrl-y

I'm using a custom .tmux.conf file which looks like this: unbind-key C-b set -g prefix C-a bind-key C-a send-prefix set-window-option -g mode-keys vi bind-key -t vi-copy 'v' begin-selection bind-key ...
0
votes
2answers
1k views

Add read permissions to all the directories of a path

I want to add (not modify other file permissions) for all the directories in the path written bellow. Something like chmod -R xx4 /home/mDB/admin/KNUCKLES/dbs/ The path /home/mDB/admin/KNUCKLES/dbs/ ...
0
votes
2answers
106 views

How can I know the total of used processors by user in Linux?

How can I know the total of used processors by user in Linux? For example: User "X" runs 2 (or more) processes that use in total 3 processors. How can I know it? If it impossible, then How ...
0
votes
1answer
139 views

New process being created while checking with 'if' in bash

ps -ef | while read line; do for i in $line; do if [ $i = 'bash' ]; then echo $line; fi; done; done; unset i; The command runs properly displaying the Bash ...
0
votes
1answer
2k views

Is there an ftp command on linux that works with ftps

Have been trying for 2 hours with lftp commands and any combinations/variations of them but won't connect. lftp :~> user usr pwd; lftp usr@:~> set ftp:ssl-force true; lftp usr@:~> set ...
0
votes
2answers
40 views

HDD Sata vs usb

Ok I have a couple external HDD that I put into my home made media server. One is a 3tb seagate external HDD and for some reason when I have it connected by the USB adapter it has transfer rates of ...
0
votes
1answer
25 views

I want to automate the tunneling of putty such that Source port and destination can be entered automatically and then putty opens automatically

I want to automate the tunneling of putty such that Source port and destination can be entered automatically and then putty opens automatically. strong text
0
votes
1answer
284 views

How to prevent users from renaming files while providing write permissions on Linux

For some special purpose, I want to prevent non-root users of the Linux Server from changing the filenames. However, they can modify and write to the contents of the file. How to do this from command ...
1
vote
1answer
398 views

Font in remote X connection

I have a headless Gentoo box and would like to run X app on it but forward the display to a Cygwin Xorg server running on my Windows PC. It works but I am not sure in this case if I specify some ...
3
votes
1answer
916 views

linux find: searching for files smaller than 2Kb misses the ones between 1 and 2Kb

I just stumbled in an oddity with the find command on Linux, in a nutshell I had the need to find all files smaller than 2Kb in a certain folder, so I issued the command: find /folder_to_search_into/ ...
0
votes
2answers
279 views

Server can't be accessed

I have a server I rent from OVH and I rebooted it and now I can't connect to it, OVH responded with "The server has started (login is requested on the screen) but inaccessible by the network (not ...
0
votes
1answer
567 views

Will the option NOATIME in /etc/fstab ruin my Unison synchronizations?

I read here in ArchWiki that the option noatime can improve hard disk performance and durability: The use of noatime, nodiratime or relatime can improve drive performance. Linux by default uses ...
1
vote
2answers
1k views

hdd recovery: can I speed up dd?

I am currently trying to recover a hard drive I accidentally formatted, but am of course, using dd if=/dev/sdb of=/dev/sdc conv=noerror,sync to make a backup to work on first. I have two questions, ...
1
vote
4answers
816 views

Execute a command when vim exits

Is there a configuration I can add to a .vimrc file which will cause vim to run a command when a file is closed? For instance, suppose I'm editing a file that is under version control. Once I'm done ...
0
votes
1answer
53 views

Is it bad practice to store obsolete authorized_keys as user/group nobody?

I'm using Chef to manage users on a cluster of servers. When a user is removed I'm keeping their authorized_keys file and changing the file's user/group to "nobody" after deleting the relevant user ...
0
votes
1answer
251 views

Trouble using the back arrow key in R

I am sshing to a linux server via ExtraPutty and am running R. If I type some code and then I hit the back arrow three times, I get the following output: blah blah some code^[[D^[[D^[[D The R ...
0
votes
1answer
166 views

Copy files from path to path same structure for each user

How to copy single file for example index.html from source /backup/cpbackup/daily/a1/homedir/public_html/index.html /backup/cpbackup/daily/b2/homedir/public_html/index.html ...
0
votes
1answer
266 views

Adding sda1 vs. sda to a linux software raid

I'm running a Linux md software RAID 6 on several USB hard-drives. Each drive is partitioned to contain one partition of type fd (linux raid). My RAID is built on these partitions, i.e. it uses sda1, ...
2
votes
0answers
303 views

Thin client PXE boot

Basically here is what I'm trying to do: I'm trying to boot a client remotely (using PXE boot). Over PXE boot I want to start a minimal linux distribution with X and ssh. Then I want to connect using ...
1
vote
1answer
229 views

How to merge 2 mp4 files with 1 atom?

I'm merging two mp4 files for video streaming. the problem is, the merged file contains two atoms, 1 atom from each file and that is a problem when it comes to streaming. the client needs to wait ...
-2
votes
1answer
147 views

Bash- how to select a directory based on the number of files it contains

I want to select all the sub-directories in a given folder that have a certain number (in this case, 75) files within them. Then I want to take the name of each of these sub-directories and assign it ...
0
votes
4answers
224 views

Efficient system exploration/navigation on Linux?

I've been using unix and the command line for some time already, but my main method for navigating through files and directories is still cd path; ls; cd path; ls.... This is not effective at all. ...
2
votes
0answers
179 views

Share Windows PPPOE connection with Linux

I have a windows computer connected wirelessly to router and connected to Raspberry Pi (Raspbian Linux) with LAN cable. I need to connect to PPPOE connection and enter my credentials to connect to ...
4
votes
1answer
88 views

Trying to understand xargs

The target is not to list temp/run*.* files. The target is to understand why the second command does not work. First command: find . \( -name 'temp' \) -print0 | xargs -0 -L 1 -I datafind ls -ltr ...
0
votes
1answer
34 views

How do you remove the grb (grub 1) mbr from inside Suse Linux 12

How do you remove the grb (grub 1) mbr from inside Suse Linux 12? I have tried this as stated numerous places on the internet (sda is my one and only drive), however it just says 0 byte written and ...
0
votes
1answer
5k views

Unable to ping guest from host and vise versa in Oracle Virtual Box

This is my Oracle Virtual Box Version 4.2.18 r88780 Details of my host machine Operating System : Scientific Linux 6.4 I am using static ip root@localhost ~]# ifconfig eth0 eth0 Link ...
0
votes
1answer
1k views

Why are the timestamps on files created on an NFS mounted partition different?

I have a server with an NFS mounted volume. When I create a file on a local volume, the time stamp matches the date command. When I create a file on the NFS mounted volume, the time stamp is off. ...
1
vote
1answer
730 views

Error: EDID Checksum is invalid when logging in to Fedora

Let me start off by saying that I'm a complete Linux noob. I've played around the GUI and the command line, but I've done nothing of the sort that I can do on Windows. I'm handling a client that ...
4
votes
2answers
18k views

primary or logical partition

I am planning to install Debian and wondering which partition should be primary and which should be logical. I want to create 4 partitions: /boot 300MB ext2 --> primary or logical? / 30GB ...
0
votes
1answer
422 views

Recover files under a shared folder deleted by a guest Linux in VirtualBox

Within a guest VirtualBox Linux, I mistakenly deleted a folder shared with the host Windows. I stopped the deleting action during the process, but unfortunately, part of the files has already been ...
1
vote
1answer
116 views

Vim command line argument not being executed

I've been looking for a command line calendar program for Linux for quite some time now. I realized I should just use vim. I want to be able to easily view a week of todo lists. Currently using this ...
1
vote
1answer
866 views

How do I use my Ubuntu laptop as a wireless access point?

Main Problem I want to siphon the Internet access from my Ubuntu 12.04 LTS laptop to my old Windows ME desktop for learning purposes. I have 2 Ethernet cables and a switch with no access to configure ...