2
votes
0answers
832 views

How to use Public IP in case of Two ISP which difers from each other Pfsense [closed]

Please bare with my long explanation but this is important to explain the actual problem. Please also pardon my knowledge with PFsense as i am new to this. I have single PFSense box with 3 Ethernet ...
6
votes
2answers
9k views

Adding a folder of jar files to my path

Unix newbie here. I have java tools that I need to use. The tools are in a folder full of jar files. I wanted to add this folder to my path, for the obvious reasons, but after I edit my .bash_profile ...
2
votes
1answer
515 views

Enabling shared Folders in SCO 5.0.7 on vmplayer

I have installed SCO 5.0.7 on a VMware Player VM on the Fedora 9 host system. In VMWare Player, i found an option to share folders between Fedora9 an SCO in Virtual Machine Settings. I enabled this ...
3
votes
1answer
89 views

Vim mapping behaving strangely

I have the mapping shown below, in my ~/.vimrc. However, this mapping also hijacks the Enter key. So, whenever I hit Enter it executes the tabedit % command. I am using gvim 7.3 nnoremap <C-m> ...
4
votes
3answers
3k views

What is a good tool to sync two computers

At home I've got a pc tower running arch linux. Recently I also acquired laptop for on the road, but I'd like to be working on the pc tower when I'm at home. Now I'm pretty sensitive as to how my ...
3
votes
3answers
192 views

Exporting just a single file

To make scripts accessible from anywhere in the terminal, one can use the following sequence of commands: PATH=$PATH:some_path_here export PATH Which includes all files at the path sent in ...
2
votes
1answer
2k views

FreeBSD USB devices - given /dev/da* device is on which speed?

