3
votes
0answers
156 views

How does fsnotify setting affect system performance?

Occasionally a software package I install complains that the default fsnotify setting is far too low for decent performance. Intellij IDEA or crashplan are two examples. They suggest using fsnotify ...
1
vote
0answers
236 views

Installled openSuse and now can't boot from USB or DVD

I've just installed openSuse 13.1 and, while it's great, now I want to try Mageia 4. Problem is that after installing openSuse my machine (Lenovo G560) won't boot from a USB stick or from the DVD ...
3
votes
3answers
7k views

Mail command to send attachements

I tried the below command uuencode data.txt | mailx –s “Test Mail” “mrp@xyz.com” But I get the below error ksh: uuencode: not found. Null Message body; hope that' ok which clearly tell that ...
0
votes
1answer
1k views

Why can't I connect to a hidden SSID in Edubuntu?

I'm running a godforsaken version of Edubuntu and I'm trying to get it to connect to a wifi with a hidden SSID. I've scoured the internet for the past hour or so, trying to find anything similar and ...
2
votes
1answer
4k views

mkfsdos: define the size of FAT16|32 file system on USB pendrive in Linux

Question: How does one define the size of a FAT16 / FAT 32 file system with mkdosfs in Linux I want to create a, say 2 GB FAT16|32 filesystem on a partition in the size of 8 GB or more? This is how ...
3
votes
1answer
221 views

How to overwrite a non-Debian package?

Background I am trying to install Google Drive, so I am installing Grive. I previously tried to install SyncDrive, which isn't supported any longer. Now, I am having some conflicts between the two ...
3
votes
0answers
463 views

How to configure external USB touchpad for a laptop

I have a laptop that, obviously, comes with a touchpad and a keyboard. However, I have an USB keyboard with integrated touchpad that better suits my needs. I use Ubuntu 13.10 and I cannot find how to ...
3
votes
2answers
197 views

How to find Emacs backup files?

Emacs backup files start with .# but I can find those in my directory. I've try: find . -name '^\.#.*' or find . -name '.*#.*' and they are not show up, and I have them. For instance if I create ...
0
votes
1answer
294 views

php --enable-calendar=shared

I have on my Arch linux system, php compiled with --enable-calendar=shared, what does that mean? I couldn't find any relevant information on that topic on the web. Problem is, that I have to ...
2
votes
1answer
3k views

How to format a CF card by a terminal command?

I want to know the command for formatting a compact flash card from the terminal.
5
votes
2answers
645 views

Dump process's stdin and stdout

I have two processes, let's say Parent and Child. Parent launches the Child and communicates with it through child's stdin and stdout. Parent <-> Child These processes use text protocol and I ...
0
votes
1answer
90 views

X goes black when using SimpleScreenRecorder

When using SimpleScreenRecorder, X goes black all the time when I do anything more trivial than typing in a terminal session. I have to switch to another tty and back to X for it to show again. Does ...
2
votes
1answer
3k views

Cannot rotate screen with xrandr

OS: Linux Mint The output of inxi -xG: Graphics: Card: NVIDIA GF108 [GeForce GT 440] bus-ID: 02:00.0 X.Org: 1.13.0 drivers: vesa (unloaded: fbdev) Resolution: 800x600@0.0hz ...
17
votes
1answer
4k views

Mutt: select multiple messages

I am looking for a way to select multiple messages in Mutt. For example select the first and the last message would select a whole block of messages. Possible also to select by regexp for subject. I ...
2
votes
2answers
262 views

GPU computation on Linux using open source kernel drivers

Assuming freedom to choose whichever currently available GPU is most suited for the job, is it currently feasible to do GPU computation (either CUDA or OpenCL) on Linux using one of the open source ...
1
vote
1answer
242 views

Dunst notifier on CentOS

I need a notifier such that: It is possible to send messages from one machine to another without any password (like in case of notify-send). Correct me if I'm wrong. It is such that only when a user ...
2
votes
1answer
256 views

Find and install Mint's default packages into new Ubuntu install

So I use Mint a lot, but wish to switch to Ubuntu due to trivial updating Ubuntu offers. Problem with Ubuntu is that a lot of neat packages (Such as right click commands for open in terminal etc) ...
14
votes
6answers
6k views

