3
votes
0answers
31 views

Permanently fixed screen titles [duplicate]

Possible Duplicate: Force title on GNU screen I know how to set a title in screen (Ctrl-A A). However, every time I do so, if I change directories or run a command, the window title ...
4
votes
1answer
196 views

Read Usenet comp.unix and more with back-then software (trn)

Is there a way to read the comp.unix Usenet discussions (and others) using the software that was used then? I'd like to read it to learn, but I can do a bit of escapism at the same time. Besides, as ...
0
votes
1answer
778 views

IDE or Editor for Front-end development (JavaScript/HTML/CSS)? [closed]

These days APTANA seems to be the IDE of choice for Javascript developers although there is no package for Ubuntu or any other distribution. How do I install Aptana on Ubuntu? Is it stable? (if you ...
3
votes
1answer
1k views

Cross-compiling and CMake

I am trying to cross-compile CGAL on an amd64 Linux machine to the ARM architecture. CGAL uses CMake for building. CGAL has several dependencies, including GMP and MPFR libraries. When CMake runs, ...
2
votes
1answer
558 views

Slow boot, how to program fsck to run like a cron job?

Sometimes my web server crashes, and it may take hours to boot. I've been told fsck might be the culprit, because it can only be run during boot, only runs after X days and Y mounts, and if the server ...
2
votes
1answer
185 views

Is there a way to define the preferred merge or diff tool under Unix?

I know that you can define the preferred editor by setting the EDITOR environment variable. My question is if there is a similar solution for setting the preferred merge or diff tool.
16
votes
0answers
495 views

How did the system settings directory on UNIX come to be named /etc? [duplicate]

Possible Duplicate: What does etc stand for? And why isn't it named /cnf or /syscf or /cfg? No one I have ever asked has been able to tell me, not that I have access to any of the minds ...
2
votes
3answers
3k views

Will g++ build 64bit on 64bit system?

If I am using automake to build a library if there are no specific flags specifying target system will the result be according to the system that the build is happening on? Meaning compiler on 64bit ...
2
votes
2answers
87 views

`cd` all screens to the PWD of the current screen

Suppose that I am running screen on a remote server with four open screens. Is there a quick way to cd all the screens to the working directory of the currently-open screen?
2
votes
2answers
2k views

lts is there a way to enable sleep mode and wake on lan?

I was wondering if it were posible to make my server go to sleep after a set period of time, but still be listening for lan requests. I use my server as a media server that might get used 3 or 4 hours ...
2
votes
1answer
558 views

Fedora 16 to Fedora 17 post-upgrade tasks

I have just successfully upgraded from Fedora 16 to Fedora 17 using the Preupgrade tool. One of the post-upgrade steps suggested here is to "remove unsupported packages". The guide says to run ...
2
votes
1answer
350 views

Leafpad ignoring gtkrc

On a fresh install of Debian Wheezy, I have Leafpad 0.8.18.1-3. Following instructions I created a .gtkrc-2.0 in my home folder and put the commands to change the text area colors. This had no effect. ...
2
votes
3answers
202 views

Connecting Debian webserver to network

I am currently running a webserver with Debian 5.0.2. It has been working (more or less) fine for the past 2-3 years but recently it went down due to some power-outage. Ever since I have brought it ...
6
votes
2answers
9k views

Rsync except .svn folders and their sub-contents?

Dealing with a subversion repo and a new user that didn't quite understand how it worked. Long story short, since their local structure was messed up due to copying random .svn folders about, I did ...
1
vote
1answer
485 views

Read/write access on raw NTFS image

I backed up an entire 32GB NTFS partition to a raw image with with dd. The file-system on the partition in accessible under Debian after mounting with: $ sudo mount -o ro,loop ...
2
votes
2answers
3k views

external variable in awk [duplicate]

Possible Duplicate: Use a script parameter in awk I have a script, in which a script snippet is x=3 awk '$2=$x{print $1}' infile the external variable is x, but it prompts an error in ...
0
votes
1answer
216 views

Intruder nature detection by opensource tools like tripwire

I want to use different kind of intrusion detection tools like OpenSource Tripwire. Please suggest me some tools which can provide me some additional information to that provided by tripwire? ...
1
vote
1answer
836 views

Mesa EGL not working, not even initializing

Nearly a week now, and I can't figure out what's wrong! Any pointers would be appreciated (pun intended)! Ubuntu 12.04 x86_64 Mesa-8.0.4 ./configure --enable-64-bit --enable-pic -enable-opengl ...
13
votes
4answers
26k views

Remove line containing certain string and the following line

I use this cat foo.txt | sed '/bar/d' to remove lines containing the string 'bar' in the file. I would like however to remove those lines and the line directly after it. Preferably in sed, awk or ...
2
votes
1answer
734 views

Strange issue with curl/lynx and non resolving domains

I have a weird issue on my server in that if I use curl or lynx to try and access a URL that doesn't exist (say a non registered domain, or a domain that's not in DNS), I don't get an error, it ...
1
vote
1answer
508 views

