2
votes
1answer
280 views

Running a script every time a new kernel is installed

I'm currently having to recompile my wireless driver from source every time I get a new kernel release. Thinking it would be awesomely hackerish to automate this process, I symlinked my Bash build ...
2
votes
1answer
276 views

Can a Linux install be moved from one computer to another?

split to here I have a 16gb flash drive which I want to contain a portable Linux install. If I could just install Knoppix onto the flash drive, and have that work on any computer, I could do that. ...
2
votes
1answer
164 views

What are the difficulties in importing features of Android, like Unity3D Player, to Linux in general?

We know that Android is an open source Linux-based distro. And we know some features developed for Android are required for the Linux community for many years, and are denied (like Unity3D Player). ...
2
votes
1answer
938 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 ...
2
votes
1answer
393 views

Remap Caps_Lock to Control in Solaris

I'm having the hardest time trying to understand how xmodmap works. I want to remap the Caps Lock key to Control. In an attempt to emaulate the answers shown here, I created the file .xmodmaprc: ...
2
votes
2answers
2k views

Latest Debian wheezy/testing ISOs defaulting to KDE?

I've usually been using Debian Squeeze, as I've never really had any reason to go after the latest & greatest, and if I wanted to, I always had backported packages to rely on. However, my new ...
2
votes
2answers
4k views

Issues of using sort and comm

I was trying to find the intersection of two plain data files, and found from a previous post that it can be done through comm -12 <(sort test1.list) < (sort test2.list) It seems to me that ...
2
votes
2answers
2k views

.sh file cannot be executed without explicitly calling sh

This problem has bugged me so much and I can't find a solution. Sorry in advance if it is a newbie question. Let's say I have a file called run.sh that contains: #! /bin/sh -x x-www-browser ...
2
votes
1answer
10k views

Among “ps” command output fields, %CPU isn't the actual CPU usage of the process?

For example, one of the output fields of this BSD style command, ps aux, is "%CPU". The alternative command, ps -efl outputs the "C" (or CP) field. As per the ps man page: %CPU is the cpu ...
2
votes
2answers
631 views

How to troubleshoot a computer freeze from liveCD?

I'm helping my dad fixing his old computer. I am now running it from Fedora 16 with XFCE Live CD. If I try to install, as soon as it gets to the part where it writes partition to disk however, the ...
2
votes
0answers
110 views

How do I get this Bash-script to work? [duplicate]

Possible Duplicate: How to name a file in the deepest level of a directory tree How do I get this script to work? The goal is to find the directory at the deepest level in the directory ...
2
votes
1answer
586 views

Reading two files into an IFS while loop — Is there a way to get a zero diff result in this case?

I have a text file full of several hundred lines of sequences like this: b 29. b 52. c 84. c 83. c 94. c 93. c 61. b 38. c 81. c 92. c 28. c 37. ...
2
votes
1answer
4k views

How to set a new password from bash?

I'm using busybox with a limited passwd (I don't have --stdin option) and without chpasswd and I need to change the password of an user from bash. Here is my best result: echo newpassword > ...
2
votes
1answer
764 views

How do I downgrade my nVidia Driver in openSUSE 12.1?

I’m trying to trouble-shoot a problem that I’ve been having. Downgrading my nVidia driver is about the only thing I haven’t tried. I have an nVidea GeForce 6200 and installed the ...
2
votes
2answers
354 views

brace expansion other commands besides mkdir?

Found this nifty lifehacking gem to create multiple directories: http://unix.stackexchange.com/a/640/7768 I was wondering if there are other commands support brace expansion?
2
votes
2answers
1k views

Xvfb does not release memory

We want to create screenshots of websites for our software, and we are doing this by using CutyCapt with Xvfb. Unfortunatly every time CutyCapt takes a screenshot, the memory of Xvfb increases .. ...
2
votes
0answers
281 views

kde install destroys gnome desktop

I recently installed KDE 4.7 on my wife's computer. I did not use the recommended Debian 'install task' method, which emulates the full install-from-.iso process. Instead I just did: # apt-get ...
2
votes
1answer
7k views

Mounting ufs partition with read/write permissions on ubuntu 10.04

