3
votes
1answer
893 views

Running Plasmoid under NOTKDE (e.g. Fluxbox) - Plasma/DeviceNotifier

Is there way to run Plasma/DeviceNotifier under another WM to KWin/KDE (e.g. Fluxbox). To be more specific, I have currently configured KDE, but I work remotely thorough SSH -Y + X-forwarding. So ...
2
votes
1answer
1k views

How does one remove items from the menu plugin on LXPanel?

How does one remove items from the menu plugin on the panel? I am using lubuntu 11.10, LXPanel 0.5.8.
7
votes
5answers
1k views

Run entire OS from flash drive

I am looking for a distribution that can run the entire OS from a flash drive. This question is NOT about being simply able to boot and/or run OS from a USB stick: what I am looking for is a ...
2
votes
3answers
726 views

How to create a VirtualBox HDD?

I need to have a file on a VirtualBox guest's HDD. What are the solutions for this? How can I put a file on a Virtualbox guest's HDD? Version: virtualbox-4.1 4.1.8-75467~Ubuntu~lucid I mean I need a ...
25
votes
1answer
7k views

How can I execute `date` inside of a cron tab job?

I want to create a log file for a cron script that has the current hour in the log file name. This is the command I tried to use: 0 * * * * echo hello >> ~/cron-logs/hourly/test`date "+%d"`.log ...
30
votes
1answer
27k views

ulimit: difference between hard and soft limits

What is the difference between hard and soft limits in ulimit? For number of open files, I have a soft limit of 1024 and a hard limit of 10240. It is possible to run programs opening more than 1024 ...
11
votes
1answer
7k views

Difference between gawk vs. awk

Trying to understand the differences between the two functions gawk vs. awk? When would one use gawk vs awk? Or are they the same in terms of usage? Also, could one provide an example?
16
votes
1answer
20k views

How can I set up logrotate to rotate logs hourly?

According the the Unix and Linux Administration Handbook and man, logrotate has options for daily, weekly, and monthly, but is there a way to add an hourly option? This blog post mentions you can set ...
86
votes
7answers
129k views

How do I remove a user from a group?

Which command should I use to remove a user from a group in Debian? When adding a user to a group, it can be done with: usermod -a -G group user However, I could not find a similar command ...
5
votes
6answers
7k views

Configure reboot on Linux kernel panic

You can put "panic=N" on the kernel command line to make the system reboot N seconds after a panic. Is there a config option to specify this (other than the default kernel command line option)?
5
votes
3answers
650 views

Bash globbing of multi-part argument

Below are some examples of a find command I'm trying to run. I'm looking for different ways that I might be able to use globbing to generate (as an example) a find command with predicates joined ...
6
votes
3answers
429 views

How can I tunnel traffic for a NATted host to another server?

I have a device on my private network which I don't wish to allow to directly access the internet from my gateway. Instead, I want to tunnel that traffic from my gateway to another server (also mine) ...
4
votes
1answer
2k views

How to fix zramswap error?

I installed zramswap-enabler on Ubuntu 11.10 using the ppa but when installing programs or running system upgrades I get this error: Setting up zramswap-enabler (0.2.1-0~12~oneiric1) ... start: Job ...
3
votes
2answers
455 views

Capturing new output after deleting the output file

I'm runnig a java server on Debian with this command: java -jar myapp.jar [args] >> log.txt Once I gzipped the log file to send it and then I realized the original file was gone, leaving me ...
4
votes
2answers
43k views

pdksh missing from RHEL 6 and CentOS 6?

The package pdksh does not exist on RHEL 6 or CentOS 6 when I try to install it through yum. So my questions: Why is it no longer available in the default repositories? It is available in version ...
2
votes
1answer
380 views

Linux Router Load Benchmark

What tools and methods can be used to stress test a Linux-based router/proxy? On the router Squid, Apache Modproxy and Privoxy are installed. The purpose of the stress test is to determine which proxy ...
8
votes
2answers
4k views

Group member cannot write even with write permission

The logged in user is a member of a group that has a write permission on a folder. But when this user is trying to write something, "permission is denied". The log below summarizes the question: ...
2
votes
2answers
1k views

Convert a lot of .tif files using imagemagick's mogrify command

