19
votes
3answers
7k views

Are there any alternatives to mutt?

I really like the idea of Mutt, reading mail in the terminal. I'm not really pleased with some inconsistencies and the imap handling. I set about trying to find some alternatives to mutt, but I can't ...
6
votes
5answers
6k views

How to remove lines shorter than XY?

I found a question about, how to remove lines longer then 2048 chars: How to delete line if longer than XY? Q: But how can I remove lines shorter then 4 chars? So remove lines that has 1 or 2 or 3 ...
1
vote
1answer
299 views

Cannot get status of “Adaptec AAC-RAID (Rocket) (rev 02)” HW RAID card

SERVER:~ # lspci | grep -i raid 0000:04:00.0 RAID bus controller: Adaptec AAC-RAID (Rocket) (rev 02) SERVER:~ # arcconf getconfig 1 pd and after the arcconf, the command just hangs.. the server ...
0
votes
1answer
107 views

No IBus choices in Input Method tab

As you can see in the picture, I can't select any input method. I have installed ibus-m17n and my IBus input (ibus-bogo). I use Mint 16 with KDE 4.11.5
0
votes
1answer
359 views

Disabling MMC in uboot

Following is the log message related to u-boot on Xilinx zynq platform: [Fri Apr 04 19:57:50.990 2014] U-Boot 2013.07 (Apr 04 2014 - 19:38:00) [Fri Apr 04 19:57:50.990 2014] [Fri Apr 04 ...
0
votes
1answer
715 views

Recursively delete hidden directory & its files?

I want to delete all hidden directoris from a directory and its sub-directory. I also use rm -rf .directory_name this command is iterative command I want to a recursive command. Please anybody help ...
13
votes
1answer
1k views

what does `sshfs -oworkaround=rename` do?

For an operating systems class I'm taking, I've needed to run Freebsd5.4. Since I didn't want to wrestle with trying to build git on a version of bsd released before git was released, I thought it ...
2
votes
1answer
1k views

Change and save pdf annotation setting in Okular?

In Okular, I add inline notes to a pdf file. I change the default settings for inline notes: from default font "Ubuntu 13" to "Ubuntu 6", and from default opacity 100% to opacity 0%. But I ...
11
votes
2answers
1k views

Kernel modesetting hangs my boot, but the ATI driver requires it

I have a late 2011 MacBook Pro. It has an integrated Intel video card and a discrete ATI video card. Ideally, I'd like my Xorg to use the ATI card with the free driver (no Catalyst). Here's the ...
5
votes
1answer
15k views

Increasing Command Line Resolution Centos 6.4 VirtualBox

I running CentOS 6.4 in just CLI mode. However, I have a 1080 monitor and the resolution from the CLI interface is horrible. Do I still have to install Guest Additions in order to increase display ...
2
votes
1answer
6k views

Failed to load VMMR0.r0 (VERR_SUPLIB_OWNER_NOT_ROOT)

when I try to start a vm in Virtualbox, I get the error in the title message. I have already checked /usr/lib/virtualbox/VMMR0.r0 and the permissions are -rw-r--r-- 1 root root 785K Sep 21 2013 ...
0
votes
0answers
163 views

Driver Nvidia 96.43.23 for Quadro 4 wont stay installed

No matter how many times I re-install my driver it will be uninstalled after restart. I select and install the correct driver using Device Driver Manager by Mint I restart as prompted It comes back ...
1
vote
2answers
2k views

Bash: split list of files into different files?

I have several files in a directory like: data1.dat data2.dat .... data24678.dat To run another code, I need to have a text file with the names of the files but I need to split in 50 files per ...
2
votes
1answer
2k views

GRUB doesn't see ext4 partitions (error: no such partition)

I have strange trouble with Linux Mint 13 installation. I have Windows XP installed, I want to install Linux Mint as a second system (with dual boot), I've already done it multiple times on several ...
0
votes
1answer
66 views

Getting black controls when running linux on vmware on windows

I want to run ubuntu 12.04 LTS. I want to put the graphics in it, but when I open it, I get this. I used this command sudo apt-get install --no-install-recommends ubuntu-desktop to put the desktop ...
2
votes
1answer
1k views

exclude certain key combinations from being passed via rdesktop

When connected via rdesktop to a remote machine, normally all keys pressed inside the active rdesktop window are transferred to the remote machine. Is it possible to define key strokes, which are ...
-2
votes
2answers
109 views

Misuse of go-r *

I am working on a test server. Was logged in as root and issued cd / chmod go-r * I certainly revoked the write permissions for the users that I had created. Did I revoke the permissions (r/w/x) ...
0
votes
1answer
467 views

merge unsorted file to sorted file using shell command

I want to merge/join or produce a new merged file . Both files contain common IDs in the first column . File 1 looks like this ID Tb927.4.4670 Tb927.8.3630 Tb09.160.4310 Tb927.8.3650 File 2 ...
0
votes
1answer
492 views

rkhunter warnings about a script and a hidden directory

When I run a scan with rkhunter I get 2 warnings. I checked the log file and warnings are as the following: Warning: The command '/usr/bin/unhide.rb' has been replaced by a script: ...
6
votes
2answers
13k views

cronjob for automatic DB backup to date prefixed file

I am using the latest Linux Mint. I was wondering if it's possible to create a special cronjob for a database backup. In my /etc/cronjob file I have the following code: # Minute Hour Day of ...
-2
votes
2answers
91 views

How to delete a directory from terminal?

I'm trying to delete a directory after a series of events take place. That being said, I need to be able to place this in a file to execute once said events take place.
1
vote
0answers
200 views

xrdp: Super_L not working

My virtual machine runs xrdp and when I connect with rdesktop, the "windows" key (i.e. Super_L) is not assigned properly. Using xev I see that when the windows key is pressed, instead of showing ...
0
votes
2answers
138 views

clone create date [duplicate]

I would like to clone only the create date and the filenames in source and destination are different. The name part of it is the same, it's the extension that isn't. AVI videos in one directory, MP4 ...
3
votes
1answer
5k views

Why is swap used when a lot of memory is still free? [duplicate]

In the below 2.6.18 Linux Kernel (Red Hat) server, there is a lot of free memory, but I see some swap is used. I always thought of swap as an overflow when memory has been depleted. Why would it ...
3
votes
3answers
523 views

Source files with `*.in` extension

When poking around in some source code trees, sometimes I encounter files with extension "*.in", typically for non-compiled files that belong somewhere under /etc or /usr/share. For example, in ...
2
votes
2answers
141 views

How do I emulate su's behavior with sudo?

I'm trying to make sudo ask for target password, except when run by root. Here's what I do: Defaults:!root targetpw This way it asks for my password, and if I make it like this: Defaults:yuri ...
2
votes
2answers
137 views

Limiting number of processes by name

is it possible to limit number of processes for a given group or user using the process name? Eg. I'd like to groups remotes have only 5 simultaneous ssh processes that are run on my server. I don't ...
1
vote
2answers
1k views

start qemu by giving it a path to a linux root

Good evening, I installed ArchLinux on a USB stick, and I would like to boot it in qemu. Unfortunately, most examples I found boot an image (iso..). The stick is definitely bootable as if I restart ...
1
vote
2answers
622 views

Show two desktop pagers with different settings in KDE

I'm trying to set up a CentOS 6 system with KDE. I have an older system that use gnome that I'm happy with, and I'm trying to make the KDE system behave as much like the gnome one as possible. The ...
4
votes
3answers
756 views

How do I read the output of commands in a script

I'm learning Linux scripting at the moment, and one thing I can get working is assigning a command output to a variable. The command service httpd configtest returns Syntax is OK, so I wrote this. ...
9
votes
2answers
558 views

Which is the most portable of sed, awk, perl and sh?

Can someone put these tools in order of portability? Which of these is certain to be found on even the most minimal *nix systems? Is any of them 100% sure to be present? My guess is that the order is ...
2
votes
0answers
36 views

How to find what thing make a cycle in systemd [duplicate]

when boot with systemd, my system display this message: systemd[1]: Found ordering cycle on basic.target/start systemd[1]: Walked on cycle path to sysinit.target/start systemd[1]: Walked on cycle ...
1
vote
2answers
826 views

How to validate X.509 certificate?

I have a following expired X.509 certificate: $ openssl x509 -in openvpn.net -text -noout Certificate: Data: Version: 3 (0x2) Serial Number: 03:fa:55:a7:80:b5:b5 ...
5
votes
3answers
644 views

ls --color: how to color executable hard links?

I created some hardlinks on an NTFS drive, but because of that, they are all executable and colored as executable instead of as hardlinks (regular file with more than one link). I did a test on my ...
1
vote
1answer
45 views

Text pre-processing How to run many scripts at once

I have many scripts for text cleaning, is there a way to execute all of them at once instead of doing that one by one, for example I have : sed -i -r "s/[’'–]/ /g" *.txt sed -i 's/Aβ/ ABeta /g' ...
8
votes
2answers
599 views

How do I elevate privileges in the middle of pipeline?

My guess was as follows: echo "Generating some text" | su - -c cat >/output/file But su says: su: must be run from a terminal What would you do?
4
votes
3answers
1k views

How to commit a modified file if it wasn't locked by RCS beforehand (and I'm using Emacs VC mode)?

