2
votes
1answer
704 views

Compiling a distribution unspecific kernel on two different distributions

I downloaded kernel 3.2.1 from the kernel.org. Compiled it "successfully" on OpenSuse 11.3 64 bit. When I tried to compile the same kernel source on Ubuntu 11.10, I got: ERROR: ...
2
votes
2answers
688 views

Is crontab related to server performance?

I am using Solaris 10, and I am adding many cronjobs to my server's crontab. Currently I have 30 cronjobs in my crontab. one cronjob takes 8 hours to complete ,one other cron job takes 5 hours to ...
1
vote
0answers
2k views

WD MyBook 3TB - Gparted failed & HDD partitions recovery?

I have this new WD MyBook external HDD (USB 3.0/2.0); I created 3 partitions all of them ext3 type (~1 TB | ~1 TB | ~750 GB) I loaded lots of files all the partitions were like ~30% full on each, and ...
3
votes
1answer
801 views

Change xscreensaver lock option command

How could I change the lock option for the xscreensaver from the command line? Been looking around and couldn't find anything about it. xscreensaver-command -lock will lock it right away, which is ...
7
votes
3answers
14k views

How to check if I can log in to server via ssh?

I have a list of servers: cat list.txt 10.10.10.10 servera 10.11.10.10 serverb How can I check that I can log in via ssh to them or not? I mean by default I should be able to log in via ssh key ...
3
votes
2answers
2k views

How to add/replace only modified/updated files recursively for some 2 folders?

