7
votes
1answer
22 views

accessing Maildir locally with Mutt and remotely over IMAP simultaneously

I have Postfix + Maildir + Dovecot + IMAP on my mailserver. I am accessing my mailbox remotely over IMAP with one or more clients (Thunderbird). Additionally, on the server I have mutt configured for ...
0
votes
2answers
37 views

-bash: /dev/null: Permission denied

I'm trying to create a new user on a Centos 6 system. First, I do useradd kevin Then, I tried to run commands as that user su - kevin However, I get the following error messages -bash: ...
1
vote
0answers
16 views

In tmux session, cannot connect to X server after ssh'ing

At work, I have a desktop with a monitor and a few running tmux sessions. At home, I frequently ssh into that desktop and enter my running tmux sessions. When I ssh from home, I do not want to use ...
2
votes
1answer
39 views

Reassemble mdadm-raid5

A friend of mine has a mdadm-raid5 with 9 disks which does not reassemble anymore. After having a look at the syslog I found that the disk sdi was kicked from the array: Jul 6 08:43:25 nasty ...
5
votes
1answer
34 views

What filesystem should I choose for an SSD? [duplicate]

I am going to set up a new Linux system on an SSD drive. Does the filesystem choice make a difference for them? Should I go with the default ext4, maybe try XFS, or does it just not matter?
5
votes
1answer
44 views

Difference between 'sync' and 'async' mount options

What is the difference between sync and async mount options from the end-user point of view? Is file system mounted with one of these options works faster than if mounted with another one? Which ...
2
votes
3answers
35 views

at command - totally stuck

I'm trying to perform a one-liner using at. Basically, I want to send an SMS at some point in the future. Here's my command to send an SMS: php -r ...
2
votes
1answer
45 views

SSH: public key authentication without authorized_keys file

I have a lot of ssh public key logins on a Linux server, e.g.: Jul 25 11:41:01 host sshd[24594]: Accepted publickey for root from xxx.xxx.xx.xx port 33374 ssh2 This is strange for me since there's ...
2
votes
0answers
26 views

Can't use my old my.cnf from MySQL 5.5.38 in newer 5.6.19

I have made a backup of my database and uninstalled the MySQL 5.5 RPMms on my CentOS VM. I have also installed the new the 5.6 MySQL RPMs and ran mysql_install_db. However, I cannot get the server to ...
4
votes
4answers
98 views

Vintage terminal for Ubuntu

So I have just been introduced to Cathode for OSX and I am completely fascinated by how classic it looks with it's 1970s retro style. Does anyone know of any programs/packages I can download to get my ...
3
votes
3answers
48 views

Is it possible to have a bashrc for a usergroup?

Is it possible to execute some bashrc file for all users in a group? If you can do that system-wide in /etc/profile then why not for a usergroup?
-1
votes
0answers
44 views

Unique id for combination of Latitude - Longitude

I have a LibreOffice Calc table containing one column with latitude and one with longitude. What I want to do is for every unique combination of latitude and longitude a unique number to be assigned ...
1
vote
1answer
21 views

How to install after windows 8.1 with MBR partition

I have a laptop, which has a 500GB hard disk and with MBR partition, and I install my windows8.1 on it, but I left ~75G unused which I would like to use it for OpenSuse13.1. Now I have 2 USB, one is ...
4
votes
4answers
109 views

Check if content of file has length X and contains only specific characters

Let's say, I have files that contain only one docker id: myid.id: 28fe2baadbe8da32ed0b99c69b11c01b2d141bc5b732b81e0960086de52fc891 I want to check if the content of my.id is exactly 64 characters ...
4
votes
2answers
200 views

Schedule job at irregular intervals

