3
votes
3answers
13k views

Rename files by incrementing a number within the filename

I have a directory which contains numbered image files, something like this: 01.png 02.png 03.png 03.svg 04.png 05.png 06.jpg 07.png 08.png 09.png 09.svg 10.png Sometimes there may be multiple ...
1
vote
2answers
119 views

bash: Redirect IO , but not with suffixes

usually I use XX 2>error.log , but for debug purposes , I prefer the following syntax: function XX() { redirect_io_to "error.log" } Is there such syntax available ? It's convenient ...
3
votes
1answer
4k views

What is resume= used for in my grub boot settings?

I've always noticed the resume=/dev/foo entry in /boot/grub/menu.lst, and that it corresponds to the swap partition, but I've never questioned its use. title SUSE Linux Enterprise Server 11 SP2 - ...
2
votes
2answers
16k views

Cannot connect to my Virtual Box Ubuntu system

I have a VirtualBox running an Ubuntu OS. I'd like to access this Ubuntu machine using ssh or telnet. In order to do that I've performed the following steps: sudo apt-get install telnetd sudo ...
1
vote
1answer
918 views

Extract marked strings from text file using Bash

I have files which are of the following style - these are parametrised configuration files; the values within the #characters are replaced with real values from a database depending on environment. ...
1
vote
3answers
192 views

How to restrict OpenSSHD when I'm logging in from dynamic IP address?

So I have an OpenSSHD on an Ubuntu machine using static IP address. My notebook PC has dynamic IP address -> "I mean really dynamic", so there couldn't be any ranges specified... I need to restrict ...
0
votes
2answers
414 views

Linux for a writer, running on a Pentium II [duplicate]

Possible Duplicate: Linux for low-end hardware and internet browsing My dad has a rather old computer that's just sitting there that I want to repurpose. Now I know could probably get a ...
1
vote
2answers
308 views

How to split vCards lines

Related to How to join vCards lines, vCard does a weird kind of line splitting: If a line contains more than 75 characters, insert a "CR, LF, space" sequence. Thus the following line: ...
3
votes
2answers
6k views

Change directory with space followed by '('

There are two directories I can change to: Program Files/ Program Files (x86)/ I can change to first one by writing: cd Program\ Files But the second for second one: cd Program\ Files\ ...
1
vote
2answers
1k views

Different domains for multiple VM's on host with one WAN IP

I've got only one WAN IP address bound to KVM host system and multiple VM's with internal IP's, say, 10.0.0.1/28. On the other hand I have multiple domain names bound to host system WAN IP. The ...
0
votes
0answers
2k views

Mail Server not working?

I am trying to setup mail server since a long time but as I am new to Linux I have unsuccessfully configured it to the best as I could but now I need assistance. I have installed it using the links ...
2
votes
1answer
392 views

How to join vCards lines

vCard uses a special way to split long lines: At 75 characters, insert a DOS newline and a space. Joining therefore means to replace all occurrences of the sequence "CR, LF, space" with an empty ...
2
votes
1answer
1k views

How to add folder to existing user [proftpd]

As we know we can add folder to user using useradd user -p user_passwd -d /home/ftp/user_dir/ -s /bin/false but how to add folder to existing user, for example /home/ftp/root for root ?
2
votes
2answers
1k views

Sync local files to remote git repository

I have my git repository on a linux located on the company server. I ssh into my linux machine and edit files there. Problem This method is great until I have a good connection to the server. in ...
22
votes
4answers
52k views

How to unzip a multipart (spanned) ZIP on Linux?

I need to upload a 400mb file to my web server, but I'm limited to 200mb uploads. My host suggested I use a spanned archive, which I've never done on Linux. I created a test in its own folder, ...
0
votes
0answers
56 views

amarok displays wrong time for ogg files

I am running Amarok 2.5.0 on Fedora 16 and it is displaying the wrong time for all ogg audio files. Is there a way to fix this issue?
3
votes
1answer
2k views

debian wireless networking through terminal

I'm starting to use the wmii windows manager and I want certain pieces of information to display on a status bar. If I were to want to display the ESSID for the network, I would have to find it ...
3
votes
1answer
4k views

