6
votes
3answers
14k views

Copy first n files in a different directory [duplicate]

Possible Duplicate: How to move 100 files from a folder containing thousands? Is it possible to copy only the first 1000 files from a directory to another? Thanks in advance
2
votes
2answers
5k views

List currently running cron tab and stop it

I created a cronjob, it runs for a very long time but now don't know how to stop it. Please help.
0
votes
3answers
453 views

Prevent init daemon echoing on TTY

Below is an init script which starts/stops a daemon. The daemon is unfortunately printing the parsed packet data (from /home/nuthan/program/server), a socket server written in perl, listening to a ...
0
votes
2answers
1k views

critical section for linux

In linux or a library for linux, is there an equivalent to critical section in win32? I am aware of Mutex, but it is not the same as critical section since a critical section uses user-mode spinlock ...
2
votes
1answer
2k views

Creating symbolic links to applications in Mac OS X

I installed Aquamacs in a fresh OS X desktop, and wanted to be able to call the program from the commandline. Calling the file inside the app seems to work just fine: Amoss-iMac:bin amosjyng$ ...
9
votes
4answers
23k views

automount nfs: autofs timeout settings for unreliable servers - how to avoid hangup?

I'm running a small server for our flat share. It's mostly a file server with some additional services. The clients are Linux machines (mostly Ubuntu, but some others Distros too) and some Mac(-Book)s ...
1
vote
0answers
211 views

Why doesn't GoogleTalk plugin recognize my camera, even with v4l?

The thing is that I have GoogleTalk plugin, also used for Google+ hangouts, and it works in my netbook, on Ubuntu. But on my laptop, using the same Ubuntu (Oneric) and having used the camera on Cheese ...
7
votes
1answer
6k views

How to check why sound over HDMI doesn't work

I installed Gentoo clean on my system, except my /home but I deleted all hidden folders that might have an impact on sound (.mplayer .pulse* .config .esd_auth and more) and with a fresh user adduser ...
3
votes
0answers
431 views

ZIP password finders for Linux?

I'm trying to extract ZIP files for an encrypted archive I've forgotten the password for. So far I've found the tool fcrackzip which does what I want, but its own manpage states that it has numerous ...
6
votes
1answer
4k views

Meaning of “* */1 * * *” cron entry?

Somehow, I am finding it difficult to understand tweaking around * parameters with cron. I wanted a job to run every hour and I used the below setting: * */1 * * * But it does not seem to do the ...
3
votes
1answer
438 views

Impossible pmap results

Nautilus is taking up 450 MiB according to System Monitor (Ubuntu 10.04). $pmap <PID of Nautilus> ... total 1578276K Is pmap reporting 1.5 GiB of memory here? I'm trying to find out ...
5
votes
1answer
709 views

How to find out how many cores (including emulated via HT and such) are avaliable to user?

I wonder how to get how many cores (including emulated via HT and such) are avaliable to user via bash shell-script command?
6
votes
1answer
260 views

What do the kernel options in braces mean?

I saw a kernel option today in menuconfig that used braces for its checkbox. {*} Button This isn't listed in the legend at the top of the screen. [*] built-in [ ] excluded <M> module ...
5
votes
5answers
2k views

Why is it recommended to create a group and user for some applications?

Most of the time, when installing a program from source it is recommended to create a new user and a new group and give /usr/local/<myapp> the recently created user and group ownership. Why is ...
12
votes
10answers
71k views

How to install CentOS 6 via USB mass storage device?

I want to install CentOS 6.2 on a laptop (Thinkpad R40) which comes without CD/DVD-drive but with USB 2.0 ports. It seems that CentOS does not provide ready-to-use dd-able USB images for ...
3
votes
1answer
267 views

What video cards for a Desktop computer compatible with Linux can support Dual Monitors?

What video cards for a Desktop computer compatible with Linux can support Dual Monitors? Our start up needs to use two monitors but our default enviroment needs two monitors, can somebody recommend a ...
2
votes
1answer
670 views

Multiple VPN connetions, routing based on country