According to this writeup ufs kernel module is compiled with only read permissions. I could mount a ufs partition with this command: sudo mount -t ufs -r -o ufstype=ufs2 /dev/mapper/loop0p1 ...
2
votes
1answer
11k views

Changing user and group ID system wide (including file system attributes)?

(this question possibly related to Linux: simulating/masking user ownership upon mount of 'external' partitions? - Stack Overflow) I typically use Ubuntu (currently 11.04) as my desktop OS; let's say ...
2
votes
2answers
1k views

How do I show all files in a directory except those that have a certain extension AND display them in multiple columns?

Since I write in Python a lot it's kind of annoying to see .pyc files all the time and I would like to just hide them at this point. I tried the following, but I can't seem to figure out how to get it ...
2
votes
2answers
2k views

How do I dereference links when extracting from a tar file?

If I have a tar file, bob.tar, which contains real_file and link_to_real_file, in which the latter is a symlink, is there a way to extract the contents of bob.tar so that link_to_real_file will not be ...
2
votes
1answer
466 views

pmount - omit rules in fstab

How use pmount that it omit fstab rules? For example # fstab: /dev/sr0 /media/cdrom ... (etc.) # in terminal pmount /dev/sr0 /media/xxx # it will omit /media/xxx mount point and it will mount in ...
2
votes
3answers
2k views

find top 10 latest modified files

How do I get the last 10 files that were modified on my system. I have a system where its disk usage is maxed out I am not sure which files is increasing rapidly. I have a mysql instance stored on a ...
2
votes
4answers
2k views

Open file found with 'find' command

This is probably an easy one, but I can't figure it out and it's pretty much not searchable. In a folder hierarchy I have exactly one file of type xyz. I want to find that file and open it with a ...
2
votes
1answer
2k views

Automatic internet connection on startup in OpenBSD?

I just installed the OpenBSD in my computer. I am completely new to Unix-like operating systems. I've learned how to connect to my wireless network using the following commands (even though I don't ...
2
votes
2answers
305 views