It's simple enough to use cron to schedule a job to occur periodically. I'd like to have something occur less regularly -- say, run the job, then wait 2 to 12 hours before trying again. (Any ...
0
votes
2answers
35 views

installing grub and a working kernel over an old and broken debian system

I have an old debian system, which I always have been able to upgrade over the years. I had installed an old kernel, compiled by me from sources. After my last dist-upgrade (using testing ...
1
vote
1answer
22 views

gtk-window-decorator takes up too much memory, and is it safe to restart it?

I would like to restart the gtk-window-decorator process, because it takes up 600MB memory. Will that affect other processes? From my experiences, after killing it, all other programs will lose their ...
1
vote
4answers
46 views

Finding a file which created X minutes back (without GNU/BSD find)

I am using the find command to find the files which were created with in 30 minutes. find . -ctime -30m But it is giving files from up to 30 days. I have tried -mmin too but it is showing that ...
1
vote
0answers
14 views

Docker - Force to Use AUFS Instead of BTRFS

I am having significant problems using Docker on my BTRFS filesystem, and I suspect that is due to a lack of stability with the BTRFS driver. I would rather figure out how to switch the fs driver than ...
3
votes
1answer
23 views

Dmenu does not start some programms (e.g., emacs) — is there a log file?

I'm running dwm with dmenu under Arch Linux. While dmenu is working, it doesn't start some programs, e.g., emacs, although it shows the command with auto-completion. When I start them in the terminal, ...
0
votes
1answer
22 views

Why is my /etc/apt/sources.list set to squeeze when I have debian wheezy?

I have set up a few new debian boxes which were installed with debian wheezy (7.1). I set them up and upgraded to the current stable release: $ cat /etc/debian_version 7.6 If I look at my ...
2
votes
1answer
35 views

Arrow key/Enter menu

I need help finding out how to possibly create a menu in a shell script that will display 3 options that a user will use the arrows keys to move the highlight cursor and press enter to select one. If ...
1
vote
0answers
17 views

systemd start unit after another unit goes inactive

Is there any way to delay a unit from starting up once another unit goes inactive? I have a startup process (oneshot.service) that runs as a one-shot and sets up the environment for all other ...
2
votes
3answers
44 views

copying parallel directories Why does cp -r work this way?

The following works correctly (ie does what I want) cd /var/www/release/ mkdir wiki cp -rp ../html/wiki ./ However if I do (what seems more intuitive) cp -r ../html/wiki ./wiki it will ...
0
votes
0answers
11 views

ir-keytable modifier keys support

I'd like to add modifier keys to some of my ir-keytable tables. I've tried with the following syntax: 0x48e KEY_LEFTALT+KEY_RIGHT # >> right jump But it is not working (the scancode=keycode ...
4
votes
0answers
45 views

How come zipping a created disk image, makes smaller files than piping?

Case 1. I use dd to create an image: dd if=/dev/rdiskx of=/path/to/image bs=1m. It's 16 GB in size. I zip it, and it's suddenly around 100 MB. Case 2. I use dd to create an image, piping it ...
4
votes
4answers
101 views

Printing selective fields following 1st column instructions

Suppose I have a file in which I'd like to simultaneously print different awk commands following the first column instuctions, without messing up the original file (as it would happen with two ...
2
votes
0answers
13 views

How to create GUIs (such as menuconfig) with lxdialog

I try to generate a menuconfig by my own with the help of lxdialog (source: lxdialog). Unfortunately this is not so well documented as I wished for. Example: So what I did: I included these files ...
3
votes
2answers
24 views

Can I use scrypt to hash for LUKS?

Can scrypt be used as the hashing algorithm for LUKS? Can I tune its parameters? How can I do this?
0
votes
1answer
235 views

Packages still not found even after apt-get update

I am working on a Linux Mint 16 computer and since recently, every time I want to install something via apt-get install, the log message says that the packages couldn't be authenticated. I go ahead ...
4
votes
3answers
165 views

How do I find seconds since midnight?

Using the date program, how can I calculate the number of seconds since midnight?
2
votes
0answers
30 views

DirectX installed on Wine althought it doesn't work in games

I have installed DirectX on Wine used winetricks to have better graphics in my games. Althought it doesn't work! When I want to run GTA: San Andreas it shows I have to download and install DirectX. In ...
0
votes
0answers
16 views

Making proxies on Debian

Hi guys I am trying to create SOCKS Proxies on my VPS and currently am not getting too far so any help is well appreciated. Here's a few details on my VPS: It is running Debian linux, has 512mb ram ...
0
votes
1answer
73 views

Chown permission denied on owned dir

I have following directory (/usr/local) rwxr-xr-x. 43 root root 4096 Jul 25 14:19 . rwxr-xr-x. 14 root root 4096 Feb 21 10:27 .. rwxr-xr-x. 2 root root 4096 Jun 28 2011 bin [...] rwxr-xr-x 1 ...
0
votes
1answer
20 views

Could not commit to disk during OS Installation

I've tried several times to load Fedora 20 onto an Acer 5750z laptop, but during the installation I get an error message of "Could not commit to disk", switched the OS disk to Ubuntu 14.04 and ...
1
vote
0answers
11 views

How to stop gnome from forcing me to logoff / logout?

from time to time my gnome shell or some parts of it are crashing. Gnome sees a time out and is forcing the user to logout without other possibilities. "Oh no! Something has gone wrong." See ...
2
votes
1answer
22 views

“Missing separate debuginfo for …” when running gcore

I am running the following: command: gcore 56058 output: Missing separate debuginfo for /lib64/libdl.so.2 Try: zypper install -C "debuginfo(build-id)=dcca9c1f648bda0a7318a7c8844982c440e3e4a3" ...
0
votes
0answers
6 views

PCI-e SSD - Not visible to sysstat's iostat or sar

I am attempting to get basic statistics during test runs on a server with a PCI-e attached SSD that is mounted on /dev/rssda1, however sar and other sysstat either do not log, or in the case of iostat ...
4
votes
2answers
158 views

Print lines if given column starts with a capital letter

I have a file like this: ID A56 DS /A56 DS AGE 56 And I'd like to print the whole line only if the second column starts with a capital letter. Expected output: ID A56 DS AGE 56 What I've ...
23
votes
4answers
2k views

Result of diff two files with switched lines says missing the same line twice

I am trying to understand the linux diff command on two files whose lines are just permutation of each other but not able to grok the output that it generates. Consider the three commands below: ...
4
votes
4answers
149 views

Indirection on a Bash array

Is there a possibility to write the following script without the loop? IPv4_first=1.1.1.1 IPv4_second=2.2.2.2 IPv4_third=3.3.3.3 IPv4_all=() for var in ${!IPv4_@} do IPv4_all+=(${!var}) done ...
1
vote
0answers
26 views

How to find out why my cron didn't run? [duplicate]

This is the content of root's crontab: 0 23 * * 0-4 /usr/sbin/rtcwake -time `date --date="+16 hours" +"%s"` -m mem This is set to fire off that command every Sun-Thu at ...
3
votes
0answers
29 views

RAID-1 mirror has become a single hard disk

I have an HP N40L microserver, with 2 identical drives, I used the system to hardware-RAID them as a mirror. I then installed mint on the system about a year ago. This has been running perfectly, ...
1
vote
1answer
23 views

How to align columns of multiple lines at a fixed distance with vim

Here is another one of my vim question (They seem to become my trademark here.). I have a really long file basically consisting of lines of the following form: ;07 :ANZ textv S9_1 9_1_K3_2 ...
5
votes
1answer
402 views

What does su - `whoami` command do?

I am running a script in my project and I see this command su - `whoami` I am having a few basic questions: What does this command do ? What is the significance of `` quotes outside the whoami ...
2
votes
0answers
10 views

Dual boot Linux partition scheme with encryption

I am trying to figure out how I should encrypt my machine. I am reorganizing and will have two 500GB drives. I am setting up a dual boot system (both linux). My prospective partition scheme: sda: ...
0
votes
2answers
10 views

Disable error: nouveau unknown i2c port and unknown status

I am running Linux Mint Debian Edition, and I am getting the following errors: Jul 25 10:23:39 mhost kernel: [ 36.775380] [drm] nouveau 0000:01:00.0: unknown i2c port 57 Jul 25 10:23:39 mhost ...
0
votes
0answers
5 views

Why surt1000xli APC UPS recognised by NUT apcsmart driver as “old”?

So I have this UPS connected to machine with a RS232/USB cable. ups.conf contains [apc1] driver = apcsmart port = /dev/ttyUSB0 desc = "APC USB" And I get the following output: $ sudo ...
1
vote
1answer
23 views

bash script not being run by cron [duplicate]

I have a very simple bash script that runs flawlessly when I do ./removeOldBackup.sh or sh /home/myusername/backup/removeOldBackup.sh but when I add it to crontab like * * * * * sh ...
3
votes
2answers
102 views

Valgrind /usr/lib files are not regular Linux files

The problem that I encountered today (on an embedded device with Linux) is that some files (specifically, the Valgrind /usr/lib files) are behaving very strange and they are not copy-able with scp ...

15 30 50 per page