I want to set up a couple of VPN connections to two different countries, A and B, on my Ubuntu Server. Then I would like to set up rules based on GeoIP to determine which VPN connection should be used ...
2
votes
4answers
2k views

How to replicate (fork) the current terminal

Say I am using terminal and have sshed to a remote machine and did something. How do I create a new terminal tab (or window) so I still has everything from the previous terminal window without having ...
4
votes
2answers
514 views

How to mount an IronKey in OpenBSD?

Being that it's proprietary, maybe this isn't possible but I was wondering if anybody was successful at mounting one of these in OpenBSD. I mounted the two partitions the USB drive creates which are ...
5
votes
1answer
540 views

Unmounting HTC device takes forever

Not sure if should post this on Android SE because I don't think this is directly related to the Android OS. On my system I manually mount and umount my HTC device with these options in /etc/fstab: ...
4
votes
1answer
1k views

Linux Mint Settings Changed Automatically

The settings for my linux mint OS have somehow changed automatically. The wallpaper has changed to default background, the mouse and touchpad settings are different, and I can't see the 'Computer' ...
15
votes
3answers
10k views

How to read environment variables of a process

Linux's /proc/<pid>/environ does not update (as I understand it, the file contain the initial environment of the process). How can I read a process's current environment?
7
votes
2answers
7k views

“Malformed patch” error while applying the diff to wget source with patch

I would like to apply this patch so I copied code beginning at "Index: src/options.h" and ending with "+@item" and put it into a new file created in wget's source code folder. Then I did: $ patch -p0 ...
7
votes
4answers
2k views

Where in “/” should extra disks be mounted?

According to Wikipedia http://en.wikipedia.org/wiki/Unix_directory_structure http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard extra disks should not be mounted in /mnt/ according to the ...
2
votes
1answer
482 views

dav2fs caching problem on Debian Squeeze

I have apache/mod_dav and davfs2 all on the same host. davfs2 is used to mount what Apache is serving to the local filesystem - a sort of loopback. The purpose is that the content of the files served ...
22
votes
9answers
3k views

How to keep track of changes in /etc/

I would like to keep track of changes in /etc/ Basically I'd like to know if a file was changed, by yum update or by a user and roll it back if I don't like the chage. I thought of using a VCS like ...
0
votes
1answer
318 views

Backed an ipod up with dd, how to retrieve all tracks in one go with gnupod?

I have had gnupod for a while. Still haven't figured out how to use it though. I usually just go for gtkpod. So this question, in case anyone had any doubts after reading everything below, is purely ...
9
votes
3answers
9k views

Safe way to pass password for >1 programs in bash

I'm writing a bash script, and need to ask user for his password and pass it to openssl. Whilst openssl can read the password itself, I need for two runs of the program and don't want to ask the user ...
7
votes
2answers
831 views

What's the origin of rc, rc.d, share, proc in Linux?

I don't think I am a newbie at all, but I still can't figure out many abbreviations' origin like rc, rc.d, share, proc... I've heard someone says rc is "run command", .d is directory, but I'm not ...
3
votes
2answers
726 views

Subtracting Binary files

I have 2 Binary Files FileA and FileC Its is such that FileC = FileA + FileB using the cat utility How do I subtract FileA from FileC to get FileB ? PS: I am using Ubuntu Oneiric
1
vote
2answers
1k views

Installing .package file in Arch Linux

I'm looking to install Yenka, the successor to Crocodile Clips (electronics simulation software). I was initially going to use WINE, but it seems they offer a linux option, too. However, the download ...
3
votes
2answers
2k views

Obtain .avi file info from command line

What is the best way to obtain information as bitrate, framerate, width/height of an movie file (in my case .avi) from the command line? I am looking for a basic tool that works similarly as ...
6
votes
2answers
5k views

How to build a gateway from my Linux OS

I want to configure my Linux so that it will be used as a network router (gateway). Can anybody give me some hints on this? (links are welcome!)
5
votes
1answer
1k views

Running cron script with lynx fails to work