Connecting 2 monitors to a laptop

I have a laptop running Fedora 15, Gnome 3.0.1, and Mobile Intel® GM45 Express Chipset. I have a VGA monitor connected to it, as well as a DisplayPort to DVI adapter to connect a second monitor. Both ...
1
vote
2answers
2k views

How to avoid cp -r ~/some/folder/ . copying all files to the current folder's top level?

(Update: this happens on Mac OS X -- I am using Mountain Lion.) It sometimes happen that I use the tab key to complete the path, so my command may be: cp -r ~/some/folder/ . but it turns out that ...
1
vote
2answers
5k views

How can I get vsftpd version into shell variable?

I want to get vsftpd version into shell variable. I can get it to console with ease: # vsftpd -version vsftpd: version 2.2.2 Also I can get a lot of other info into variable: # i=`bash --version ...
-1
votes
4answers
3k views

Would you say FreeBSD is more stable than Linux? [closed]

This question is a sequel or a parallel question to my previous one: Unity problems & Searching for a good WM I am wondering whether my personal assumptions that FreeBSD is indeed more stable and ...
1
vote
1answer
134 views

Series of question on ebuild scripting. Given original passage from devrel & questions

Scope Whenever an ebuild is sourced, the functions and variables within it are loaded into memory by the script interpreter. However, only variables and instructions that are not part of a function ...
1
vote
1answer
493 views

How to install ubuntu ultimate edition using Wubi?

I had some trouble installing Ultimate Edition 2.9 on my friend's computer using Wubi. Wubi just doesn't accept installation and gives only 2 options - 'Demo & Install' and 'Learn more'. Tried ...
5
votes
4answers
5k views

Output of 'watch' command as a list

I want to do some simple computation of the number of lines per minute added to a log file. I want also to store the count for each second. What I need is the output of the following command as a ...
8
votes
2answers
3k views

How can I disable TCP/IP for an Ethernet adapter?

I have CentOS 6.3 running in a (virtual) machine with two Ethernet adapters. I have eth0 connected to a TCP/IP LAN and eth1 connected to a DSL modem. The system is intended as a dedicated ...
0
votes
2answers
138 views

Why is there no critical section in the pipe?

Why is there no critical section in the pipe? For example, as in shared memory. In pipe have general data, which in common use in joint processes, but in the shared memory also have general data, ...
3
votes
2answers
3k views

Problem with samba shares Ubuntu server 12.04

I'm having a problem with setting up samba share permissions on Ubuntu Server LTS. I've got two shares set up in the smb.conf file. The entries look like this: [share] comment = Ubuntu File Server ...
8
votes
2answers
19k views

How do I copy a symbolic link?

I have a symbolic link to a file in one directory. I would like to have that same link in another directory. How do I copy a symbolic link? I tried to cp the symbolic link but this copies the file ...
4
votes
3answers
6k views

How to write a shell script that gets executed on login?

I am trying to write bash shell script in Ubuntu 11.10 Linux distro, that will get executed automatically on logging into the system. But I am not able to figure out that what to write in script that ...
2
votes
1answer
143 views

Awesome wibox: remove tag label

Currently, I have both the gajim and skype windows visible as both icons (in systray) and window labels (in mytasklist). How can I remove that latter so that it is not shown since I do not need two ...
0
votes
0answers
332 views