I use machine with USB 2 and USB 3 ports, and I have USB 3 external disk which works perfectly in term of speed (I use it as backup drive so during the night new files are nicely transfered to this ...
1
vote
1answer
563 views

How to start a webserver with systemd?

I copied this this file (vokabel_daemon.service) [Unit] Description=Start vokabeltrainer daemon After=network.target [Service] ExecStart=/home/mm/lib/vokabeltrainer/box_vokabeltrainer.pl daemon ...
0
votes
1answer
153 views

Cygwin installation message [closed]

I want to ask about this error? The error states : This is the first time you've installed Cygwin 1.7.x. Please be advised that this is a major release. If you have not done so already, ...
4
votes
2answers
7k views

how to redirect output to multiple log files

How to redirect standard output to multiple log files Following seems to be not working. Any help is appreciated. some_command 1> output_log_1 output_log_2 2>&1
2
votes
1answer
238 views

prepend digit to filenames which begin with digits (with zmv, please)

I have a directory with files named like 19.png, 20.jpeg, and README00.txt I want to rename these to 119.png, 120.jpeg, and README00.txt. I would like to do this with zmv as it works well in so many ...
6
votes
3answers
10k views

How to check which Apache group I can use for the web server to write?

I'm trying to make Wordpress work. I currently have this error message: Could not create directory. /var/www/html/wp-content/upgrade/theme_name when trying to upload a theme. This is the ...
2
votes
0answers
179 views

Is there a way to get German text to speech in festival?

Searching for info about German text to speech, I came across a "Dialog-based Human-Technology Interaction by Coordinated Analysis and Generation of Multiple Modalities", as well as this page, which I ...
4
votes
1answer
3k views

changing xorg driver for netbook with cedarview integrated graphics

So I was messing around. I installed debian, everything worked fine. I had to re-install debian for whatever reason. It decided to do something different and now I'm stuck with a 800x600 resolution ...
8
votes
2answers
9k views

Loop through tab delineated file in bash script

Here's what I have so far: #!/bin/bash while read line; do DB=$(echo $line | cut -f1) USER=$(echo $line | cut -f2) PASS=$(echo $line | cut -f3) echo DB=$DB USER=$USER ...
37
votes
2answers
4k views

Can a terminal emulator be as fast as TTY 1-6?

I've been trying various terminal emulators lately, from the built-in gnome-terminal, aterm, xterm, wterm, to rxvt. The test I've been doing is in this order: Open up a tmux window with 2 panes The ...
7
votes
3answers
6k views

Multivariable For Loops

Is there a way to specify multiple variables (not just integers) in for loops in bash? I may have 2 files containing arbitrary text that i would need to work with. What i functionally need is ...
0
votes
1answer
282 views

what does 'old' mean in the output of `who -u`?

Title says it all. In the listings of who -u, some of the records show the string "old" in the idle time column. I know that "." means the session is not idle. What's the meaning of "old"? The ...
1
vote
2answers
2k views

How to bypass youtube's local cache?

Youtube performance here in Brazil has been terrible lately. Checking my browser's activity I can see that my ISP has a local Youtube cache and serves videos in 1.7 MB chunks. Talking to some friends ...
8
votes
3answers
1k views

How can I cd to the previous/next sibling directory?

I often have a project directory layout like this project `-- component-a | `-- files... `-- component-b | `-- files... `-- component-c `-- files... I'll usually be working in one of the ...
5
votes
1answer
784 views

Redirect terminal output to image file

I need to programmatically run some unix commands and get the output in a image file, the format could be png or jpeg (jpg). The commands are run in an AIX (IBM *nix) machine. I don't have ...
6
votes
2answers
2k views

Why does `cat`ing a file into itself erase it? [duplicate]

Possible Duplicate: IO redirection and the head command I just wanted to remove all but the first line of a file. I did this: head -1 foo.txt ... and verified that I saw only the first ...
9
votes
2answers
2k views

Tools for Monitoring Steal Time (st)

We're running on a virtual "dedicated" server, which should, in theory, mean that we're the only guys on the server. In practice.... I'm thinking we might not be. Notice that although it looks ...
1
vote
1answer
10k views

How do you connect to the internet in backtrack 5 R2

I have recently installed backtrack 5 r2 so it dual-boots alongside windows. However for some reason I'm finding it difficult to make a wired connection using wicd. I know that the connection itself ...
1
vote
1answer
224 views

How to configure a shortcut to open a window accessed by right click on the systray icon?

The application I am referring to is Turpial and it is a Twitter client. The problem is to open the window I need to send twits, I have to right click on a systray icon and select an option. In the ...
2
votes
0answers
372 views

Stuck on Fedora splash screen after OpenBox3/tint2 install

My system was bogged down by Gnome3 DE and so I made an install of OpenBox3 and tint2 on a Fedora 17 system yesterday. Both were working marvelously. After a system reboot this morning, my system is ...
7
votes
1answer
7k views

How to change the default program for a specific file extension system-wise in kde or xfce?

I'd like to have certain file extensions to be opened with some specific programs. What are the files the edit ? I have found in /usr/share/appplications/default.list but it doesn't work.
2
votes
3answers
15k views

Linux Mint: how to update repository references

I have a Linux Mint 10 Julia installed on my machine. I'd like to upgrade, but as Linux Mint upgrade page says: why upgrade? I would like to upgrade in order to have more recent software and fixes. ...
3
votes
2answers
529 views

Change string occurrences in file while respecting DOS new line sequences

I use Visual Studio for my C# development while using Cygwin for some of the tasks that require scripting. Recently I wanted to change all occurrences of string AAA to BBB in my project's files. I ...
2
votes
4answers
2k views

chown all files based on file name pattern in current directory

I'm trying to chown all files whose filenames begin with ChownFileNames. I've used this command, but it doesnt seem to work: find . -maxdepth 1 |grep 'ChownFileNames*' -exec chown hadoop:hadoop -- {} ...
4
votes
1answer
446 views

Patch without changing owner and group

I've got a file owned by a non-root user: # ls -l example.php -rw------- 1 foo bar ... example.php I just applied a patch with a command like patch -p0 <<-EOF --- .../example.php.orig ...
2
votes
1answer
2k views

Send email from a shell script

I have written a script which runs a simple program in the background, logs the output and emails me when the job is done. It works fine except for the fact I am not recieving the email. I have tried ...
2
votes
1answer
2k views

Sarg report error

I have a proxy server that runs Ubuntu Server 11.10, Squid 2.7.STABLE9. I installed sarg (version 2.3.1 Sep-18-2010) to generate reports using the ordinary apt-get install, and added a cron job to ...
3
votes
4answers
4k views

Permissions to deny SSH users from accessing other user's folders

I am currently running Fedora on a network computer, acting as a host to other users who will SSH into my terminal to do their work. However I realised that they are also able to access my /home ...
2
votes
3answers
10k views

Cannot boot Linux Mint after installing Windows (First) and Linux Mint (Second)

I can't boot my Linux Mint after installation of Windows. First I installed Windows and then installed Linux Mint with the option of "Install along with windows". But after I completed the Mint ...
2
votes
2answers
2k views

How to remove error messages when searching recursively for a string?

I use find -type f -print0 | xargs -0 -n 10 grep -i searchstring to search recursively for a string. But it also gives me error messages like "permission denied". How can I avoid such error messages ...
4
votes
1answer
1k views

pacman-key --init takes too long and does not exit

First, I am new to Arch Linux. I have installed Arch Linux on my system and now when I try to install something using pacman, it gives me an error that the key 'xxxxxxx' was not found. I Googled and ...
2
votes
1answer
430 views

SSH connection timeout

I'm periodically establishing short SSH connections to one of the local servers. I observe intermittent timeouts. After investigating the issue, I found that SSH timeouts happen when there is a lot of ...
3
votes
2answers
1k views

Using sort with alphanumeric filenames

I'm sorting the results of a find command which finds all of the files in the current directory: find . -maxdepth 1 -type f -iname "*.flac" | sort What I'm expecting is a list like this: ./Track ...
1
vote
2answers
316 views

Sudden burst in free memory

I'm experiencing some strange memory management behaviour on Squeeze with Kernel 2.6. I'm trying to get to the bottom of this with nmon. Sometimes this will freeze up the system for 30 seconds to 5 ...
0
votes
2answers
85 views

Can the Fedora installer partition the disk itself?

I've been using Ubuntu for a little while now, but I plan on dual-booting with Fedora just to try it. Does Fedora give you the option to partition your disk and dual boot upon installation or do I ...
3
votes
4answers
13k views

How to clean up the RAM memory that is being used as cache memory?

My processor is using a big part of my RAM memory as cache and I want to clean it up because of that; will it prejudice something?
2
votes
1answer
621 views

Run an application under Tomcat

I have an application that needs to run under Tomcat. I have installed Tomcat but I don't know where can I put the directory of the project.
11
votes
4answers
6k views

Convert image of a partition into image of a disk with partition table

I have an image of an existing partition generated with dd if=/dev/sdXN of=image.bin. Now I want to use this image as the basis for a virtual machine. I know how to convert the image into a format ...
1
vote
1answer
2k views

PNG Image not displaying for desktop icon on Fedora 16/17 with Gnome

I attempted to create a desktop icon in Fedora Gnome but I only get a generic binary icon for my application. Installing Gimp or OpenOffice magically makes my icon appear. I used Google Chrome on ...
3
votes
1answer
408 views

What are the main differences between those linux distro vs general daily linux we use?

In one hand i have general daily linux: Fedora/CentOS/ArchLinux/Ubuntu. On other hand i have following: eCos FreeRTOS BuildRoot RTEMS openembedded uCLinux Did anyone used those uncommon linux ...
1
vote
0answers
421 views

grub-mkfont input and output formtas

I have a font that I can set using setfont and rc.conf [CONSOLEFONT]. It is in psf2 format. I would like to use the font in Grub as well. I'm using Grub2. When I run grub-mkfont -o ~/outfont pc.psf ...
-9
votes
3answers
216 views

File name in file system [closed]

I have a strange question about file system in Unix. Why isn't it possible to give the same name to two files under same directory ? Wouldn't it be possible to use IDs to differentiate between ...
7
votes
3answers
2k views

ext2/3/4 reserved blocks percentage purpose

I know that this feature dates back 20 years but I still would like to find out What is the purpose of the reserved blocks in ext2/3/4 filesystems?
4
votes
4answers
4k views

Image HDD in Linux (functionality like Norton Ghost)

I am looking to use an embedded Linux distro such as Tiny Core as a automated recovery type tool. Basically, the user would choose to boot into Tiny Core from the boot menu, then if a USB is plugged ...

15 30 50 per page