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
vote
1answer
384 views

To pdfjoin without rotation and addition of white space [duplicate]

I have 4 scanned documents which contains 3x3 pictures. I run in the folder of files pdfjoin * I get some pages automatically rotated such that much white space around. This is annoying. All pages ...
3
votes
1answer
2k views

Wifi 5GHz AP Mode: What does `no IR` means and can I bypass it?

I bought a Intel 7260-ac wifi adapter (support 802.11ac) and want to setup it in AP mode (hotspot) in 802.11ac but it failed. Then I noticed that iw list shows all 5GHz channels as (no IR) as below: ...
0
votes
1answer
34 views

flag a file as a config file in a Debian package

The usual search terms get a little confused when I try to Google this. I'm trying to figure out how one flags a file as a configuration file while building a Debian package (debuild). According to ...
0
votes
1answer
589 views

eclipse not started from command line in Ubuntu 14.04

I installed latest version of Eclipse at /opt/ directory in my Ubuntu 14.04 machine. Then I created a soft link to open it through command line: sudo ln -s /opt/eclipse/eclipse ...
9
votes
2answers
13k views

Unix command to get number of lines in a CSV file

I have to get the count of lines from incoming CSV files. I have used the following command to get the count. wc -l filename.csv Consider files coming with 1 record I am getting some files with * ...
1
vote
1answer
373 views

SSH connection with key, not working with rsync

After creating a key with no password, I can login with SSH to my remote host: $ ssh root@machine.local Welcome to Ubuntu 14.04.1... However when I try to use SSH to rsync to the same remote host: ...
0
votes
1answer
573 views

Need information on a filesystem error:

I have console access to an embedded linux device. This device has flash memory part of which is partitioned as a FAT filesystem. Its running linux-2.6.31. However I am seeing these errors on the ...
3
votes
2answers
502 views

Is there a large difference in memory usage between Linux File System types?

I'm trying to optimize a severely memory constrained system (DNS-323 NAS, 64MB) and wonder if you know or know how to find out the memory usage for different file systems? Naturally, the memory used ...
0
votes
1answer
350 views

How do I disable the ctrl + space hotkey for switching keyboard layout?

I started using AwesomeWM, and use both Dvorak and Qwerty keyboard layouts. The default keybinding for switching keyboard layouts is CTRL+Space. That also happens to be the shortcut for code ...
8
votes
4answers
22k views

How do I permanently reset the time zone in Debian?

Dreamhost seems to think that we like PDT, despite being in the Midwest. How do I change the timezone?
2
votes
1answer
213 views

Detaching from a GNU Screen suddenly clears the terminal

I feel so stupid for asking this, but here goes: I updated my Ubuntu (Server) install today from 13.10 to 14.04. Before the upgrade detaching from screen did not clear the terminal and now it does. ...
35
votes
14answers
18k views

What is Gnome / KDE etc?

I have been on Windows my entire life. Without getting too technical, what are these things? When I search on the net, I get some technical results. I simple do not understand what these things are! ...
1
vote
1answer
775 views

Half-installed python packages and circular dependency

Something went wrong while updating to ubuntu 12.04 to 12.10: root@ely:/sys/bus/usb/devices# dpkg -l | grep ^i[HUFW] iU libpython2.7 2.7.3-0ubuntu3.4 ...
3
votes
1answer
7k views

Is there a way to disable Intel SpeedStep steppings on an Ubuntu Server using a command line application?

We cannot disable it using the BIOS, because Turbo gets turned off as well as a side effect (what a crappy BIOS!). I am looking for a simple command line tool for Ubuntu 12.04 LTS Server that can do ...
1
vote
2answers
4k views

Run a script post login linux

I would like to run a script after a linux user logs in to do some additional security checks. The user should first login normally using their password, but then be checked with my script, and then ...
5
votes
2answers
4k views

Adjusting $PATH in /etc/profile does not affect root

H I added a directory to the $PATH variable in /etc/profile. This works for my user account but not for root. It's easy to add it to my /root/.bashrc but I would like to understand whats's wrong. ...
0
votes
0answers
111 views

My Samsung series 5 laptop's mouse is stuck on one spot and keeps clicking

