10
votes
2answers
7k views

How to create a tar.gz file from a folder excluding a folder

How do I exclude a file or folder while creating a tar.gz file with tar command?
1
vote
0answers
239 views

uemacs 4.0.15 strange key bindings

Playing around with uemacs I noticed that some of the default alternative key bindings are set to the Fn key in combination with a different key (for example, an alternative for 'help' is set to ...
1
vote
1answer
1k views

Problem in installing Google voice and video plugin for Gmail

I just downloaded Google talk plugin for voice and video (for audio/video chat in gmail). I am using RHEL6. I downloaded the plugin (64 bit, rpm format). While installing it an error comes which ...
10
votes
6answers
25k views

Create a Bootable (UEFI GRUB) USB for Ubuntu & Windows 7 Install

I want to create a Bootable EFI USB to install Ubuntu & Windows 7 (maybe with utilities like PartedMagic). I did that using MultiSystem previously. However, I am using GPT and Windows install ...
4
votes
3answers
3k views

DHCPv6 prefix delegation server for linux?

What linux DHCPv6 client can I set up so it requests a prefix on one interface and then on all the other interfaces it will give out addresses (or if requested, a smaller prefix delegation)? It would ...
4
votes
2answers
3k views

How does one add an application to the LXDE Panel?

How does one add an application to the LXDE Panel? I'm using version 0.5.8 on Lubuntu 11.10
9
votes
3answers
6k views

How to debug a suspend problem?

I used to have Fedora 14 installed on this HP Compaq 610, and the suspend feature worked fine. Now that I've installed Scientific Linux 6.1 suspend doesn't work anymore. How do I debug/fix it?
1
vote
2answers
1k views

BCM4312 802.11b/g and Scientific-linux

I have a fresh Scientific-linux 6.1 install on a Compaq 610 notebook: lspci | grep Broadcom 10:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01) But I can't see the ...
0
votes
1answer
2k views

Fedora 16 won't boot

Last night, I shutdown my system, and when I tried to boot it this morning it hung at the splash screen. What is wrong here? I'm not sure which details I can give apart from that I originally ...
2
votes
0answers
409 views

Bad Resolution - Missing, corrupt after suspend, x121e Mint 11 - Bad EDID?

After travelling with my ThinkPad x121e on suspend my resolution has altered and the correct resolution setting disappeared. This affects the whole computer, when using live USB as well. I do not ...
2
votes
1answer
120 views

Will symlinks be maintained if the target's path remains the same but everything is transferred to a new disk?