Disable headphone jack detection in pulseaudio

I have a dodgy headphone port on my laptop that does not reliably detect when headphones/external speakers are plugged in. This means that the output is constantly being muted/unmuted which is rather ...
3
votes
1answer
1k views

Permissions for installing programs on Linux

I'm running Linux Mint 16. When trying to install programs in the usr/local directory, instead of doing sudo ./install for the program, I've been creating the directory, the program wishes to install ...
2
votes
1answer
90 views

Expand variable in function definition in zsh

I want to generate a set of functions in my shell in a for loop, but I can't see how to access a variable inside the function body of the function I'm creating. In essence, I would like the following ...
3
votes
1answer
2k views

Software RAID 10 + LVM on mixed drives, sector alignment?

I have 4 2.5" 7.2k drives lying about and I'd like to build some RAID arrays for a bit of VM storage on my KVM lab box. There are 2x 320GB drives and 2x 500GB drives. I'm looking to create a RAID 10 ...
4
votes
4answers
2k views

How do I output a suggestion for a user to accept and use as input?

What can I do to leave the cursor on the same line of the suggestion in a Bash script? Bash version = 3.2.51 It's purpose is to suggest a string so that the user should only press Enter. #!/bin/sh ...
2
votes
1answer
5k views

Driver install, kernel source not found

I am trying to install a NVidia Cuda driver on a Amazon EC2. GPU instance (Amazon Linux AMI (HVM) 2013.09.2 - ami-e9a18d80) following the instructions laid out in a blog. It worked for the last two ...
-3
votes
1answer
92 views

How to get a list of images in a a prticular folder?

My folder contains 5 -6 images, I want to display a list of the names of all images only. However the folder contains two text files.
-1
votes
2answers
200 views

where is browser.js file in firefox in rhel?

i want to modify the browser configuration and i was unable to find "browser" java script file in installation directory i.e. /.Mozilla/Firefox/default/profile/. please provide me the link for ...
3
votes
3answers
1k views

How to parallelize the for loop while scp the files?

I am running my below shell script from machineA which is copying the files machineB and machineC into machineA. If the files are not there in machineB, then it should be there in machineC. The below ...
26
votes
3answers
15k views

If I sudo execute a Bash script file, will all commands inside the Bash script be executed as sudo as well?

I want to write an automated post-installation script in Bash (called post-install.sh, for instance). The script will automatically add and update repositories, install and update packages, edit ...
7
votes
1answer
2k views

Download package via apt for another architecture

I am currently in a architecture amd64, so when I try apt-get download vlc, it downloaded the appropriate architecture for my system, but how can I download the i386 version via apt? It's for ...
1
vote
1answer
508 views

What's the top-left Button in KDE Windows?

I run Linux Mint 15 with KDE 4+. Consider this screenshot: Underneath the LM logo, or beside the Firefox icon, above "File" and "Edit", there's a little circular button with a dot in the middle. I ...
1
vote
2answers
6k views

CentOS 6.4: Unable to mount disc, doesn't like UDF

I'm trying to use a CD on CentOS 6.4, but I keep getting this error: Unable to mount Disc Error mounting: mount: unknown filesystem type 'udf' I've installed udftools I've tried changing the ...
2
votes
2answers
10k views

How do I set Nautilus as default file manager in Elementary OS

Elementary OS uses a program called files as the default file manager. I would like to use Nautilus as my default file manager as used in Ubuntu 12.04 . I have GNOME Nautilus 3.4.2 installed on my ...
0
votes
0answers
568 views

Fedup fails to update Fedora 19 to 20

I'm trying to upgrade my Fedora install from 19 (3.12.8-200.fc19.x86_64) to 20. I have installed and ran fedup, it creates a new entry on the boot list but a progress screen is briefly displayed and ...
5
votes
1answer
6k views

Find pattern from one file listed in another

I want to find patterns that are listed in one file and find them in other file. The second file has those patterns separated by commas. for e.g. first file F1 has genes ENSG00000187546 ...
1
vote
1answer
339 views

How to make fonts available to the system