Using “&&” is not effective for cURL submit form (don't execute second line if first line fails)

I'm submitting to my website using cURL. I make cURL post it in timely fashion. In below code; first line is curl submit; second line is for queuing: curl -b cookies.txt \ -d title="$(sed ...
2
votes
2answers
4k views

How can I debug a problem with my network connection?

On one of my computers with Xubuntu 10.04 there is a problem with the network connection. How can I debug it? I tried the cable on my laptop (running the same operating system) and it worked, so ...
2
votes
3answers
2k views

Increasing the size limit for /var/cache/apt/archives

I have 2 systems running Debian at home and I am trying to minimize the bandwidth use while upgrading the packages. How can I increase the size limit of the cache, so that I could just copy the ...
2
votes
2answers
3k views

Virtual hosting a tomcat webapp in Apache on RHEL 5.0

I am in a hosting fix! I have developed a web app for my organisation that allows sharing, interacting, etc. I want to DEPLOY IT ON LAN. BUT... I don't want the end user to type: ...
2
votes
1answer
920 views

How do i fix the to address when forwarding with mail/exim?

I am using debian squeeze (i believe, the box doesnt really say) i config exim4 to use gmail and put root: someuser in /etc/aliases then put my email address (name+box@gmail.com) in .forward I ...
2
votes
1answer
471 views

Problem when installing “ia32-libs”

I'm using x64 Ubuntu. A few months ago I accidentally messed up the groups/owners of all files on /, but managed to fix it using a VirtualBox install of Ubuntu. Now I'm running into a problem that I ...
2
votes
1answer
4k views

Linux Mint Change Screen Resolution

I installed Linux mint 10.I have nvidia geforce 9500 GT.After installing nvidia-current package,my screen resolution become 800*600.There is no 1024*768 in Monitors menu. Running inxi -Gx shows, ...
2
votes
1answer
3k views

iptables rule to allow access to internet

I made default policy of my machine- iptables -A INPUT -j REJECT #DROP ALL PACKETS TO INPUT CHANNEL INPUT channel has been blocked. Now I want to allow only some specific services like I should be ...
2
votes
1answer
434 views

Possible to extract title and pagenum of each page in a pdf file

I was wondering if there are some ways to extract title and pagenum of each page in a pdf file? Either by some applications, or by programming in some programming language with some pdf libraries? ...
2
votes
1answer
6k views

Got a black screen while booting archlinux installation program

While booting the installation program (via USB), the screen goes black, it looks just like the screen has been switched off. The laptop is a Lenovo Ideapad z475 and, as per the "Beginners' Guide", ...
2
votes
1answer
443 views

On AIX 6100-05-02-1034 how can I create custom umask for a specific directory?

On AIX 6100-05-02-1034 how can I create custom umask for a specific directory?
2
votes
1answer
268 views

Modifying a set of binary files

I have several binary files with the character 0x04 in them, and I'd like to add an escape \ character before each. Is there a script I can use to do this without needing to manually edit each one?
2
votes
1answer
358 views

rotating buffer type file logging utility

I'am trying to debug a server that throws a lot of logs on stdout/stderr. I need to redirect only last N lines to a file. Something like a rotating buffer feature there in tcpdump's -C & -W flags. ...
2
votes
4answers
4k views

Problem changing the /home directory to another location

I decided to move my /home directory to a separate parition. But, since I am using more than one linux distro, I want to separate the /home directories as follows: /dev/sdax/ubuntu /dev/sdax/debian ...
2
votes
1answer
4k views

Permissions issue with git

I have a development machine that use runs on CentOs. Whenever i pull from git using git pull i get "permission denied" issue/error. Git apparently doesn't have the permission to overwrite the ...
2
votes
1answer
585 views

What is the `less` command line option to page to the next file at the end of the current one?

I'm sure there used to be an option in less which allowed you to page onto the next file after you reached the end of the current file, so you could just keep *space*ing through a bunch of short files ...
2
votes
1answer
2k views

Time/Date grep for 15 mins

I need to grep a specific type of line in a specific time of the log, do you have any ideas? Here's my working script: cat *.log |grep -E '2011-06-30 (1[0-1]:[0-1][0-5]|10:16)'| grep -ach '0110 ...
2
votes
1answer
3k views

qemu no boot device found!

I am trying to set up a Linux x86_64 virtual machine on a 32bit Linux computer and I've been told aqemu's Wizard is a good option. I can follow the wizard steps, but when I try to start the virtual ...
2
votes
2answers
3k views

How to scp from server to server with different public keys?

What arguments would I use for the scp command on a server to server copy if the two servers need different ssh keys? I know how to scp files from a server to a server without having data flow on the ...
2
votes
1answer
4k views

Find connections per ip on an OpenWRT router?

How can I list the number of connections per client on the FORWARD chain of an OpenWRT router? I know how to list the number of connections per IP address on the router: netstat -ntu | tail -n +3 | ...
2
votes
1answer
2k views

Why can't list file/directory relative to .. from a symbolic link directory (No such file or directory)?

I have a /usr/tomcat6/logs directory linked to /var/log/tomcat6. When I changed directory to /usr/tomcat6/logs and try to ls files using a relative pathname ../conf/Catalina/localhost, a No such file ...
2
votes
2answers
1k views

Can I install Mint to another hard drive without booting from it?

Is there an easy way, given an ISO image for Linux Mint, to install it to an empty hard drive from within my existing Ubuntu installation? I don't have any CDs or appropriate USB devices at hand, so ...
2
votes
1answer
858 views

fedora 15, oracle 11, python3: can't find or open libclntsh.so.11.1

I am trying to use cx_Oracle on Fedora 15 with Oracle 11. I have install Oracle and InstantClient rpms and also cx_Oracle rpm for CentOS. I am exporting ORACLE_HOME and other like this: export ...
2
votes
2answers
719 views

How to fetch and process mail in order to execute commands?

I administer a home server, and sometimes when I'm out I need to execute some simple commands on the server. 3G + SSH is not an option because it's too expensive from my phone (here in Argentina). It ...
2
votes
3answers
11k views

How to reach a Vbox guest from host when using NAT networking

Using Fedora or Ubuntu for the host with firewalls turned off on each side (vbox guest&host), what do I have to do to reach the guest machine using a NAT interface just like it would be with a ...

15 30 50 per page