I'm trying to automate a login process that can only be done through a browser. I am using the lynx browser to script the actions required to do this. Lynx does this by dumping a user's keystrokes ...
4
votes
3answers
3k views

Why can't I run programs on another partition in Linux?

So for convenience, I store all my data on my Windows partition so that I can access my data easily from both Linux and Windows. However, I tried compiling a C++ program with g++, and found out that I ...
2
votes
3answers
11k views

Transparent proxy with squid 3.1 on RHEL 6

We have nearly 50 systems with windows XP and have Linux (RHEL6) for server. Also have squid 3.1 , Samba and Apache for local use. Under proxy, VPN and outlook express does not connected. I heard ...
16
votes
6answers
37k views

How to partition 22TB disk?

I have a 22TB disk on /dev/sdb. How do I create a 22TB partition? Don't really care about the file system - ext4 or zfs is fine. Running CentOS 6.2 - Partition will be used as a data dump. Only a ...
2
votes
1answer
139 views

Is this task freeze related to ReiserFS (v3)? (or: is ReiserFS getting so old that it should be actively replaced?)

I just had a weird system freeze that I resolved using alt-sysrq-e. Here's my dmesg: https://gist.github.com/1609263 I was wondering whether it might be some kind of deadlock in the reiserfs3 code ...
2
votes
2answers
2k views

Filezilla: GnuTLS error when using FTPES

Response: 220-This is a private system - No anonymous login Response: 220 You will be disconnected after 60 minutes of inactivity. Command: AUTH TLS Response: 234 AUTH TLS OK. Status: ...
4
votes
3answers
9k views

How do I display the name of my audio card driver from the command line in Lubuntu 11.10?

I am running Lubuntu 11.10 and I want to display my Audio / Sound Card Driver from the command line.
4
votes
1answer
1k views

Bash alias arguments [duplicate]

Possible Duplicate: How to pass parameters to an alias? I am trying to make a bash alias that will allow me to quickly make an archive of the current git repo. My current alias is: alias ...
2
votes
2answers
623 views

How to install aMSN on Scientific Linux?

I can't find aMSN in the Scientific Linux 6 repositories.. How can I install it?
3
votes
3answers
1k views

Xorg: multiple keyboards, one configuration

On my laptop, I tweak some keybindings and keyboard preferences with xmodmap and xset. When I plug an external USB keyboard, the configuration for that new keyboard is the default, i.e., without my ...
4
votes
2answers
2k views

Using umask to set group permissions

A long time ago an old friend showed me a way to use an octal or hex umask with a group I think using /etc/profile. I'm not sure. I'm trying to create group on Debian so that every member of that ...
4
votes
3answers
12k views

How to create a custom dynamic DNS solution?

You all probably know commercial dynamic DNS providers like dyndns.org or no-ip.com. But how to create a similar service for just a handful of machines? What server software would be best suited for ...
-2
votes
1answer
342 views

How to find the htpasswd file created for SVN over Apache?

I setup subversion with remote access over apache. I created an htpasswd file for it, but now I've forgotten the filename and path. How can I find it?
0
votes
2answers
3k views

Can't access internet after connecting to L2TP IPsec VPN

I have configured a L2TP VPN on Ubuntu server 11.04, and I can connect to it with a Mac client. But after connecting successfully to this L2TP VPN, my Mac cannot access the internet. To access the ...
4
votes
3answers
1k views

Regaining usage of volume control media keys after removing pulseaudio

I am running a GNOME 3 fallback desktop in Debian testing, and I removed some pulseaudio packages, for I don't need the advanced functionality. That resulted in my multimedia keys that control speaker ...
3
votes
3answers
486 views

How can I keep track of what's using the most CPU?

I use nagios to monitor my server. Once in a while I'll get a report that the CPU load is warning / critical, etc. Usually this happens at some odd hour or when I don't have the tools to immediately ...
3
votes
2answers
407 views

Extracting bigrams with sed

How do I split an entire text consisting of only letters into bigrams. For example: odd even od -> de dd -> ev This is what I have so far but it does not produce the desired result. [some ...

15 30 50 per page