I'm using Android Studio, and in the drop down list of fonts is Source Code Pro. On that list, the font looks quite nice, but the preview below (and what I get when I select it) is horrible. I'm ...
7
votes
3answers
2k views

How do I get NetworkManager to keep the same IP?

The DHCP-provided IP on my laptop changes periodically. It runs CentOS 6.5 and uses NetworkManager. My desktop, running Sabayon, on the same network, does not have this problem. How can I get ...
1
vote
1answer
374 views

Sort in Linux for column, keeping other values intact

NODE_154_length 847 2997 NODE_154_length 3283 4509 NODE_154_length 4672 5715 NODE_154_length 6977 7768 NODE_29_length 3790 4317 NODE_29_length 4356 4712 NODE_29_length 4356 4712 ...
1
vote
1answer
195 views

GoAccess won't redirect its output as a CGI script

I've been pulling my hair with this script: #!/bin/bash echo Content-type: text/html echo "" goaccess -f /var/www/log/access.log -a | tee Which runs perfectly on the command line (generates HTML ...
4
votes
1answer
9k views

File inheriting permission of directory it is copied in?

I have files created into my home directory with only user read permission (r-- --- ---). I want to copy this file to another directory /etc/test/ which has the folder permission of 744 (rwx r-- r--). ...
7
votes
3answers
22k views

Install RPM file on Arch Linux?

I want to install sqldeveloper from Oracle on Arch Linux. The only Linux download option is RPM. I am not interested in using arch repositories to install sqldeveloper. I can only use what the vendor ...
2
votes
2answers
1k views

Difficulty with EncFS on CentOS

I'm trying to figure out encfs, but am having some difficulty. This is what I have done so far: I created 2 test folders mkdir /home/oshiro/Desktop/encrypted mkdir /home/oshiro/Desktop/decrypted ...
8
votes
2answers
5k views

How to replace sysvinit with systemd in a Debian based distribution?

I've been using systemd for a while in my Debian installation, just that to make it possible I had to add a boot parameter to the /etc/default/grub file to make it work, which is added to Ubuntu boot ...
3
votes
3answers
3k views

Rsync over SSH with authorized keys..but run 2 rsync commands

I just figured out how to automate my rsync backups using authorized_keys and the command= parameter so that my rsync script can't be modified by the user. So my authorized key file looks like this: ...
5
votes
4answers
5k views

Print line after nth occurrence of a match

I am looking to display the line 4598 in the following file. Effectively I want to display the line AFTER the nth occurrence of a match. In this case, the line after the 3rd occurrence of <Car>. ...
12
votes
7answers
5k views

Possible to find out the sizes of data types (int, float, double, …) on a system, without writing a C program?

Is it possible to find out the sizes of data types (int, float, double, ...) on a Linux system, without writing a C program? Would the results for C same as for C++, and other programming languages ...
0
votes
1answer
116 views

Find total file size of a disk

I have a corrupted NTFS volume. I ran rsync to copy everything from it, which reported a total # bytes transferred at the end. What's another tool I can use to verify the total # bytes on the disk ...
1
vote
4answers
54 views

space utilization

I need to show space utilisation on the system, and find the largest 3 files on /home (or any other folder) I've been using 2 different command lines df -m -a -h df -m -h /home I still can't ...
5
votes
1answer
3k views

Differences between %pre and %post in Kickstart on CentOS?

I have been setting up machines with Kickstart on CentOS and I am unsure about the differences between the %pre and %post sections of the kickstart .cfg file. The CentOS Documentation for the ...
1
vote
1answer
2k views

“SELinux is preventing /usr/sbin/openvpn from name_bind access on the tcp_socket”

I am configuring an openvpn server on a new centos 6.5. But the main problem is that selinux is blocking openvpn to use the default port tcp 1194. The following is the sealert -a ...
3
votes
2answers
289 views

How to check Linux kernel?

I want to install a package, and it has different versions for different OSes. The description in the package site is like this X86-64 Linux 3.0 Kernel I looked it up and found people saying to use ...
1
vote
3answers
192 views

Use Unix tools to look for a definition block in an XML.

I am using an XML that has definitions in this form - <definition name="ticketOpen" extends="ticketUpdate"> <put name="title" value="Open Ticket" /> <put name="mainForm" ...

15 30 50 per page