GNUPanel Install onto Debian GNOME with Apache2

I am a very very new linux user and I have somehow managed to install debian gnome onto a machine on our network and using apt-get i've installed apache2 with php5. I can access my website over the ...
3
votes
0answers
509 views

What's keeping my screensaver from activating?

I'm running Linux Mint 13 KDE on an HP Pavilion g6 laptop. The screensaver, which in my case is xscreensaver, but I've noticed this behavior with kscreensaver as well, never seems to activate. ...
1
vote
1answer
294 views

ttyb serial port connectivity issues

I am having issues with a device connected to my Sun V440 ttyb serial port. How would I test the connectivity of the port to see if any data is moving across the connection? I am trying to see if the ...
2
votes
2answers
3k views

Why is rcS required after file system is mounted by the kernel?

I am a beginner in embedded Linux, I have compiled the kernel without initramfs and kernel is booting fine. But It shows me rcS file is not found I have put it in /etc/init.d/rcS and my rcS file look ...
8
votes
1answer
634 views

Why does this PS1 value cause unexpected behaviour? [duplicate]

Possible Duplicate: Why is my bash prompt getting bugged when I browse the history? I have set my PS1 variable in .bashrc to be the following: PS1='\e[35m[\W]:\e[0m ' It achieved what it ...
4
votes
2answers
181 views

Determine which process is taking most of disk bandwidth?

When the HDD indicator is blinking (for a long period), how could I know which process is taking most disk bandwidth?
2
votes
2answers
185 views

Where to place a Bash shell redirection for a command? [duplicate]

Possible Duplicate: Order of redirections Apart from the standalone exec >&2 to redirect the current shell's input and output are there any behavioral differences in the following ...
1
vote
1answer
318 views

Triple Boot - Mac, Windows, Backtrack

This was the closest stackexchange site I could find to something of this nature. Currently, I own a Macbook Pro with a Bootcamp Partition (Win7), a Mac Partition (OS X Lion), and the Recovery ...
1
vote
4answers
1k views

Check if the residence's connection has internet access

I'd like to be able to test if I have access to the internet. My computer is connected to the residence internet connection. I thought of using ping like this: ping -q -w 1 -c 1 `ip r | grep default ...
3
votes
2answers
4k views

getting 553 - cannot create file in vsftpd (ubuntu 12.04)

I'm trying to setup a ftp account for a user that has read/write access to one folder: /items/myuser I've set up the account with username 'myuser' in Linux with the adduser command. After that, I've ...
1
vote
0answers
30 views

Time Machine Server on Fedora [duplicate]

Possible Duplicate: How can I (and should I) use my Linux file server as a Time Machine backup server for my Macs? I was just wondering if anyone knew how to/or knew of a good guide to ...
10
votes
4answers
1k views

Avoiding errors due to unexpanded asterisk

In bash I often use for-loops such as the following for file in *.type; do sommecommand "$file"; done; to perform an operation for all files matching *.type. If no file with this ending is ...
0
votes
1answer
965 views

Connection with hostapd stops working after 10 minutes

I have installed hostapd as package for Ubuntu 12.04. Everything is configured and works great for about 10 minutes; after that, packets start to get dropped and eventually I can't even connect. ...
9
votes
5answers
4k views

pv for directory copy

I need to copy a very large directory (talking in terabytes here) and want to monitor the progress. I found that pv is a nice utility, but how can I use it for copying directories recursively? (pv ...
1
vote
1answer
3k views

Weird mouse behaviour. Mouse too fast

When I move my mouse slowly over the desktop the pointer jumps often a few pixels (one or two) in the opposite direction of which I move my mouse. Horribly when trying to set the cursor around some ...
2
votes
0answers
88 views

Regain control of an X Server

I have a Gnome session running on my server. I started it with tightvncserver. Now it wont let me in anymore because of Too many authentication failures - client rejected This seems to be a ...
2
votes
3answers
398 views

How to read '\n' into variable with Bash's built-in command?

Somehow I'm not able to read the trailing \n sign into the REPLY variable. Under any circumstances I want to avoid a blank line that results from the \n being echoed by read but echo one in case of ...

15 30 50 per page