Mounting a multi-partition (GPT/HFS+) USB 2.0 harddrive on Debian

I have a 3TB USB 2.0 hard-drive which has two HFS+ (Mac) partitions using GUID partition table for the partition records. It was partitioned with Mac OS Disk Utility. How can I mount these partitions ...
2
votes
2answers
2k views

Sort by regular expressions

I've got a set of POSIX regular expressions* ^BEGIN:VCARD\r$ ^VERSION[^A-Z] ^FN[^A-Z] ^N[^A-Z] ^NICKNAME[^A-Z] ^EMAIL[^A-Z] ^X-\([A-Z-]*\) ^TEL[^A-Z] ^ADR[^A-Z] ^ORG[^A-Z] ^TITLE[^A-Z] ^BDAY[^A-Z] ...
2
votes
1answer
226 views

How should I install software from source so that I can make my configuration manageable and reproducible?

I work with a lot of scientific software on Linux distributions (normally Debian variants and Red Hat variants). In order to maximize performance and get access to the latest features, it's often ...
4
votes
2answers
1k views

Lowres application icon on window switching (alt-tab)

I manually downloaded and installed Sublime Text 2 (instead of adding the repository and installing via apt-get install) and I'm having some trouble getting gnome to find the high res icons for ...
19
votes
6answers
9k views

How to convert a 32-bit (x86) Debian Wheezy system to 64-bit

I have a 32-bit system which runs on a 64-bit processor. How do I convert it to be all-64-bit, without re-installing? I have seen somewhere that it is doable as a result of the new Multiarch ...
-4
votes
1answer
377 views

sed and awk challenge [closed]

Here is a great challenge for someone to attack! Is there a way to achieve the following using sed and/or awk. Please see myfile.txt below: $cat myfile.txt: entry "entry-header" entry-top name ...
19
votes
3answers
5k views

Command for forcing a pointer ungrab (captured mouse release)

Sometimes Firefox doesn't release the mouse after dragging, so I need to kill the application to force it to release its pointer grab. Is there any command to force an application to ungrab the ...
3
votes
2answers
2k views

Help understanding modifiable in Vim

During a OS upgrade (Linux), Vim or some part of it has been updated as well. Now it happens that sometimes when I save a file (the file is not saved) I get this error: E21: Cannot make changes, ...
4
votes
2answers
594 views

Viewing Debian documentation offline

How do I read various manuals, guides and howtos, which are usually in the form of deb packages with names ending in -doc and installed in /usr/share/doc directory?
1
vote
2answers
310 views

Nonblinking cursor in xmonad

I'm trying to get a nonblinking cursor in gnome-terminal. In gnome I used gconftool-2 -s /apps/gnome-terminal/profiles/Default/cursor_blink_mode -t string off do accomplish this. How can i stop the ...
3
votes
1answer
352 views

Startup programs on virtual desktops