Sometimes, a file under the control of RCS gets modified while it is not locked (= checked out for modification by me). (In these cases, it was actually set read-only by RCS to prevent such ...
1
vote
1answer
54 views

Will having dozens of inactive logins hurt performance

I work on a cluster shared with ~20 users, many of them operating remotely. It's quite common to open the login node, type users and see ~100 users listed, mostly the same user logged in multiple ...
1
vote
1answer
968 views

Where can I find openbox logs?

I have a multi head openbox setup with fglrx as my drive. I chosen openbox from the gnome login screen of 12.10. My openbox crashes when I click to desktop left or right, but this does not happens ...
4
votes
1answer
123 views

Linux: How to calculate/find the slackspace of a file?

How would I go about finding the slackspace of a file, for instance. fls -o 63 /images/diskimg.dd istat -o 63 /images/diskimg.dd 31 icat -o 63 /images/diskimg.dd | xxd | less In which of these ...
1
vote
1answer
1k views

E: python-setuptools upgrade fails, apt-get broken

I wanted to install gnome-maps with apt-get, and then I got this error: Preparing to unpack .../python-setuptools_3.4.1-1_all.deb ... Unpacking python-setuptools (3.4.1-1) over (3.3-1) ... dpkg: ...
8
votes
6answers
7k views

How to keep Bash running after command execution?

I would like to run something like this: bash -c "some_program with its arguments" but to have an interactive bash keep running after some_program ends. I'm sure -c is not a good way as man bash ...
1
vote
1answer
75 views

AWK - every thing in one line? [closed]

Hello can I make several changes in a file using just on line with awk? For example, transform this: awk < towhee_input5 -v k="$nstep" 'NR==18 {$0=k}{print}'> towhee_input6 awk < ...
0
votes
1answer
275 views

Can continually assigning a variable in a shell script cause a memory leak?

I've written a short script to copy Apache's server status to a log: #Save date and time to a variable dt=$(date) #Echo date and time to the log file as it's not included in server-status echo "Time ...
1
vote
1answer
2k views

Understand debug messages from sshd [closed]

I'm using OpenSSH_5.8p1 in my machine,I'm connecting my machine using putty client but its slower so I have ran sshd in debug mode and found following messages can any one explain me in detail about ...
0
votes
1answer
85 views

Does NetBSD supports ppc64?

Searching for ppc64 on NetBSD's website: site:www.netbsd.org "ppc64" didn't returned any good hits.. https://en.wikipedia.org/wiki/Ppc64 My question: Does NetBSD supports the ppc64 ...
23
votes
3answers
2k views

When is a reboot required?

Apart from upgrading the kernel, are there any changes to a Linux system that require a reboot? I know there are situations where a reboot makes things easier, but are there any that cannot be ...
0
votes
0answers
103 views

gnome-screensaver or xscreensaver is better regarding security?

I'm using Ubuntu 12.04. I used to use gnome-screensaver.. but.. it happened too many times that when I closed the lid of my notebook, it suspended itself, OK, but after I wanted to turn it on again.. ...
2
votes
1answer
642 views

inotifywait not working when folder is deleted and re-created

I am trying to use inotifywait to monitor a folder: inotifywait -m -r /home/oshiro/Desktop/work_folder The command works and if I create files in that folder, all seems to work correctly. While ...
6
votes
2answers
3k views

What is the interface scope (global vs. link) used for?

Routing table entries have an attribute scope. I would like to know how the change from global to link (or the other way round) affects the network system.

15 30 50 per page