3
votes
1answer
701 views

Mutt silently failing when trying to send an e-mail from command line

I'm trying to send and e-mail from mutt from command line using following command: mutt -F /my/path/to/muttrc -s "Hello" an@email.com < test.txt But nothing happens. Mutt doesn't display any ...
1
vote
0answers
1k views

Fedora Failed to get D-Bus connection

I have a VPS with fedora 16 installed. I have setup mysql and it was working a couple of days ago. Now suddenly when I try to start mysql I get the error: Failed to get D-Bus connection: Failed to ...
1
vote
2answers
3k views

How to add boot parameters in arch linux

I want to add i915.i915_enable_rc6=1 as a kernel line as described here but I'm unsure where/how exactly.
1
vote
0answers
299 views

Information about the 1630/master app

When I run $ sudo netstat -a --programs | grep LISTENING | grep 1630 I will get this output. Do you know what good are processes running under this app name? Why they I running on my system and if ...
2
votes
1answer
183 views

Memory Management: Faulting virtual addresses

I came across the following on http://tldp.org/LDP/tlk/mm/memory.html If the faulting virtual address is invalid this means that the process has attempted to access a virtual address that it ...
2
votes
2answers
654 views

Custom title in PDF files when using ps2pdf

I convert .txt files to .ps files with enscript, OK! After that I use "ps2pdf" to convert the .ps files to .pdf files. OK! And I can see: Question: What parameter do I have to use (with enscript ...
3
votes
3answers
203 views

Using the apt package manager refuse an update for a specific package

I am attempting to upgrade a few packages using the apt package manager. However there is a specific package in the list that I don't want to upgrade. In fact I don't want anyone to ever upgrade it. ...
11
votes
4answers
7k views

symbolic link to a directory and relative path

I've created symlink with absolute path to the directory (Blink) and have for example following tree: $ ls -l /tmp/A total 0 lrwxrwxrwx 1 root root 6 Apr 3 12:27 Blink -> /tmp/B -rw-r--r-- 1 root ...
1
vote
3answers
280 views

How can I identify processes that use network facilities, and can they be killed?

In the output of netstat -a | grep LISTEN there are usually a lot of processes. How (where) can I find out information about them, what is their purpose in the system and if I can kill them? Which ...
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 ...
3
votes
1answer
1k views

Why does the setxkbmap compose key mess with other keys?

I just found a tip to set the compose key manually: setxkbmap -option compose:caps Unfortunately, after running this several keypresses act as if the compose key had been pressed. For example, to ...
2
votes
3answers
2k views

Scan for Network attached devices

Is there a way to scan for computers on the network through the command line and get their IP, MAC and DNS names without knowing anything about them?
7
votes
2answers
4k views

Strange errors when using ffmpeg in a loop

I have a bash script looping through the results of a find and performing an ffmpeg encoding of some FLV files. Whilst the script is running the ffmpeg output seems to be interupted and is outputting ...
4
votes
1answer
252 views

How to print the next crontab tasks to be executed?

Is there some way to display a list of the approaching task executions? That is, translate this crontab: # m h dom mon dow command * * * * * imapfilter 4 20 * * Sun fgit gc -- ...
1
vote
1answer
433 views

How to update MOTD regularly?

Every week there's a new work log/to-do list at work. There's a todo script which can be used to extract my own to-do items from that. Currently this is called in ~/.bash_aliases_local, which is ...
0
votes
2answers
490 views

Functional shell scripting [closed]

I found out that when I want to create some shell script or advanced command it always made me trouble to remember the names of the commands and their switches. e.g. tr -d '\n' < file | wc -c ...
4
votes
2answers
4k views

How can I resolve a stale nfs handle?

I noticed once when I shut down my home server while my desktop was connected via NFS that I kept getting "stale NFS handle warning" when entering my home dir, this caused issues with some programs ...
0
votes
3answers
138 views

CLI & Markup language

I often find myself editing files for my personal use that are plaintext. Either those are notes, annotations in project directories or sometimes the output of programs that I annotate. However, ...
2
votes
1answer
374 views

Remove a directory level from a website URL

Can anyone tell me how to configure apache to not display a website folder name at the end of a base URL, please? - but only for one out of many websites. Let me describe the scenario ... I have a ...
0
votes
1answer
2k views

The TIME field in ps -ef

When I do ps -ef, I see "TIME" field. What does this field mean? From what I understand, this tells the actual CPU time, that the process got (amidst all the context switching). Does the TIME field ...
10
votes
3answers
9k views

Why do some characters show as squares in Chrome?

For example in the dev tools I get something like: Some of these squares are at the end of lines, initially I thought they were carriage returns but it turns out they aren't. Also, squares appear ...
0
votes
3answers
3k views

How do I install Ubuntu from Suse?

I just got a new laptop (HP ProBook 4520s), and I don't have my PC here, with which I used to create bootable USB's to install Ubuntu with. I only have an USB, an external hard drive, and some ...
2
votes
3answers
2k views

Meanings of the columns in “last” command

As I was investigating a server that is rebooting in a regular fashion, I started looking through the "last" utility but the problem is that I am unable to find what the columns mean exactly. I have, ...
3
votes
2answers
3k views

sourcing a file inside a script

I'd like to source a file inside a tcsh script. In code: #!/bin/tcsh unsetenv LD_LIBRARY_PATH source $1 echo $LD_LIBRARY_PATH > temp_file The expected result: The environment variable set ...
8
votes
2answers
3k views

Remapping Caps Lock with xmodmap doesn't work

When I program I like to swap these keys: Esc ↔ Tab Ctrl ↔ CapsLock In ~/.xmodmap, I have specified these re-mappings: keycode 66 = Control_L keycode 37 = Caps_Lock keycode 23 = Escape keycode 9 = ...
10
votes
2answers
690 views

How do I prevent programs from sniffing keystrokes to su/gksu?

I've read here that it's possible for any app using the X server to sniff keystrokes to any other app which is also using the X server, including su (on a terminal) or gksu. I've heard of a few ways ...
-2
votes
1answer
73 views

About the command and the number in the man [duplicate]

Possible Duplicate: What do the numbers in a man page mean? such as: http://www.postfix.org/qmgr.8.html The qmgr(8) daemon awaits t what's the meaning of 8? just don't know it.
2
votes
2answers
1k views

Can I build a linux distro with libc instead of glibc

I recently had a conversation with a friend who is a highly skill software engineer, and he showed me some articles outlining the fact libc was much better than glibc. I wonder if its possible to ...
5
votes
1answer
417 views

How can I configure OpenBox session for opening files by mime type?

I've started using OpenBox and I really like it. But my chromium opens everything with firefox. Is there any fix for that? I'm looking for most lightweight solution, but also with easy and fast ...
2
votes
2answers
325 views

Canon iP3600 under Scientific Linux

I bought a new printer (I googled before and it looked like it's working under my OS..) I plugged the printer in a win7 machine, installed a few hundred MBytes of software, and it worked. Then I ...
3
votes
1answer
467 views

How to grab the audio channel from an MP4 video file into a separate audio file?

Having an MPEG4 (MP4 container, H264 AVC video, AAC audio) video clip downloaded from YouTube, how to separate its audio channel into an independent audio (without de&re-compressing the audio ...
4
votes
2answers
1k views

Can I read and write to the same file in Linux without overwriting it? [duplicate]

Possible Duplicate: How can I make iconv replace the input file with the converted output? I frequently connect to amazon ec2 using their public DNS names ...
1
vote
1answer
456 views

How to crop a particular part of a YouTube video clip?

Having an MPEG4 (MP4 container, H264 AVC video, AAC audio) video clip downloaded from YouTube, how to crop a particular piece of it (remove everything before a particular starting point timestamp an ...
17
votes
5answers
2k views

Vim interface on web browser input fields?

I am looking for a browser plugin which inputs textin of input boxes with the same keyboard interface of the Vim text editor. I have adopted Vimium which makes general navigation much more effective, ...
12
votes
2answers
10k views

In which log should I check for udev errors?

I've written a udev rule which is run each time my device is mounted/dismounted. However, in which Linux (Debian) error log should I check when debugging such rules?
2
votes
1answer
1k views

D-Link Wireless N 150 USB Adapter on Ubuntu

Link DWA-123 wireless adapter, on my desktop running Ubuntu 9.10 the device is being recognized as in, when I hit lsusb i get this entry Bus 001 Device 010: ID 2001:3c17 D-Link Corp. [hex] How do i ...
2
votes
2answers
5k views

Force to use specific DNS provider at network

OpenDNS offers a quite simple way for internet filtering by categories. Of course who could get the correct IP address can easily bypass the filter but it would be enough for my expectations. The ...
15
votes
3answers
30k views

CentOS eth0 not starting

Why would my new CentOS Virtual Machine not start eth0 on startup? I have to start it manually every time. How can I fix this? Thanks.
2
votes
1answer
189 views

Why are my drives referred to as '(hda0,msdos5)' etc in grub instead of (hda0,5), (hda0,sda5) etc that you usually see?

I'm fiddling about trying to get a multiboot system (win7, ubuntu, lion) on one drive working with grub 2, but was wondering what the msdos part meant on my system. I don't see it like that on any of ...
2
votes
1answer
276 views

HDCP Software Implementation [closed]

How to do software implementation of HDCP for Linux ?
4
votes
3answers
724 views

How to skip file in sed if it contains regex?

I currently use the following simplified command to remove trailing whitespace and add a newline at end of file where needed: find . -type f -exec sed -i -e 's/[ \t]\+\(\r\?\)$/\1/;$a\' {} \+ As ...
2
votes
3answers
790 views

loop to paste specific files in different directories

I some directories that contain a similarly named file eg (*Sample_name*.base.coverage.txt). And I would like to paste all of the *base.coverage.txt files together. I have something written, but its ...
2
votes
3answers
291 views

repeat twice each couple of strings in a for cycle

I need to pass to pdftk, a list of arguments constituted by strings repeated twice like: A1-2 B1-2 A3-4 B3-4 A5-6 B5-6... and so on... I managed to achieve this with this workaround for ((x=1, ...
6
votes
2answers
10k views

How to see complete list of processes in top

When I do 'top', I learn that there are many processes running out of which many are in sleep state. I need to see complete snapshot of all processes at that point. the 'top' is able to show listing ...
7
votes
3answers
9k views

How to set umask for a system-user?

Is it possible to set the umask for a system-user (created with useradd --system username)?
6
votes
1answer
243 views

How to run programs with arguments like 'arg=val' (e.g. dd) in rc shell (Linux version ported from Plan9 OS)?

I'm trying to use rc shell (Linux port from Plan9 OS) and get 'syntax error' messages when using programs with arguments like arg=val. ; dd if=/dev/zero of=/dev/null syntax error ; ls --color=auto ...
10
votes
5answers
700 views

Why using rpm if there's yum?

As we know yum is a package management system which was built on top of rpm. It's also a command line utility which is a(rudely speaking) broader version of rpm, it resolves many problems(the main is ...
3
votes
2answers
778 views

How to stop bash replacing commands in history with asterisks ? (‘*’)

I have some commands replaced with * in the bash history, e.g. 1094 apt-get update 1095* 1096 dpkg -i /var/cache/apt/archives/libssl1.0.0_1.0.0h-1_amd64.deb How to prevent this?
1
vote
2answers
149 views

Logfiles for non terminating processes

I am writing a program that is designed to never terminate, It will also produce large logs (files) of what it is doing. What I would like is for a linux process to periodically (every X minutes ...
5
votes
2answers
4k views

Download list of files if they don't already exist

If I have a list of URLs separated by \n, are there any options I can pass to wget to download all the URLs and save them to the current directory, but only if the files don't already exist?

15 30 50 per page