0
votes
2answers
250 views

Installing MySQL 5.5 on Mac OS 10.6

I am trying to install MySQL from source on my Mac OS. I've expanded the source code, and am now trying to configure it. However, I can't get past that step: ...
0
votes
0answers
928 views

Access Share Files on Ubuntu with Win7: error “Path cannot be found”

Yesterday I added a share folder via system-config-samba. I created a new samba user for my Windows 7 64 bit machine. At first it worked fine, the next day, I cannot access from Windows 7. I click ...
2
votes
1answer
60 views

Replacing the end of a few hundred files

I need to change the way a few hundred Perl modules end. Currently they end as 1; However I need to modify this so that they all have this on their last few lines. BEGIN { # VERSION } 1; # ...
0
votes
0answers
305 views

Settings value in /sys/devices/platform/i8042/serio1/serio2/speed as no effect

I'm following this tutorial to ajust the TrackPoint speed for my Lenovo T420. However, setting a value in /sys/devices/platform/i8042/serio1/serio2/speed has no effect. The trackpoint is unaffected ...
8
votes
3answers
4k views

File and directory naming conventions

I want to refactor the files and directories on my system. However I am not sure what is best practice. After reading this question and it's answers I assume the most important part is to be ...
9
votes
4answers
389 views

Good GNU/Emacs tutorial [closed]

I'd like to learn emacs in depth. The problem is that they divide in 2 categories: Basics (That C-x C-s saves files and C-x C-c exists emacs etc.) Everything I'm currently use 1%-10% of emacs ...
2
votes
2answers
974 views

ZSH tab completion: only complete files and not binaries

Is it possible to make a custom zsh completion file,so when hitting tab for filenames it avoids completing the binaries? For example,I have 2 files , myprogram.c and myprogram,the binary,is it ...
3
votes
3answers
1k views

Problem installing markdown preview plugin for gedit on Linux Mint

I'm trying to install a markdown preview plugin for gedit, but when I try to active it, the entry greys out. Running gedit via the terminal, I get the following error message: Traceback (most recent ...
1
vote
2answers
903 views

hack mac g4 powerbook firmware to boot linux?

Is there a way to flash/hack/jailbreak the firmware for say a 15" G4 powerbook so that I can boot from linux live usb sticks? As it is many macs simply do not boot from usb, let alone usb sticks and ...
6
votes
2answers
2k views

How to refresh all bash shells using a command/script?

Whenever I modify my .bashrc file, I have to go to each bash shell and source it again to effect the changes. Is there a better way to do this? Some command that run once will automatically do a ...
2
votes
1answer
523 views

why isn't xargs parsing my input correctly?

Ive been trying to write a shell script that will interface with cmus and then notify me of the track info using notify-send. Right now it is not working mainly because xargs does not seem to pass 2 ...
5
votes
2answers
5k views

bash nested case syntax and ;; terminators

Have I got enough (or perhaps too many) ;; terminators in this bash script containing nested case's? case "$1" in OK) # Nothing needs done echo -n "OK:1" ;; CRITICAL) case "$2" in ...
1
vote
1answer
562 views

Test FTP Username and Password

I'm working on a program that involves uploading some files via FTP. However, I'd like to abort the process if the username and password given by the user are incorrect. Is there any way to "test" if ...
6
votes
2answers
5k views

dot file not sourced when running a command via ssh

When I run my program interactively, it works fine: ssh somehost $ ~/some/path/somescript.py When I run my program over ssh directly, it doesn't work. The variable PYTHONPATH is not set, because ...
5
votes
2answers
5k views

How to limit P2P/torrent traffic on an OpenWrt 10.03 router?

We have a WRT160NL router with OpenWRT 10.03, and a 60-70 Mbit connection (from ISP, don't ask why). This router can do 30-35 Mbit on ethernet(i mean cable)..ok! There are ~7 PC's using this Wireless ...
7
votes
2answers
2k views

Is there a correct way to list the subdirectories of the current directory?

I can find the subdirectories of a directory by ls -d -- */ or ls -l | grep "^d" but both of these seem indirect, and I would imagine that there would be a standard way to find just the ...
4
votes
2answers
2k views

What determines whether an interrupt is IO-APIC-edge or IO-APIC-level?

Looking at the contents of /proc/interrupts on an x86 Linux, I see that some of the interrupts are IO-APIC-edge while others are IO-APIC-level. I wonder what determines the interrupt type, is it the ...
4
votes
3answers
1k views

Mathematica makes no sound under Ubuntu 11.04

After waiting for days for my license I now got the opportunity to install Wolfram Mathematica 8 at home. However, neither the Play nor the Speak functions are doing anything as it seems that ...
6
votes
3answers
458 views

How can I build and install PL/R as a non-privileged user?

There is a postgres instance, and I have the ability to build my own instance. Using these instructions I ran: USE_PGXS=1 make which worked but then USE_PGXS=1 make install did not, with this ...
3
votes
1answer
944 views

Is there any way to rsync absolute symlinks alone?

I want to sync a big folder hierarchy between two machines. I want to copy the contents of the symlinks if they are absolute, for eg it points to /some/folder/someFile I want to retain the symlinks if ...
7
votes
2answers
6k views

Using wget, What is the right command to get gzipped version instead of the actual html

I stumbled upon this website which talk about this. So when downloading whole website by getting the gzipped version, what is the right command? I've tested this command, but I dont know if wget ...
-3
votes
3answers
353 views

What could be the bottleneck on this AIX machine?

My kernel usage is running up to 54%. What could that mean? What could be eating resources on this AIX 6.1.0.0 machine?
-1
votes
3answers
10k views

Find scsi device ids under Linux?

How can I list scsi device ids under Linux?
2
votes
1answer
370 views

How can I limit wine's permissions?

I don't want wine to: have access to the network (extra: separately defined access control per program that uses wine to start) have access to the main users files (run wine as different user??) ...
1
vote
3answers
346 views

Sort data on multiple columns

INPUT (unsorted, bad) "XYZ-ZTE-43255 serverB618 agreed","XYZ-ZTE-44432" ,"XYZ-ZTE-43255" "XYZ-ZTE-52775 serverB110 agreed", "XYZ-ZTE-79213 - serverB688 agreed", "XYZ-ZTE-77323 serverB617 agreed", ...
6
votes
3answers
2k views

Tab-completion for Mercurial in Bash?

Using Subversion on the command-line, it intelligently tab-completes available subcommands, etc: $ svn c<tab> cat checkout cl co copy changelist ci ...
5
votes
3answers
19k views

How to check if a file is corrupt or not?

Are there any general solutions to check if a file is corrupt or not? For example, whether a video file is bad, or a compressed file is corrupt, etc.
1
vote
1answer
228 views

Do the file descriptors get lost when remounting a file system?

If I remount the file system on /home with: mount -o,remount /home will the open file descriptors be lost?
0
votes
1answer
397 views

Smitty like solution under Linux or BSD?

Are there any solutions similar to AIX smit for Linux based OSes? Basically this would be some kind of 'terminal menu-driver' script collection perhaps using ncurses for doing things that system ...
1
vote
1answer
2k views

e2fsck progress bar?

How can I see the progress of e2fsck in the terminal? Are there any pv like ways? For example how can I see how far along this command is in progress: e2fsck -f -y -v /dev/sdb1
-2
votes
1answer
262 views

How Can I “CAM attack” a switch/router?

Does someone has any script that can "CAM attack" a switch/router, so that it will act as a HUB? Are there any tools for it in the repositories?
1
vote
2answers
3k views

How can I update my dynamic DNS under OpenWRT?

I have an OpenWrt 10.03, and I need to update my dynamic DNS account (e.g., OpenDNS or DYNDNS) when my IP changes. How can I do this from the terminal?
8
votes
4answers
6k views

How to print all printable ASCII chars in CLI?

How can I list all the printable ASCII characters in the terminal?
40
votes
4answers
18k views

How to force ssh client to use only password auth?

If I use pubkey auth from e.g.: an Ubuntu 11.04 how can I set the ssh client to use only password auth to a server? (just needed because of testing passwords on a server, where I default log in with ...
1
vote
1answer
1k views

What does deb-src mean in the sources.list?

I know I can download binary packages from repositories beginning with "deb", but what does deb-src do? E.g.: deb-src http://archive.ubuntu.com/ubuntu natty universe in /etc/apt/sources.list in ...
5
votes
4answers
10k views

getting error “Can't create transaction lock” with rpm

I am slowly making progress on installing Fedora into a Logical Volume for a DomU using Package Management. I have (with the help of the wonderful people at Unix & Linux) resolved a number of ...
4
votes
2answers
747 views

Window Manager for TV

I have Ubuntu installed on my computer, which is hooked up to my TV. I have tweaked some of Gnome's settings to make it easier to use from my couch (display larger fonts, increase the size of the ...
2
votes
3answers
259 views

Trying to remove password echo in Redhat 5 when logging in

I'm running Redhat 5.6 with the gnome display manager. I would like to configure the login manager so that there is no echo of the password when typing it in (no asterisks or the like). I have ...
3
votes
1answer
326 views

Why is my Fedora 14 install failing?

While trying to install Amahi and Fedora 14 from 5 discs, I get this error: It says: A fatal error occurred when installing the module-init-tools package. This could indicate errors when ...
2
votes
5answers
799 views

Remotely access Linux box with no IP address

I have two *nix boxes that are connected via ethernet. However I only have physical access to one of them. In working on the "remote" computer I messed up the ifcfg-eth0 file and instead of typing ...
2
votes
3answers
371 views

How to find every file that includes a given function?

I am trying to list all of the files that include a function, e.g., matrixCal. How can I to do this in linux?
2
votes
4answers
1k views

Script to “remount” a partition (umount then mount)

Im doing some experiences with NTFS(-3G) and fstab. For every change i do to fstab, I need to issue: sudo umount /mountpoint sudo mount /mountpoint To check the results. Since Im doing a LOT of ...
6
votes
4answers
4k views

How do I create Restore Points in Arch Linux (or Linux in general)?

I am relatively new to Arch Linux and I really like its rolling-release concept. Now what I want to know is that before I do a system update via pacman -Syu, I want to create a restore point so that ...
16
votes
2answers
3k views

How to avoid escape sequence attacks in terminals?

Reading the details of CVE-2009-4487 (which is about the danger of escape sequences in log files) I am a bit surprised. To quote CVE-2009-4487: nginx 0.7.64 writes data to a log file without ...
3
votes
2answers
632 views

What jabber server for personal use?

Using Debian or Ubuntu, what would be the jabber server of choice for small-scale setups? I mean a setup with probably under 100 user accounts. Key features: sane and secure defaults easy and ...
1
vote
1answer
576 views

Why does Firestarter say my firewall is active but ufw status shows it as inactive?

I am using Linux Mint and am having the following issue. Firestarter tells my that my firewall is active and it does indeed seem to be active. However when I type "sudo ufw status" into the terminal, ...
2
votes
2answers
160 views

How to create a new user without his own FS but with access to write to only one folder of user that creates him?

What are the command(s) to create a new user (not from su), give him the ability to write to only one folder which is some directory owned by an already existing user (the one that created him)? ...
1
vote
1answer
365 views

Need help processing a text file with awk to conform to CSV flat file format

I have the following problem. I collected data on reaction time from over 100 participants for an experiment I am running. Unfortunately, the separators between fields were not consistent, but after a ...
2
votes
1answer
950 views

Monitoring the OpenSSH sFTP process?

Is there a way to monitor the current status of my sFTP process from my Debian server? I'm looking from something similar to top or netstat that will give me the status/progress of activities ...
2
votes
2answers
1k views

Install mandriva in USB HDD

I want to install Mandriva 2010.2 in my external USB HDD using the image file. The laptop's cd/dvd drive doesn't work, so I don't have the option of making a Live CD and starting the installation from ...

15 30 50 per page