I'm now using .xsession to run my terminal/browser while xmonad is starting. What i'd want to be able to do is to start different programs on different virtual desktops in xmonad (eg browser on ...
2
votes
2answers
778 views

How to set permissions what users can see (drives, folders) on opensuse 12.1?

I have a several users on one machine and its needed to specify which user can access (read & write) specified folders and/or mounted drives. First of all, one user shouldn't see a ...
2
votes
3answers
3k views

Is it safe to install KDE along with Gnome?

I want to install KDE on my Linux Mint Debian Edition (which as of 10 June 2012 corresponds with Debian Wheezy). I already have Cinnamon (a Gnome Shell fork) installed, which has regular Gnome 3 ...
12
votes
6answers
3k views

Which installed software packages use the most disk space on Debian?

Disk space on my root partition is running low, so I want to delete some applications from the system. How can I see which software packages use the most disk space? Is it possible to view that from ...
1
vote
0answers
483 views

Mon Configuration

I am trying to get the hang of the mon daemon, in linux. I was wondering, can you set up dependencies in mod, if so how. As far as I understand it the script below will run ping then http regardless. ...
4
votes
1answer
3k views

Recover a reiserfs hard disk

I'm unable to mount my 300GB external (in external enclosure) HDD's single partition. None of the fsck tools add anything, they cannot even recognize the partition. I had forgotten whether I had used ...
-4
votes
2answers
161 views

Beginning shell scripting [closed]

I am a new user of this community. I want to learn Unix shell scripting. So please guide me on how to start for the same.
1
vote
1answer
119 views

attr man page missing?

How does one search for certain manpages (such as http://linux.die.net/man/5/attr)? Trying: man attr and man -K attr don't seem to work. Any ideas why?
0
votes
1answer
711 views

OSX : rmdir “permission denied” but directory removed

This is a question from a newbie trying to learn UNIX commands. I was trying to test the rmdir command by removing a test directory located in my Downloads directory. I have read and write rights on ...
0
votes
1answer
1k views

How to sync two directories?

I have an "A" HDD (1,5TB) next to me (on a netbook running OpenBSD 5.1, it's a fileserver) And I have a "B" HDD (1,5TB) 200km's away from me on an OpenWrt 10.04 router (also "fileserver"). I always ...
3
votes
3answers
1k views

Issues with .bash_profile and terminal commands

I added some data to my .bash_profile to run two aliases ruby version 19 and the proper gems. As soon as I added the data I could not longer run any commands such as the MacPorts command port nor the ...
2
votes
0answers
610 views

Make feh notice newly plugged-in monitor for image scaling

I use my laptop with multiple monitor, I want feh to understand that a new monitor has plugged in and scale wallpaper image accordingly. I use the following code, but when a new monitor is plugged ...
5
votes
2answers
8k views

How do I resize GNOME shell top bar

I am on Ubuntu 12.04 and installed gnome-shell, but I found the top bar is larger than it normally is, how can I change its size?
1
vote
3answers
1k views

Is there a way to install only the base Fedora system?

I'd like to install a base Fedora system meaning without all the other programs/applications that come when installing a Gnome/KDE/XFCE spins. How do I do this? This is the first time I'd be ...
1
vote
1answer
121 views

Can CONFIG_NTFS_FS be disabled completely?

I use ntfs-3g as file system type , I'm wondering if CONFIG_NTFS_FS is still necessary ? Seem you could remove that. Also does ntfs-3g have better performance than kernel ntfs driver ?
4
votes
1answer
970 views

Which Unix tool for Pixel-art -generation?

I have had problems to generate pixel art for a game where units are of specific sizes such as 55x55 (not geometry but by pixels i.e. 55 pixels by 55 pixels). I have tried Gimp where I have misread ...
6
votes
1answer
320 views

Shell script: find iconized programs , if found , activate it

Stardict uses a tray icon , also allows multiple instance of itself , but sadly , i don't use a panel , so no notification area available. But when I hit on close , it minimized to tray , is there a ...
7
votes
3answers
1k views

Linux Bulk/Remote Administration

Beside our internal IT infrastructure, we've got around 500 Linux machines hosting our services for the on-line world. They are grouped in a bunch of clusters like Database A-n, Product A-n, NFS, ...
4
votes
1answer
542 views

gnome-open replaced by sublime?

Update: It seems that it has been automatically fixed, however the same applies whenever I try to sudo gnome-open or gksu gnome-open Well, this is a really weird one. I'm currently running Mint 13 ...
2
votes
3answers
992 views

Is it possible for a shell script to contain both tcsh and bash commands in the same script?

Say, I modify a lot of code that uses tcsh, but since a lot of people say that bash is more modern, I'd also like to learn bash along the way. Is it possible for me to use a script that contains both ...
1
vote
2answers
204 views

How do I create a bunch of files with different parameters in the body of each file?

So, say, I want to create a bunch of files named this way (where I have an original file "albedo10solar100" with text inside), where I vary albedo from 10 to 60 in steps of 10 and solar from 90 to 100 ...
5
votes
1answer
3k views

Udev rule is not being used?

I'm setting up udev to handle my external USB hard drive when it gets plugged in and removed (no mounting yet). So far, I've made two new rules in /etc/udev/rules.d/10-local.rules to log ...
4
votes
2answers
300 views

Linux flavor for beginners

I bought a new notebook (HP Probook 4530s - i5, 4gb RAM) which has just DOS on it. The idea is to install a flavor of Linux which can serve as an alternative to Windows for my regular work (software ...

15 30 50 per page