2
votes
1answer
489 views

How to make difference between .wxm (wxMaxima) and .c files in Linux Mint?

I installed wxMaxima on my laptop a few days ago. The issue is that files with the extension .wxm, that are used with wxMaxima, are identified as a C source files. Therefore, when I double click on ...
2
votes
1answer
667 views

Replace semicolons to commas between the quotes only [duplicate]

Possible Duplicate: Remove comma between the quotes only I'm trying to use awk function to replace the semicolons between quotes to comma and it is 98% ok for me, because I want to keep the ...
2
votes
1answer
1k views

Where is fsck startet for the root filesystem at boot?

I want to extend an existing Debian 6.0 system so that it is able to automatically fix a corrupt root file system by restoring a separate image. That process should start automatically instead of the ...
2
votes
0answers
141 views

How do I get gnome to use the same keymap for control as normal?

I'm using a relatively new centos system with Gnome. I have set the keyboard to dvorak, which was really easy and straightforward. However, for some reason, the control keys are still qwerty. I ...
2
votes
2answers
64 views

Searching for terms in a set of files

I have two files: files_to_search.out terms_to_search.out I'd like to create a command that identifies terms in terms_to_search.out that are not used in any of the files in files_to_search.out Is ...
2
votes
2answers
959 views

Is there any impact of reaping zombie processes?

I will execute following command for reaping zombie /usr/bin/preap $(ps -ef | grep defunct | grep -v grep | awk '{ print $2 }' | xargs) Is there any service impact of this approach ?
2
votes
3answers
4k views

How do I tail a log file and keep tailing it when the latest one changes date?

I'm using RHEL 4. The normal tail -F file_name*.log doesn't update when the time flips over to 0000. Here's what I've tried so far from searching the web, both of which try to use nested tail: ...
2
votes
0answers
72 views

Is it possible to modify the colors in bash? [duplicate]

Possible Duplicate: Is it possible to configure Bash so that STDERR can be a different color than STDOUT? In bash, the only color I know how to modify is the prompt, using \[ and \]. From ...
2
votes
2answers
730 views

Bandwith monitoring in Linux

I just need to get how much bandwidth is used in 3 or 4 days. Do you have any application in the terminal to do it? I'd prefer if it didn't use SNMP. I found iptraf, wireshark, cacti, but they were ...
2
votes
1answer
2k views

Unable to mount /home/ partition after reinstalling grub after reinstalling windows 7

I've reinstall windows 7 on it's asignated partition and, as usually, it override the MBR with it's own stuff and, thus, it was not possible to boot to my ubuntu 12.04 partition. I followed the step ...
2
votes
1answer
513 views

Script for courier maildir folders on CentOS LAMP environment

I'm looking for resources to help me build a script to do monthly maintenance of maildir folders for a typical CentOS LAMP VPS hosting environment. I would like to run a script that runs from a ...
2
votes
1answer
659 views

Which filesystem to use when a samba share should allow for NTFS encryption?

I'm using a NAS (Buffalo LinkStation Pro with SSH access, if that matters) which runs Linux (2.6.31.8 #1 Fri Jun 8 11:07:30 JST 2012 armv5tel GNU/Linux, with smbd --version = Version ...
2
votes
1answer
352 views

zsh prompt not escaped properly

This is my current prompt definition: PROMPT='%(?..%F{red}%?%f:)%F{blue}%n%f:%F{green}%{${PWD/#$HOME/~}%} %(!.%F{red}.%f)%# %f' The cursor sometimes starts one character behind the actual prompt, ...
2
votes
1answer
1k views

How can I get GRUB to configure my screen properly?

My screen says that it can't display the stream, and to use 1680x1050@60Hz as soon as grub would be loaded. I was told by #hardware on irc.freenode.net that this was due to grub missconfiguring the ...
2
votes
1answer
671 views

Move / to a new partition

I have Windows 7 and Debian dual-booted on my laptop. I'm getting cramped for space on the Debian side, so I want to remove the Windows partition and use the whole computer for Debian. I'm currently ...
2
votes
1answer
205 views

Stop tab completion suggesting 'messagebus'

I've got a directory called build, which I cd into quite a bit. If there isn't any directory bu* in the current directory, zsh tab completion: cd buTAB suggests messagebus/, which isn't in .. If I ...
2
votes
1answer
239 views