I have a Samsung series 5 ultratouch laptop with Linux installed. Today my mouse just got stuck at the bottom middle of the screen and kept clicking every second. I tried rebooting the laptop, I ...
5
votes
1answer
4k views

Possible mdadm RAID states?

I'm writing a monitoring plugin for a home server RAID, mdadm on Ubuntu 10.4. Using sudo mdadm --detail /dev/md0 I get output like this: /dev/md0: Version : 00.90 Creation Time : Thu Dec ...
0
votes
1answer
539 views

Ubuntu equivalent command to Windows tasklist command

I have a couple lines in PHP to check if a specific process is currently running on my server. If the process is running, I include a script that is used in to interact with said process. Below is the ...
0
votes
2answers
2k views

Fetch videos from sony handycam to linux

I've got a Sony Handycam DCR-DVD101. When I plug connect the USB cable to my laptop (Ubuntu 10) it doesn't mount any storage device. If I run usb-devices, I see: T: Bus=02 Lev=02 Prnt=02 Port=00 ...
2
votes
1answer
2k views

Synergy: Shift keys not working on Raspberry Pi Client

Recently I installed Synergy on my desktop PC (running Windows 8.1) and my Raspberry Pi (running Raspbian) so the PC's keyboard and mouse is shared with the Raspberry Pi. The Windows PC is a Synergy ...
0
votes
1answer
255 views

AltGr makes Ctrl stuck on Linux Mint running in Virtual Box under Windows 8.1

I have Windows 8.1 and have installed VirtualBox 4.3.14 to run Linux Mint 17 Xfce in it. Pressing AltGr in the virtual Linux Mint makes it think that the Ctrl keys is pressed down until I hit Ctrl ...
6
votes
1answer
11k views

MySQL completely uninstalled and reinstall but database still exists on Ubuntu 12.04

I need to completely remove MySQL all databases and installation and reinstall, because root is broken. I followed this instructions: sudo apt-get remove --purge mysql-server mysql-client ...
0
votes
1answer
156 views

redhat, multipath on cluster node display different result

I've a cluster with two nodes installed with "RedHat Entreprise Linux Server 5.6" If I execute "multipath -ll" on them, I do not get the same result. I've checked within "multipathd -k" with "show ...
0
votes
2answers
421 views

Having trouble in Ubuntu with dual monitors

I am having trouble with Ubuntu 14.04 LTS and getting my GUI to show after trying to get my dual monitor setup working (worked just fine with one) with AMD R9 270 graphics cards. I am tired of working ...
19
votes
5answers
18k views

Convert a bunch of BMP files to JPEG on Linux

Someone sent me a bunch of BMP files and I need them in JPEG. I could convert them one by one using GIMP, but I'd rather do it all in one go. I have Ubuntu.
1
vote
1answer
566 views

Wireless Network Interface name changes sometime after reboot

On my arch linux machine,for some reason the interface name of my wirless network device sometimes changes from "wlp2s0" to "wlan0". I then have to setup my network manually or restart the computer. ...
0
votes
1answer
66 views

Shell Command that Combines chmod and chgrp

Is there a combined variant for chmod and chgrp that sets both user and groups permissions in one single system call for each file? This is useful for increasing performance on slow data layers such ...
0
votes
1answer
36 views

Can a file be created from an inode?

There is an apache process which logs to an access and error log. The two log files have been deleted, but the apache process has not been restarted or reloaded so it still has open filehandles for ...
0
votes
3answers
4k views

What are .cmd or .com files in Linux?

I'm new to Linux and saw files named "example.cmd" and "test.com". How do I open these files? Also, what kind of files are these?
1
vote
3answers
3k views

SSH session hangs when trying to open a shell

Since this morning I cannot login normally on my server using SSH anymore. Typically, when typing this: ssh foo@bar.org The shell hangs and does not acquire shell. The last line of verbose with ...
3
votes
1answer
531 views

Lifetime of the Symlinks from the File Descriptors in /proc/PID/fd/

How long do the symlinks form the File Descriptors in /proc/PID/fd/ are kept? During the complete life of the process? What about when this is a multi-threaded process? Do I have the guaranty that ...
0
votes
3answers
215 views

Which files were open during a process

In a Linux System, I would like to get a list of all the files that are being opened(read or write) by a specific process in his lifetime. His lifetime could be several hours, from start to finish. I ...
1
vote
3answers
785 views