(I think the answer is yes, but I'd like to be certain before I actually do it!) What I'm trying to do: install a new sd card in my "rooted" Android phone that uses A2SD. The fact that it's an ...
2
votes
2answers
150 views

Bash completion for `unset` command

How can I setup bash completion for the unset command, like when you use echo $XXX, you can get a completion for XXX?
3
votes
1answer
2k views

change colour depth

How do I change the colour depth? It says online to edit the xorg.conf file, but I don't have that. I am running Debian XFCE on a Powerbook G4
4
votes
1answer
139 views

Why does find:s -or fail when I add a -print0 at the end?

I am writing a little script the modifies some movies in a directory tree, and I would like to parse that tree with a bash for loop or similar. So I started to find the files with find -iname ...
5
votes
2answers
1k views

display login window as list of users

How do you display the login window as a list of users instead of having to type the username? I have Debian XFCE on a Powerbook G4.
2
votes
3answers
1k views

Root filesystem nearly full - should I be worried?

me@netbook:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 323M 292M 15M 96% / tmpfs 5.0M 4.0K 5.0M 1% /lib/init/rw tmpfs ...
0
votes
1answer
195 views

gnome-tweak-tool

Gnome tweak tool is reporting an error that the extension to choose your GNOME shell theme is not enabled, although it is. Is there any way to manually override it, other than through the tool ...
2
votes
1answer
166 views

How can I adjust this short shell script to fit my needs?

I am attempting to force powertop to run when I log in by using the Startup Applications wizard in Ubuntu. Under the 'Command' entry, I've placed gnome-terminal -x ...
1
vote
1answer
236 views

Vim: VimRepress and Wordpress.com - how to insert code snippets?

I've started using Vim and VimRepress plugin to blog. My blog is on Wordpress.com - so I cannot install plugins etc. A lot of my posts have code snippets in them - and in Markdown syntax, I indent ...
1
vote
2answers
158 views

Convergence with Firefox 3.6?

On many Linux distributions by default there is only Firefox 3.6. However, when I try to install Convergence I get: How can I install Convergence on a distro that runs Firefox 3.6 (e.g. ...
3
votes
1answer
2k views

Count in real time the output lines from another output command

I think what I want to do is very easy, but I can not find a way to do that: If I put this command: [root@:Active] tmp # tcpdump -i any -s 65535 host 192.168.1.110 and port 1645 or port 1813 -v -X | ...
2
votes
1answer
918 views

What's wrong with this sed command?

This command runs fine: $ sed -e '/foo/{g; d}' myfile But this one has an error: $ sed -e '/foo/{g; a bar}' myfile sed: -e expression #1, char 0: unmatched `{' What's wrong with it?
3
votes
2answers
252 views

Backup selinux system running strict

I have a cron job that is backing up a SELinux system running in strict mode. The problem is that SELinux wants to deny access to to the backup script since it wants access to every single file on the ...
0
votes
1answer
745 views

Disable screen outputting “[screen is terminating]”

How do I disable the output when you are done with a screen from the screen command? Example: function foo() { echo "Testing..." sleep 2 echo "Done!" } export -f foo screen -q bash -c ...
2
votes
2answers
3k views

Mini ultra light linux boot on a USB key

I don't have linux. I'm on Windows (XP or 7). I'd like to have just a linux USB key only to boot and have the command line to launch some command line programs. How may I simply create that USB key ...
3
votes
2answers
175 views

How do I create a structured list of all the files and directories under a particular directory (recursively)?

I need to have an "image" of a file system without actual contents of the files - just all the names and the structure, so that I can read the file and know what files were stored there and how were ...
2
votes
1answer
3k views

Testing if a port was forwarded correctly in Ubuntu

I have a Ubuntu box connected to a wifi router. This wifi router is connected to a d-link adsl modem/router. I am preparing this Ubuntu box to run a server that will use some special ports in UDP and ...
1
vote
0answers
312 views

really basic bootstrap logger - (preferably syslog, cascade to http/raw)

I have a bootstrap shell script that is run as the very first thing when a fresh Linux server is booted up to multi-user mode with networking. Once it is complete, I would like to report the error ...
1
vote
1answer
1k views

Capture user input while doing other things

Is there a way to have the output of a subprocess (something other than 'sleep' below) be dovetailed with the output from a foreground command-loop? For example: while true do echo "updating ...
2
votes
2answers
2k views

Fedora 16 ssh over the internet/home network help. Same computer ok

I first posted this on serverfault, but this forum seem to be more appropriate. http://serverfault.com/questions/345471/fedora-16-ssh-over-the-internet-home-network-help-same-computer-ok I think I ...
3
votes
3answers
2k views

Ignore or catch division by zero

How do I ignore the division by zero error in Bash? Example 1: (Doesn't work) echo $((1/0)); echo "yay"; echo $((1/0)) || echo "yay"; Example 2: echo -n $(echo -n $((1/0))) 2> /dev/null; echo ...
0
votes
2answers
2k views

Cannot Connect Using SSH: UseDNS terminating

When I attempt to login via ssh like so ssh marc_mtpt0@m3pt0.com I get this response: /etc/ssh_config: line 51: Bad configuration option: UseDNS /etc/ssh_config: terminating, 1 bad configuration ...
3
votes
1answer
1k views

Making Chrome open md/markdown file instead of downloading them [closed]

I'm trying this google chrome plugin that previews md files in chrome. But when I open an md file from local filesystem, chrome downloads it instead of opening it. So the plugin cannot preview it. md ...
5
votes
5answers
5k views

How to overcome libc resolver limitation of maximum 3 nameservers?

Suppose I work in environment with number of domain changes and slow propagation. I want to test domain configuration immediately after setting change but the propagation is slow. So I want to add ...
1
vote
2answers
86 views

How can I install programming tools in the root directory so that they can be used by non-admin users?

I'm running OS X and for security reasons my main account does not have admin privileges. How can I install development tools in the root directory so that they can be used by all users? If this can't ...
3
votes
2answers
380 views

shell howto: save multiple binary data files (jpg) to one file with some additional data and separate again

I have a system with restricted calculational power (fritzbox) and functions (busybox) and an webcam, able to deliver JPG files. Now I'm looking for for a method (based on shell script) to download ...
3
votes
2answers
201 views

Will Linux become UNIX, instead of just UNIX Like? [closed]

More specifically, is it a goal to make Linux match up to the Single UNIX Specification? Additional details would be nice, for example. Is Linux hopelessly far, or somewhere nearby the SUS? Is the ...
3
votes
2answers
618 views

Java process, swap (/proc Solaris10) memory highly utilized

How can I analyze high swap memory utilization of Solaris 10 for Java processes?
2
votes
1answer
194 views

Expanding text format in VI

The following code is taken from the superfish module for websites: (function($){$.fn.hoverIntent=function(f,g){var ...
3
votes
3answers
987 views

Monitoring progress/liveness of background jobs

I have started a background job. Is there a way to know how it is progressing, and whether it has stopped? My command line is like: java weka.classifiers.trees.J48 -t data.arff J48-data.model ...
2
votes
2answers
97 views

sixteen digit colour code?

I am trying to convert the mac4lin awn theme from 0.3 to 0.4 so it will work in my awn. But I'm not sure about the colour codes in the 0.4 files. They are not normal hex codes, they are sixteen digits ...
5
votes
1answer
618 views

How can I make C-m1 emulate a right click?

On Mac OS X, you can right click by holding down control and clicking. I swapped the command and control keys with setxkbmap -option altwin:ctrl_win, but how do I make it right click by holding down ...
2
votes
2answers
168 views

How to port printer settings between different distributions?

My wife's netbook has two distributions installed on it: OpenSUSE 11.4, which she no longer uses much, and Debian testing. The only reason why OpenSUSE is still installed is that, for some odd ...
1
vote
0answers
2k views

xfce swap command and control keys

What is the equivalent of this in Debian XFCE?: Go into System -> Preferences -> Keyboard Click on the "Layouts" tab and then click the "Layout Options" button. Click on "Alt/Win key ...
2
votes
1answer
3k views

NAS box mounted via CIFS - problem with permissions

I'm running the latest version of Ubuntu, and have mounted a SMB share via a line in rc.local. The share mounts correctly, and I can browse files freely, create new files, and then delete them ...
2
votes
1answer
69 views

Problematic booting process

About a month ago I installed Lubuntu 11.10. Since that time there is a problem with booting and shutting down. Booting is endless. This screen never disappears, so I have to manually press the ...
0
votes
1answer
169 views

System crashes during boot while mounting /lib/init/rw

After a nasty crash, my system keeps crashing during boot. After a little bit of investigation I have discovered that it crashes executing the following function (in /lib/inin/mount_functions): ...
1
vote
4answers
1k views

Checking for the existence of files against a list

I have a "command" text file that issues a data file download command on each line. I send the command file to bash. However, a small percentage of the downloads fail. Here is the algorithm I ...
-2
votes
1answer
796 views

Best method for testing android kernel

I would like to test some of the features of android kernel like inserting a module and collecting certain parameters for research purpose. What would you think the best method for that?
4
votes
2answers
2k views

the usage of < /dev/null & in the command line

I tried to run an example java program using the following command line. However, I do not know what is the trailing part < /dev/null & used for? java -cp /home/weka.jar ...

15 30 50 per page