I have a lot of tif images in a directory. So I try to convert them into jpg format. I use this command : mogrify -format jpg *.tif But I get an error... an error for each image in fact: mogrify: ...
4
votes
3answers
416 views

Number of X screens corresponding to number of “Screen” sections in xorg.conf file for multi-monitor configuration

I want to set up a multi-monitor configuration where two "landscape" oriented monitors one above the other and two "portrait" oriented monitors one right of the other combine into a single large ...
9
votes
4answers
2k views

Delete whitespace for a set of lines in Vim editor

I have some text like the following in a file: sample text some random text even more random text text with no indent worst indention I need to delete the empty space before each ...
2
votes
2answers
299 views

Precautions to be taken while make oldconfig

If a previous kernel (assuming it is not from the stone age) compiles successfully, does it make sense to assume that old config file if copied to the new kernel, will compile successfully too? What ...
2
votes
2answers
2k views

Updating /boot/grub/menu.lst on OpenSuSe 11.3

I compiled the latest kernel, and the menu.lst is updated as follows. My aim is to keep the other kernel around, so that if the new one fails we can still boot from the other one. Is this the correct ...
7
votes
3answers
4k views

Transform an array into arguments of a command?

I have an array of "options" of a command. my_array=(option1 option2 option3) I want to call this command in a bash script, using the values from array as options. So, command $(some magic here ...
1
vote
1answer
372 views

Can't su root after editing PAM confiugration on Rackspace Linux box

I've just hosed a system. Working on pam-ldap on an Ubuntu box, I've run pam-auth-update and told it to override local modifications (which had previously allowed for sudo su, but I was having issues ...
5
votes
1answer
607 views

Giving a custom script root permissions

I have a backup drive that is Truecrypt Encrypted. I'd like to automnt this drive so I can automate backups when in the office. I am using Linux Mint 12 x64bit I wrote a script that runs successfully ...
5
votes
3answers
3k views

Disable bash tab completion

Is it possible to disable bash's autocomplete on pressing tab? The reason I want to do this is that I often paste code from an editor where I use the tab character instead of a number of spaces for ...
4
votes
4answers
4k views

UDEV rule when USB flash drive is unplugged

I wrote a rule to automount my USB stick to certain folder but when I unplug it the folder still mounted and when I ls there I see a lot of errors like: Directory bread (block: NNNN) failed I tried ...
5
votes
6answers
2k views

Help with OS choice for High Performance Computing

I have been using Ubuntu 10.04 for 2 years now and honestly, I am somewhat bored of Linux and wish to explore Unix (or Unix Like) now. I don't want a dumbed down version (like Ubuntu) anymore and want ...
3
votes
3answers
489 views

How to make svn look for if there is an update once a minute and if there is call some script?

I am developing a server app. I have a remote machine with Debian that I use for testing. Currently I update the server manually when each new svn version comes out. It is just a testing server and ...
4
votes
1answer
289 views

Is there any way to have console (rogue) mode programs take over only part of the terminal screen?

I like the command line because it preserves the context of what I'm doing. But if I use a "rogue" mode program like vi or less, the whole screen gets taken over. Is a middle way possible, where the ...
-3
votes
1answer
151 views

Firefox 3.6 end of life when? [closed]

When will be Firefox 3.6 end of lifetime?
6
votes
3answers
19k views

FreeNAS versus a regular (CentOS/Ubuntu) linux server?

I'm looking to build a medium sized (6TB, mini ITX board) server for personal use. Most importantly, it will serve as a seedbox and will store a whole lot of data. I will be accessing the data over my ...
4
votes
2answers
7k views

Difficulty with mobile broadband device being recognized (registered as CD ROM)

I am running Ubuntu 10.04 LTS on a Samsung n150 netbook. I have bought a vodafone pay-as-you-go mobile broadband dongle. It is a Huawei device. I have *usb_modeswitch* installed. I installed betavine ...
6
votes
3answers
1k views

Keep running a script via ssh

ssh can use to run remote commands. ssh me@server.com 'long-script.sh' I run a long script that will take a lot of time, but I want to close my computer and keep running the script in the remote ...
6
votes
1answer
747 views

How to detect and delete lines containing ˆ@

I have a simple problem: In my file, the are lines containing the string ˆ@ˆ@ˆ@ˆ@ˆ@ˆ@. I just want to delete all lines with this string, using for example the sed or grep commands. And I would like ...
2
votes
0answers
170 views

Adobe Air version > 2.6 port

I just want to know if anybody is aware of a port of Adobe Air Runtime > 2.6. Adobe officially discontinued support of air technology for Linux desktop after releasing 2.6 and I got some .air app ...
6
votes
1answer
2k views

Why index files? [closed]

I installed Linux on something like 3 or 4 different machines last year, and in two cases, I had a serious urge to vomit after noting that file indexers such as virtuoso (Debian testing with the ...
1
vote
1answer
599 views

Upgrade swig 2.0 or newer

I'm using Fedora 13 and I have swig 1.3 installed: $ swig -version SWIG Version 1.3.40 I need to upgrade it to swig 2.0. How is this done?.
21
votes
4answers
27k views

How to monitor only the last n lines of a log file?

I have a growing log file for which I want to display only the last 15 lines. Here is what I know I can do: tail -n 15 -F mylogfile.txt As the log file is filled, tail appends the last lines to the ...
6
votes
2answers
12k views

How to create an initrd image on OpenSuSE linux?

/usr/src/linux-3.2.1 # make install scripts/kconfig/conf --silentoldconfig Kconfig sh /usr/src/linux-3.2.1/arch/x86/boot/install.sh 3.2.1-12-desktop arch/x86/boot/bzImage \ System.map ...
29
votes
3answers
10k views

Shell: how to go to the beginning of line when you are inside a screen?

I am inside a screen (screen -Ra). I have a long command, and I am at the end. Instead of keeping the left arrow, how can you go to the beginning of the line? CTRL-A works when I am in a normal ...
1
vote
0answers
200 views

Full screen mode for Chromium or other applications on FreeBSD with Gnome 2

Can I set Chromium and some other applications on Gnome 2 in FreeBSD 9 to run in full screen mode? I mean a window that covers the top panel, not Chrome full screen or toggle full screen key binding. ...
4
votes
1answer
669 views

Compiling the kernel with default configurations

Assumptions: The platform: anisha@linux-dopx:~/> uname -a Linux linux-dopx 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux The kernel downloaded is the ...
3
votes
2answers
3k views

Kernel Panic - Can't find root filesystem / error mounting /dev/root

From here: http://fedoraproject.org/wiki/Common_kernel_problems#Can.27t_find_root_filesystem_.2F_error_mounting_.2Fdev.2Froot A lot of these bugs end up being a broken initrd due to bugs in ...
9
votes
6answers
3k views

Displaying week's number in certain format using ncal or cal

Don't you just love it when two commands each do one thing you want but neither do both? This is what cal does. Nice formatting. Lacks week numbers though. $ cal January 2012 Su Mo Tu We ...
3
votes
1answer
486 views

Faking rsnapshot initial backup

I'm currently using plain and flat rsync to backup my files, meaning I have no incremental backups. A few days ago I became aware of the existence of rsnapshot and after looking at the man page I ...
4
votes
2answers
3k views

Vim NERDTree re-size vsplit

I am using the NERDTree plugin for Vim. When using the s: open vsplit command, is it possible to resize the windows so that the file takes up a larger portion of the screen than the directory tree?
2
votes
3answers
1k views

console vim in screen session: remap Ctrl-Shift-Left, Ctrl-Shift-Right to not delete lines

I have my gvim setup so that I can select word-wise with Ctrl-Shift-Right, Ctrl-Shift-Left etc. (yes, I know it's a bad habit, but it works for me..). Unfortunately, these key combinations delete ...
4
votes
2answers
745 views

How to get user-level access to modifier keypresses in console app?

I need to get access to modifier-key state for a console app I'm writing (a personalized editor). Are there any packages/libs/whatever that provide this access? I cobbled the following from ...
18
votes
4answers
22k views

How can I find out how many lines a text file contains without viewing it?

How can I find how many lines a text file contains without opening the file in an editor or a viewer application? Is there a handy Unix console command to see the number?

15 30 50 per page