Resolve file deletion issue in Linux

This is an interesting conundrum where all the normal solutions don't work. Yesterday, I downloaded several movie clips with a wmv and avi file extension when booted in Ubuntu after hibernating my ...
0
votes
0answers
459 views

Virtualbox - cannot create COM object

I am getting the error Failed to create the VirtualBox COM object. Runtime error opening '/opt/VirtualBoxVMs/VirtualBox.xml for reading -38 (Access denied) for other users apart from root. If I ...
1
vote
0answers
536 views

Running a script that starts other applications using systemd service

Our C++ Qt application runs graphically without X by specifying the -qws switch. Because of that, I uninstalled and disabled the graphical environment on the BeagleBone Black. Now, when I power on the ...
6
votes
1answer
1k views

Is there a way to copy text in htop?

Normally in putty you can just select text to copy it, but I can't seem to select text with my mouse in htop. Of course there's no right click menu to copy, ctrl+c doesn't work, and I didn't see any ...
40
votes
2answers
8k views

How to rate-limit a pipe under linux?

Is there a filter which I could use to rate-limit a pipe on linux? If this exists, let call it rate-limit, I want to be able to type in a terminal something like cat /dev/urandom | rate-limit 3 -k | ...
0
votes
0answers
52 views

Thunder Bird attachments not in unicode

I am trying to solve tasks provided by eudyptula-challenge for which I have to send attachments in Unicode format. I am using THunderbird 31.0 version. I have tried everything but still i get a reply ...
0
votes
1answer
99 views

iproute2: How do i connect one machine to the internet via another

I have the following setup: A > 169.254.8.125/16 <--(ad-hoc)--> 169.254.9.109/16 < B > 192.168.178.21/24 <--(wifi)--> 192.168.178.1/24 < AP/router > internet I want to connect A to the ...
0
votes
1answer
426 views

Why is [ssh,scp,rsync,etc] so slow, from a VM to another local machine on my gigabit local network?

I have a VM A running the latest archlinux with QEMU, KVM and a Virtio network card. It is a buildbot and it needs to drop the result on another machine B on the local network. The VM is started with ...
2
votes
1answer
48 views

working on an old computer cluster

Have you ever been in that situation where you had to work on a really old computer cluster, with a roughly ten year old emacs, ten year old compiler and everything just being ten years old? And of ...
0
votes
1answer
37 views

iptables - I'm losing control over the box by adding new rule to the config

My set up is the following: Internet uplink (200Mbit) DMZ (1GB ethernet) Internal network (1gb internet) Log interface My gateway is serving around 600 clients with 1400 iptables rules in ...
2
votes
1answer
2k views

Match multiple strings in iptables

I have 2 strings, and i wish to queue the packet if it contains both the strings ( something like ("jsh"&&"gjhyg")), i tried following ways, but they don't seem to work: sudo iptables -A ...
1
vote
1answer
283 views

How to setup a FTP site with permission to upload, but not download or remove files?

I'm currently trying to set up a FTP site which only allows users to upload files using vsftpd in archlinux. After some googling I didn't find any satisfactory solutions. The current partial solution ...
0
votes
1answer
561 views

Can't install debian header 3.12-1-686-pae

I'm trying to use virtualbox who need linux header but I can't found mine. sudo apt-get -y install linux-headers-`uname -r` Reading package lists... Done Building dependency tree Reading ...
0
votes
1answer
422 views

CIFS mount over VPN hangs when VPN crashes and reconnects

I've successfully shared Windows share over VPN (PPTP), mounted it with mount.cifs on my Ubuntu machine and I'm able to browse the shared contents from the Ubuntu. However, sometimes, when the ...
1
vote
2answers
41 views

Script to join columns

I have two files: The output of yum list installed which is now yum_installed and yum list updates now as yum_updates What I need is to basically join the two files somehow but ONLY based on the ...
0
votes
2answers
78 views

Change User's Password using root

How can I change password of specific user using root account? when you want to change your password, you can use passwd but how can I change the password of other users?
1
vote
4answers
2k views

BIOS password and hardware clock problems

I have HP 6730b lap top. I've bought it used and installed (Gentoo) linux on it. BIOS is protected with password, and guy I bought it from said "I've tweaked BIOS from Windows program, it never asked ...