5
votes
1answer
522 views

LXDE environment looks and behaves like openbox

I have two logins on my box, one for work and the other for personal (I'm on crunchbang). Both run LXDE by default. As of yesterday the work login started acting like an Openbox session, ie you had ...
11
votes
3answers
19k views

Manually run a cron job / simulate running cron job?

I am new to cron and I want to test if cron's mailing stuff after an executed task and things like that work. Is there a more elegant way to test this, then setting a cron job to run every few ...
1
vote
0answers
163 views

Gigapixel Panorama not loading after converted with imagemagick

I made a 3GB tif panorama, but as 3GB is a too big size to open in a computer with a 3Gb RAM, i converted it to JPG convert input.tif output.jpg The result was a 15Mb(?!?) JPG, which i am unable ...
2
votes
1answer
2k views

Recover damaged grub loader on Scientific Linux 6.3

So... there is a notebook far away from me, and I can only sit in front of it in about a month. So I'm searching for a solution - "remotely". Scientific Linux 6.3 is installed on it, and it worked ...
7
votes
1answer
2k views

Tmux output is slower when vertical splits exist: why?

When I use Tmux and split the window into panes, I notice that programs are quite a bit slower to print out lines of text when there is vertical split (two panes side by side) than when there is a ...
3
votes
2answers
1k views

Format disk through rootfs terminal

I've got into a strange situation (because of my own stupidity of course:-)). I kept failing to install Chakra Linux from Live USB, so I was thinking that the reason could be that I created the Live ...
1
vote
1answer
1k views

AutoMysqlBackup --lock-tables=false

I'm trying to use AutoMysqlBackup script to perform daily backups of my application. Unfortunately on the first try it didn't served me how I thought it would. I believe that the script has used the ...
2
votes
1answer
526 views

Download file linked in MySQL DB, extract text and insert into db with bash script?

I want to download a file (only download if the url ends with a certain string), which URL is in a MySQL database, extract the text and write the text to the database, by replacing the url. And this ...
1
vote
2answers
784 views

Auto-expansion problem with array elements containing an '*' (asterisk)

I'm trying to write me a find script that should later be able to read a list of directories to be excluded from an external file. Whilst I can accomplish that part myself, it's the annoying array ...
3
votes
3answers
985 views

Is there a way to get *actual* (uninterpreted) shell arguments in a function or script?

I have a function posix that I use in the Git bash shell on Windows to transform DOS-style paths to normal Unix-style paths. Since DOS-style paths use a backslash as separator, I have to quote the ...
4
votes
2answers
1k views

Get line number in a Bourne shell script

I'd like to be able to print the current line number in a shell script. I know about the $LINENO variable in Bash shells, but it doesn't seem to exist in Bourne shells. Is there any other variable ...
2
votes
0answers
1k views

How to setup 3 screens with 2 ATI GPU Debian Squeeze

I want to use 3 screens on my computers with 2 graphics card ATI Radeon HD 5450. I've installed fglrx ATI drivers. Here is the result of lspci : root@dev1:~# lspci | grep VGA 01:00.0 VGA compatible ...
1
vote
1answer
386 views

Camera capture is too slow

I had being conducting some experimentation with my Beagleboard and camera. The camera was working perfectly well initially. Later I extended my experiments by disabling the 'auto-exposure' and ...
5
votes
1answer
1k views

Command & binary exists but cannot be executed

I transfered /etc/* files from one Linux server to another and now I have a strange error. Both are Debian Squeeze. When I run a command, e.g. ssh, I get an error: bash: /usr/bin/ssh: No such file ...
8
votes
3answers
22k views

How to grant read/write to specific user in any existent or future subdirectory of a given directory?

I'm a complete newbie in system administration and I'm doing this as a hobby. I host my own git repository on a VPS. Let's say my user is john. I'm using the ssh protocol to access my git ...
0
votes
1answer
3k views

su authentication failure after setting new password

I compiled a new kernel(3.2) and I have it running on an ARM board. I wanted to enable some params on the /proc directories. Therefore I have to be logged in as root. Hence I did the following on my ...
2
votes
4answers
12k views

How to permanently change the file/directory permission [closed]

How do I change the permission of file/directories such that I am able to create, edit, delete files/directories anywhere in my system? Currently I am using Ubuntu 12.04. I tried sudo chmod 777 -r ...
2
votes
2answers
799 views

Share files via bluetooth

I'd like to transfer files located on the harddrive of my laptop Acer Travelmate 4002 WLMi to my smartphone via bluetooth. My system is Ubuntu 12.04. I tried so far. $ sudo service bluetooth start ...
4
votes
1answer
2k views

Substitute pattern within a file with the content of other file

I have a text file (devel.xml). I added the word REPLACETHIS to it in order to replace this string with the content within a different file (temp.txt). The closest thing I have is this: sed -i -e ...
2
votes
0answers
237 views

what is the correct Courier / Maildir++ email (sub)folder format?

For representing the logical email folder structure, a "Maildir++" format exists that was first implemented by the Courier mail server, thus sometimes also being referred to as the "Courier" format. ...
7
votes
1answer
1k views

Given a private SSH key, how do I recover my public key?

I've somehow lost my id_rsa.pub file. I still have my id_rsa file. How do I recover the public key from the private key? (This question came up after ssh-copy-id was reporting "ERROR: No identities ...
1
vote
3answers
225 views

How to sort and join at the same time?

I have 2 files, one having 2 columns, another having 1 column. The second file is sorted using sort -u. Now the task is I need to join this column with the first column of the first file, which is not ...
3
votes
2answers
145 views

Advanced file filtering

I have 3 distinct folders: history, inbox, backup. I need to copy all the files from 'history' to 'inbox', only if they are not present in 'backup'. How to do this?
1
vote
2answers
99 views

bash autocompletion resets on every window

My terminal autocompletion does not work properly when I use root. source /etc/bash_completion works if I invoke that manually. I need to write above code in every new root terminal to be able to ...
12
votes
3answers
4k views

Online grep exercises?

Are there any online grep tutorials that would feature some online tool for performing exercises? For example, having some predefined text sample and being told what patterns to find and so forth? It ...
6
votes
1answer
1k views

accessing files hidden by mounted drive [duplicate]

Possible Duplicate: Access to original contents of mount point I have a directory d containing some file f and I mount a drive on directory d. Is there a way of accessing file f without ...
0
votes
2answers
1k views

GTK-2 error when installing Glassfish plugin for Eclipse on Fedora 16 64-bit

I have Eclipse running fine on my Fedora 16. I was following these instructions to install the Glassfish Tools Bundle for Eclipse (which has to be done outside Eclipse through its own installer) and, ...
3
votes
4answers
2k views

Modification and Access time of a file?

Is it possible to change the file modification time without changing the file acess time?
0
votes
1answer
812 views

Shell script to recursively grep data from certain files in the directory and return values to file [closed]

I am making a simple shell script which will minimize the time I spend in searching all directories under a parent directory and grep some things inside some files. Here's my script. #!/bin/sh ...
10
votes
2answers
10k views

Where does virt-manager store config files?

I checked ~/.libvirt* and ~/.config/libvirt*, non of them seem to contain config file of created VM, where is the config stored? I'm not running virt-manager as root user.
13
votes
3answers
2k views

How can I run a script during GNOME logout if I don't have admin privileges?

I want to run a script before I log out of my GNOME session, to warn myself if I have forgotten a pendrive plugged into the machine. However, all solutions I have found have not been enough for me: ...
2
votes
3answers
2k views

ntldr.mod missing from GRUB2

I use Debian Wheezy on EFI motherboard and need ntldr module in GRUB2 to load bootmgr of Windows 7 installer, because the way it starts on its own (apparently, using the boot sector of the USB flash ...
1
vote
1answer
1k views

Why do I need to install -devel packages?

I am new to Linux and wonder why many times when I install package with yum I need to install package-devel.i386 rather than package.i386. What is the difference between them?
4
votes
4answers
14k views

How do I tell if a folder is actually a symlink and how do I fix it if it's broken?

How do I tell if I have a symlink, a shortcut of some sort, or a folder in Linux? Please see following screenshot. As you can see, the ls command lists objects where some are colored in dark blue ...
4
votes
1answer
1k views

auto reconnect VPN on waking up

When I wake up my computer, the internet automatically reconnects, however the VPN does not. Is it possible to make it automatically reconnect (using the network manager on KDE, or at least in a way ...
2
votes
1answer
142 views

Prevent Iceweasel from allowing sites to override default shortcuts

For example, I use Ctrl-L to mark the URL field. On some sites, this is overridden to do something else. How do I make this never happen?
4
votes
3answers
4k views

ERROR: unable to download video

I have been using youtube-dl to download videos from YouTube, but suddenly it stopped working: youtube-dl "http://www.youtube.com/watch?v=wglrcytdE9Y&feature=related" [youtube] Setting language ...
2
votes
1answer
395 views

Why does TOP never show cpu usage reaching 100%?

I have a dual-core processor. I'm running two instances of the program below void void main(){ int i; while(1){ i=i+1; } } I run TOP and CPU usage gets up to 97%, however it ...
4
votes
2answers
159 views

mpd/xine like daemon for displaying pictures?

I am looking for a daemon that allows me to programmatically display pictures under X and that listens to commands on a socket or network port. Basically think mpd or xine, just not for audio or ...
17
votes
1answer
2k views

What is Linux doing differently that allows me to remove/replace files where Windows would complain the file is currently in use?

The example I have is Minecraft. When running Bukkit on Linux I can remove or update the .jar files in the /plugins folder and simply run the 'reload' command. In Windows, I have to take the whole ...
3
votes
1answer
895 views

Confused about ident

I inherited a bunch of files that begin with the following statement at the top Ident:/some/path/to/a/file Ident seems to be related to C coding and make files but I am not really sure. None of the ...
0
votes
1answer
202 views

RAID disk lost in just one machine

I have a Blade Center H and a DS4700 SAN. Today we detected one problem in the mail service in one of the blades. It can't see a particular volume available in the SAN. All other blades can see SAN ...
0
votes
1answer
400 views

Does anyone still use MINIX? [closed]

I was just curious if anyone still use MINIX and for what purposes. I found this article but it doesn't go in detail about who uses it and for what. Thanks
5
votes
2answers
6k views

How do you dual boot Debian and FreeBSD using GRUB2?

I've been trying to install FreeBSD alongside my Debian installation in a single partition. All examples readily present on the Internet had shortcomings: Some required chainloading the FreeBSD ...
4
votes
3answers
1k views

Error when try to install KVM on CentOS

I am trying to install KVM from Installation doc. When I run the command modprobe kvm-intel I get the error FATAL: Error inserting kvm_intel ...
0
votes
1answer
2k views

Got fatal error during xfer (Child exited prematurely)

I have a backup server which takes backup of other servers and in few days back the backup server started experiencing error and the not able to take back. I think the error log bellow could describe ...
3
votes
1answer
799 views

Trying to use multiple Debian repositories

General situation: I need to port a Qt project from MS Visual Studio 2010 to Linux (Debian). In VS 2010 I have Qt v.4.8.1, but in Debian it is Qt v.4.6.1. This difference prevents me from porting, as ...
1
vote
1answer
2k views

cURL socks5 proxy: “Empty reply from server”

I'm accessing an http resource using Chrome, FoxyProxy without any problems. The proxy is defined as socks5 in the standard port 1080. I've tried accessing the same resource using cURL (actual URLs ...
2
votes
0answers
173 views

Silent boot opensuse without fbsplash

I want to boot my openSUSE 10.3 distro without any boot messages. I've looked at fbsplash, but it requires patching the kernel, a thing which I cannot do at the moment (not because I don't want it or ...
1
vote
2answers
1k views

Configure timestamp format of kernel log?

Is there a way to change the format of timestamp in kernel logs? It was something like 2012-08-27T8:54:35.939421+03:00 now, I also checked sysctl -a | grep log, nothing found really.

15 30 50 per page