No sound with the newest kernel version - is this a kernel bug or something else?

I have an external USB sound card on a Fedora 17 system (64 bit). It stopped playing sound after I updated the kernel to 3.5.4-1 (the problem persists under 3.5.4-2). As the sound card still plays ...
2
votes
1answer
306 views

xv-like image viewer that lets me annotate/mark images?

When I'm viewing many images w/ xv (sometimes in "visual schnauzer" mode), I sometimes want to "bookmark" or annotate a given image. I don't think xv can do this, but is there another xv-like image ...
2
votes
1answer
862 views

Problem at booting Windows from GRUB2 menu made by Debian for itself

I've Asus UEFI motherboard with 2 hard disks, (hd0) and (hd1). I managed to make my Debian Wheezy on my second disk bootable using grub-efi and it boots OK. I also have Windows on the first disk, ...
2
votes
3answers
2k views

How to clone linux installation onto an external harddisk?

I see a lot of dd related questions, but could not find answers to the following. If question/answers already exist, please point to them, then flag to close, delete or merge. Can a working linux ...
2
votes
3answers
800 views

Which is a better way to search- find with regex or find with grep?

Of these two ways of searching a file recursively in all the subdirectories, which is faster / better ? find . -regex ".*/.*abc.*" or find . | grep ".*abc.*"
2
votes
1answer
337 views

String syntax for the kbd macro in Emacs [duplicate]