So I currently do stuff like: rm -rf ../../../$CLOUD_INSTALL_SUBDIR/lib_boost mkdir ../../../$CLOUD_INSTALL_SUBDIR/lib_boost cp -r ../../../$BOOST_ROOT_DIR/$BOOST_INSTALL_SUBDIR/lib/* ...
3
votes
1answer
391 views

Update manager updated without prompting for a password

As far as I'm aware, I'm supposed to be prompted for a password before anything installs, but just now, I told update manager to install updates, and it proceeded to installing them without prompting ...
13
votes
8answers
22k views

What's the quickest way to add text to a file from the command line?

Occasionally I have a thought that I want to write into a file while I am at the terminal. I would want these notes all in the same file, just listed one after the other. I would also like a date / ...
1
vote
2answers
2k views

ssh root@localhost error; help me hack this box :)

I need to gain a root shell on a linux vm for a security class. I have a user account on the system and a means to write to any file (i.e. /etc...) and want to escalate my privileges with: ssh ...
7
votes
3answers
2k views

Which window manager has Python bindings?

I've been coding bits here and there with Python and I'm most interested in Desktop Environments, for which I always have ideas I want to try out. I have tried to play around with python-xlib but ...
3
votes
3answers
9k views

How to change login screen in CrunchBang?

I am on SLiM, and I don't like the default login screen. I want a login screen like the one shown below: But instead I have a pretty minimal one which has just one textbox and nothing else on the ...
6
votes
1answer
2k views

Move qcow2 image to physical hard drive

I have a qcow2 image that I use to boot an installation of linux using QEMU; I would like to place the contents of that image directly onto a physical hard drive so that I can boot to that linux ...
4
votes
2answers
607 views

Is it normal that a restart is required to mount USB after a kernel upgrade?

Sometimes I see the Linux kernel being mentioned in the list of upgrades, when running pacman -Syu (updating my packages in Arch Linux). Whenever this happens, after installation of the packages, I ...
4
votes
3answers
1k views

File manager which is able to filter using regular expressions

Is there any graphical file-manager which supports thumbnails for linux like thunar or nautilus, which allows me to filter a directory by a regular expression. For example typing /home/user/*tex ...
16
votes
4answers
2k views

Copy image from command-line to clipboard

Is there a way in a bash to copy a picture to the clipboard? For example if there is a picture mypic.png I want to have a command like clipcopy mypic.png such that I can go for example to inkscape ...
15
votes
4answers
6k views

Fix or alternative for mktemp in OS X

I'm looking at a bash script someone else wrote that uses mktemp: TEMP=`mktemp --directory` However, this line does not work on my machine (OS X 10.6). How would I fix this line so that it is ...
5
votes
0answers
395 views

Pop-up event reminders in Korganizer, when synchronizing with Google Calendar

I have "connected" my Google Calendar with Korganizer. I create an event within my Google account. I want pop-up reminders to show up when I go home, even though the events weren't create by ...
2
votes
1answer
510 views

Getting more details in ALSA volume

I've bought some new speakers, and they play much louder than my old ones. It's so much that I most of the time keep them at 1% to 3% in alsamixer, which is -103dB to -84dB. This obviously leaves ...
7
votes
1answer
7k views

how to resize horizontally a screen region

I am using screen to split my terminals but I would like to be able to resize the horizontal dimension of the split screens. If I do C-a :resize 10 I only change the vertical dimension to 10 lines. ...
4
votes
2answers
2k views

Not enough space on / to install new kernel update

During a recent update I received this: Installing: kernel-default-2.6.37.6-0.11.1 [error] Installation of kernel-default-2.6.37.6-0.11.1 failed: (with --nodeps --force) Error: Subprocess failed. ...
8
votes
4answers
7k views

How do I get “top” command to wrap its output?

The "command" column gets truncated by the width of the screen and I am unable to see the last part of it. I have tried to reduce the font size so I can see a longer part of the command line but it ...
2
votes
1answer
928 views

skype not found on Oneiric 64, but it is right there [duplicate]

Possible Duplicate: Can't execute some binaries in chroot environment (zsh: Not found) I have something weird here. Cannot find a file although it is right there. $ skype command not ...
4
votes
3answers
3k views

Why is pcmanfm such a headache when it comes to mounting filesystems?

If I would have known how much 'customization' it takes to get LXDE and its default file manager, pcmanfm, just working, I would probably have never chosen to try it. I've got a problem. Lots of ...
6
votes
2answers
2k views

How can I check which terminal definitions are available?

The bulk of the question is in title, but to elaborate a little: On most Linuxes I can find /usr/share/terminfo -type f. But on Solaris machine I have nearby - this directory doesn't even exist. I ...
4
votes
3answers
176 views

What's the syntax for selecting a range of lines in Vim?

What's the syntax for selecting a range of lines? I want to run a command over lines 1405 until 1700. And one from 1405 until the end of file, without wanting to look up that number. Update: Is it ...
7
votes
3answers
10k views

is there an open source tool to measure cpu performance?

I have used many times ab for measuring web performance, hdparm for measuring hard disk performance and netperf for measuring network performance. But I didn't find any tools to measure cpu ...
8
votes
4answers
13k views

Logging outgoing connections as they happen

Is there a way to log to file all the outgoing connections that a process creates? I am aware of netstat but that seems to be more of a snapshot of a point in time rather than something that runs and ...
2
votes
2answers
2k views

how to re-enable input on a serial console

I have an old router which runs Linux and I'd like to have a serial console on. This used to work fine, but after a firmware update, I can now only get output on the console and cannot give any input ...
9
votes
1answer
1k views

Emacs: How to insert 'λ' instead of 'lambda' in Scheme mode?

Long ago, I came across a text editor function that replaced the word 'lambda' with the character 'λ'. I would like to do this in emacs. My preferences: I would like to activate this function in ...
2
votes
2answers
189 views

Index names of all the files in a plain text file

I've got this directory full of images, and I can do this: echo *.jpg image1.jpg image2.jpg image3.jpg # and so on How can I get the output in a plain text file in this format? image1.jpg ...
2
votes
3answers
584 views

Are there any disadvantages against using qsub to run tasks all the time?

When I'm running a task on a computer network? I've just started to realize that if I qsub any task, then the task won't hog up my terminal, and I can do other things on the same terminal (which is ...
2
votes
1answer
3k views

Xubuntu Oneiric won't start XFCE

I tried upgrading the Ubuntu on my trusty netbook and found 11.10 was way too slow. So I switched to xubuntu by installing the xubuntu-desktop package and then following the crazy instructions here : ...
8
votes
1answer
240 views

IM client which can turn off notification in a specific conversation window?

So, the problem is that some chat buddies send chat lines a lot or too often. A typical example: Chad McChaddy: Hi mate Me: Hi Chad: Could you take a look at problem XYZ? ABC is not working. Me: K, ...
1
vote
1answer
98 views

Back up particular package and its dependencies

My question is: can we take a backup of a particular package and its dependencies? For example, if we install VLC it requires dependencies like kde filesystem,libcaca.so.0 etc.. can we take a backup ...
2
votes
3answers
1k views

How to truncate the second column from a dot (.)?

INPUT: 10.175.192.16 vgxyxgf.de.foo.net asdf 34efg 10.175.192.17 sdtds.de.foo.net xyyxv e5432 10.175.243.20 asdfycfb.us.foo.net dfvasf 34525 OUTPUT: 10.175.192.16 vgxyxgf ...
4
votes
2answers
675 views

Why does this shell snippet to check if hosts are up using netcat stop prematurely?

Q: Why does the second iteration exits after 10.175.192.16? Can someone explain that? Or I just found a "while/netcat" bug? a.txt's content: $ cat a.txt 10.175.192.14 10.175.192.16 10.175.192.17 $ ...
5
votes
1answer
12k views

How to get a list of installed external kernel modules?

From the documentation of Linux kernel 3.2 (Documentation/kbuild/modules.txt) === 5. Module Installation Modules which are included in the kernel are installed in the directory: ...
1
vote
2answers
407 views

How do I find the relevant command for something in linux?

For example, say I'm trying to find the command that displays the routing table (like route) or to run a traceroute, but I don't actually know the commands that accomplish this. My understanding is ...
1
vote
1answer
514 views

Linksys WAG200 DSL/Router combo with cable modem? [closed]

I have a Linksys DSL/Router combo. It was previously used for my DSL connection. I switched to a cable connection now, using Motorola cable modem. Is it possible to create have the cable connection ...
2
votes
1answer
278 views

FreeBSD zfs create gpt

How can i create gpt marks on working system. NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 ad4p3 ONLINE ...
6
votes
2answers
1k views

Java problem - nearly looks like a virus?

I have a weird problem since about a week. When I wake up my computer from suspend, a java process starts and consumes about 170 % CPU capacity. I analyzed the java process a bit: it connects to ...
3
votes
4answers
490 views

Align a hex text file at 9 bytes each line

I want to align the selected portion of a text file at 9 bytes each column. For example suppose my text file looks like below. 00 2f c6 b8 29 fd 02 37 11 00 9f 74 34 0b 60 72 38 20 00 9e 61 33 8e ...
10
votes
3answers
22k views

Why are my two virtual machines getting the same IP address?

I have two virtual machines both running on a Linux host (Fedora 16). I set both adapters as attached to NAT. When I boot them up they both have their default gateway set to 10.0.2.2. They also ...
1
vote
2answers
418 views

Is there a convenient way to wrap a bash command list into rlwrap?

Thanks to a question on superuser.com, I found out about this utterly convenient rlwrap tool. It satisfies my needs (i.e. add command history to another cmdline tool), but I was wondering how I can ...
4
votes
1answer
4k views

Copy/Paste with keyboard in rxvt

I know that I can copy and paste text in rxvt by using the middle mouse button, but I was wondering if there was a way to define keyboard-shortcuts in the .Xdefaults for copy and pasting text. ...
2
votes
2answers
149 views

How to install Vinux on a mac?

I have no experience with Linux, nor with installing any OS in any other way then just putting a CD-ROM in a computer and following instructions. To get some more insight into how operating systems ...
5
votes
3answers
274 views

shell symbol for the just previously typed item?

Is there a way I can specify to bash to reuse the item I just previously typed? For instance, if I wanted to rename a file, adding a few characters as a prefix, I want to do something like $> mv ...
14
votes
2answers
2k views

Origin of the word cron?

Trying to settle a friendly argument. Is "cron" an acronym for something? Additionally, did it's current canonical name "cron" originate from something shortened for something like chronos or ...
5
votes
4answers
940 views

How can I tell whether a build is Debian-based?

I'm starting to work with a box that has a custom (small) Linux build on it. How can I tell whether this is a Debian or Red Hat-based build? This is what I know so far: $ cat /proc/version Linux ...
2
votes
2answers
856 views

Find: combine -depth with -prune to feed cpio

I'm building a backup script where some directories should not be included in the backup archive. cd /; find . -maxdepth 2 \ \( -path './sys' -o -path './dev' -o -path './proc' -o -path ...

15 30 50 per page