Possible Duplicate: Associating a function in Emacs after looking up the code with M-x describe-key I have typed the following macros on my .emacs file (global-set-key (kbd ...
2
votes
2answers
4k views

Getting config error for yum in CentOS

I'm very new to linux, and I am using CentOS in a VM for program testing. Everything seems to be fine, except for every few minutes I get this error: Error Type: <class 'yum.Errors.ConfigError'> ...
2
votes
2answers
2k views

Setting up LS colors with a human-readable script in tcsh

I have a shell script (set_up_my_ls_colors.sh) that, if I call from my shell, it configures my color scheme for ls. The nice thing about the script is that it allows me to configure colors in a ...
2
votes
1answer
1k views

Chromium browser displays blank screen

Xubuntu 11.10 oneiric armel Asus eee pad slider sl101 nvidia-tegra 2 arm tablet chromium browser 18.0.1025.151 Browsers which work fine are: Midori Epiphany Firefox Opening a link in ...
2
votes
4answers
6k views

How can I find all files in a folder that contain a match of a regular expression in the file name?

I'd like to find all of the files in my home folder on Linux (Ubuntu, in this case) that contain a match a particular regular expression. Is there a simple Unix command that I can use in order to do ...
2
votes
2answers
4k views

Merge multiple flv files?

What tool in Linux can I use to merge multiple flv files ? Files are already in order, just put them altogether seamlessly
2
votes
5answers
14k views

awk-Printing column value without new line and adding comma

input.txt EN1 EN2 EN3 EN4 EN5 output EN1,EN2,EN3,EN4,EN5 I have tried awk.But it is not printing with comma awk 'BEGIN { OFS = ","} { printf $1}' input.txt I have GNU Awk 4.0.0 version
2
votes
2answers
643 views

mutt: gmail IMAP unresponsive

I read gmail via IMAP with the mutt MUA. If I leave mutt open and idle for several minutes, then the program becomes unresponsive to keyboard input, requiring me to kill the process. I am not certain ...
2
votes
5answers
4k views

Perl script, do cd on terminal

In Script to change current directory (cd, pwd) it is shown how to run a bash script that changes terminal directory. But how do i run a perl script that runs a bash script that changes terminal ...
2
votes
1answer
852 views

Building GCC inside a chroot from source

In a previous question I asked about creating a chroot that simulates my embedded device environment. It was suggested that I build from source GCC and binutils first inside my chroot. To attempt this ...
2
votes
2answers
435 views

Change Owner of Folder in SCO

How can I change the Owner/group of a folder in SCO? I did: ls -l and got the following: ... drwxr-xr-x 9 root root 512 Jul 2 10:09 opt ... I have tried: chown /opt But that hasn't worked. ...
2
votes
2answers
619 views

Gaining root privileges in SCO

I am learning Linux for work, so am still a bit rusty on the edges. I need to change the folder permission of the directory /opt, and I know in Linux, you do the following: chmod 775 /opt I get a ...
2
votes
1answer
667 views

lsmod returns nothing on my embedded device

I have put a vendor supplied embedded Linux installation (called X-Linux) onto a hardware device. I ran lsmod to see what modules are loaded and nothing at all is shown. Also there is no /proc/modules ...
2
votes
1answer
178 views

perl-get input, check conditions

cat input1.txt ##gff-version 2 ##source-version geneious 5.6.4 Xm_ABL1 Geneious CDS 1 168 . + . Name=Xm_ABL1;created by=User;modified ...
2
votes
2answers
3k views

How do I edit the terminal launch command in Linux Mint?

In Linux Mint (Debian-based) how can I edit what the shortcut Ctrl+Alt+t launches? For example, I would like to issue gnome-terminal with the --maximize option, and to have it launch tmux instantly.
2
votes
1answer
5k views

CPU and core usage stats

I'm running some programs on a server and I would like to know how much % cpu I'm taking up and how many cores are being utilised by my process. To clarify, the server has 16 CPUs, all quad-core. I ...
2
votes
4answers
2k views

Run if statement on remote machine

I'm trying to run a set of commands on a remote machine, that includes an if statement. I'm using this to shutdown a list of kvm instances. The first line should be fine, but could be prettier, rest ...
2
votes
1answer
989 views

Lm-Sensors: Run specific commands when temperature goes above/below limits

I have a pretty badly ventilated computer whose temperature reaches 100º C in some occasions. The poor thing can't be ventilated any better ("put a bigger fan" is not a suitable solution). When the ...
2
votes
2answers
17k views

Cannot connect to my Virtual Box Ubuntu system

I have a VirtualBox running an Ubuntu OS. I'd like to access this Ubuntu machine using ssh or telnet. In order to do that I've performed the following steps: sudo apt-get install telnetd sudo ...
2
votes
1answer
397 views

How to join vCards lines

vCard uses a special way to split long lines: At 75 characters, insert a DOS newline and a space. Joining therefore means to replace all occurrences of the sequence "CR, LF, space" with an empty ...
2
votes
3answers
961 views

Dead (compose) keys not working in GTK apps since upgrade

I'm running Kubuntu with KDE as my main desktop environment. A while ago I set up dead keys so I can type Chinese pinyin and other accented letters and special characters. As a side note, I use IBUS ...
2
votes
1answer
2k views

Keyboard and mouse do not function in Debian

I powered on my laptop running Debian kernel 3.3.0. After the boot process starts the X server and KDE, my keyboard and mouse do not function. Keyboard input works when I use the Recovery Console, and ...
2
votes
2answers
549 views

Is there a way to get the filename (or title) of a completed print job?

The lpq -a lists, among other things, the name of each file printed. Rank Owner Job File(s) Total Size active myuser 2 version.txt 1024 ...
2
votes
2answers
2k views

OpenSSH, chroot user: Root needs to own the user directory, is there any consequence?

I want to create an account for my friend on my computer, but I don't want my friend to be able to view all my files. I saw that with OpenSSH, there is an option for that. Inside the SSHD ...
2
votes
1answer
7k views

/lib/modules/2.6.37.6/build missing in linux puppy? what should I do?

I am new to linux as of yesterday. I'm using linux puppy to try to get the most out of a 10 year old, slow laptop. I installed it fine, no problems there, but as soon as I try to use my usb dongle's ...
2
votes
0answers
356 views

Dual boot Fedora 16 with OS X refit

Having trouble with installing Fedora 16 on my Macbook Pro. While the installation itself completes without and issues, the bootloader doesn't install correctly. I have rEFIt, which I already have ...
2
votes
1answer
127 views

pipe and log STDOUT at the same time

Some programs output very detailed data, for readability I use awk to filter them. ./output_many_things | awk '{print $1 "\t" $2}' But I don't want to miss anything. Could I redirect the complete ...
2
votes
1answer
538 views

How to set separate global/user keyboard settings in LXDE?

I need to have English (US) and no compose key for the system, and I'd like English (Dvorak alternative international no dead keys) + Caps Lock as the compose key for myself. How can I set this up? I ...
2
votes
1answer
558 views

Is it possible to customise the prompt to show the if there are any background jobs?

Is it possible to customise the bash prompt to show the if there are any background jobs? I find it easy to forget that there are background jobs. Say if the prompt was... $ Is there a way to ...

15 30 50 per page