2
votes
2answers
980 views

Different Kernel in DomU than in Dom0 on xen

If my Dom0 on Xen is kernel 2.6.18 with xen 3.3.1 can i boot a, say, 2.6.34 kernel in a DomU ? Background: 2.6.18 runs like a charm on Dom0. Don't want to update here, because there is special ...
1
vote
4answers
579 views

Is learning a text editor like vi necessary and still worth the time today? [closed]

I started a new internship where all the servers run on AIX. Logging in for the first time I was suprised to see that my favorite text editor nano was not installed. Everyone here uses vi not ...
1
vote
3answers
5k views

Changing file associations in GNOME?

This blog post talks about how to change the default application to handle a file type in Nautilus for individual file types (right-click on the file, "open with", and select the new default ...
5
votes
1answer
351 views

Is split-screen `cat`ing possible?

I asked the question How to use cat or less depending on the line count? with the intention of browsing many files without having to scroll up too far to view my history after displaying a long file, ...
1
vote
4answers
4k views

How to unrar and unzip files recursively?

I have a huge file that contains zips and rars with zip and rar files located within on a linux box. I basically need a script or one-liner that will recursively hunt through the directories and ...
2
votes
1answer
300 views

FTP timeout FIRST time [closed]

I'm using PureFTPd on MacOSX (Snow Leopard, not server version). When trying to access the FTP account from the outside via dyndns (e.g. using https://www.wormly.com/test_ftp_server) the connection ...
14
votes
4answers
12k views

View pdf file in terminal

I want to see pdf files available on our cluster rather than copying them into my local machine and than visualize. Please tell me how can i do this.
1
vote
1answer
1k views

Screen resolution problems on Thinkpad E520

I'm having some troubles with screen resolution. First of all, I'm using a Lenovo Thinkpad E520, with BackTrack 5 R2 installed. My natural resolution is 1366x768, but I'm stuck with 1024x768. This ...
12
votes
2answers
1k views

How to use `cat` or `less` depending on the line count?

When looking at the content of files, I'd like to automatically cat short files but less those that exceed the screen size. I could use something with wc -l, but is there a better way that maybe also ...
8
votes
3answers
6k views

What is the most correct way to pass an array to a function?

Consider I have a very large array $large_list, is there a way to write a function that will take the array as an argument? For example: echo_idx_array () { arr="$1" idx="$2" echo ...
0
votes
1answer
3k views

How can I generate /proc/vmcore?

I want to practice with makedumpfile. However, it needs /proc/vmcore which is the memory image of the currently running kernel. Also, reading the man page of makedumpfile, we also need 2 kernels: ...
4
votes
1answer
353 views

Mail Server Spoofing Prevention

I was in the mail logs yesterday when i noticed the following messages.. only there were more like 10,000 odd hits... Jun 21 10:47:10 exi-svr-2 dovecot: pop3-login: Disconnected: user=, method=PLAIN, ...
1
vote
1answer
242 views

Where to submit new mimetypes?

I've defined new mimetypes with file suffix, where should I submit my work, so that it will be included in future linux/unix distros ?
6
votes
3answers
637 views

Upload & Download speed in Tmux status line

Is there a way to get upload and download speeds in Tmux's status line?
2
votes
0answers
460 views

Which system configuration setting(s) on HP Compaq dc5750 need to be changed if “running Unix”?

HP Compaq dc5750 small form factor Athlon 64 X2 3800+ 2.0GHz 2GB 160GB On starting the system it displayed this message: If you are running Unix, you need to configure your system using the ...
2
votes
3answers
2k views

How do I mass-convert the “last modified” dates in a particular directory?

For example, say, I know that my time-offsets are off by several hours (perhaps because my system clock was a few hours ahead at a certain time). In that case, how would I mass-change the "last ...
2
votes
0answers
603 views

How to check/test internal card reader speed

I got new SD card claimed to be 10 class of speed, but internal Disk utility in linux after test showed up only 6th class of speed. How can I check my card reader speed to be sure that it's not the ...
22
votes
2answers
3k views

Where do the files go if you mount a drive to a folder that already contains files?

I just accidentally mounted a new drive to a folder that already contained files. I don't care about them and have them somewhere else, but that folder appears empty now. I'm curious what happened ...
1
vote
1answer
187 views

crontab sets up user variable, redirect output, and detect connetcted network

I have three problem, all of them are about crontab. Can I access $HOME variable in crontab ? for example, use $HOME like this: PATH=$HOME/bin:$HOME/scripts:$PATH ? or * * * * * echo "test" > ...
3
votes
2answers
571 views

When merging directories with similarly-named files, how do you ensure that only smaller+earlier files are replaced?

E.g., if you want to merge two directories with each other (by moving everything from directory 1 into directory 2), and both directory 1 and directory 2 have some files with the same name. Then how ...
4
votes
2answers
3k views

Fluxbox dual screen configuration

I recently set up a second monitor for my home computer. Through the use of nvidia-settings I was able to set up my two monitors. My second monitor is set up as a seperate X screen to the right of the ...
2
votes
0answers
597 views

PPPoE connection problem

I have just installed Backtrack 5 R2 and I'm finding it difficult to make a DSL internet connection. What troubles me is that I think I have all the steps figured out, and after completing them, the ...
1
vote
0answers
999 views

No connections work after starting OpenVPN service?

I setup my Scientific Linux 6.2 as an OpenVPN client via the instructions here, and restarted my OpenVPN service. I checked /var/log/messages and it says the VPN connection was established. However, ...
3
votes
1answer
171 views

Print tab character in fish

In bash I could either do echo -e "a\tb" or echo a$'\t'b. How do you do this in fish?
5
votes
2answers
678 views

How to fix diacritics in PDF forms in Evince?

I happen to live in Czech Republic and we have such letters like ě, š, č, ť, etc in the alphabet and use them everywhere, including addresses. Today I was filling a PDF form in Evince and noticed that ...
2
votes
1answer
5k views

CPU and core usage stats

I'm running some programs on a server and I would like to know how much % cpu I'm taking up and how many cores are being utilised by my process. To clarify, the server has 16 CPUs, all quad-core. I ...
2
votes
2answers
1k views

debian wireless networking configuration

When I issue the command iwconfig wlan0 essid NAME it sometimes takes a really long time to actually be able to view any webpages through a browser. I don't know why that is. Right now the ...
6
votes
2answers
779 views

Copy all tags from one FLAC file to another?

Is there a way to copy all tags from one FLAC file to another seamlessly using a command-line tool?
6
votes
11answers
10k views

Which programming language is best to begin with as a total beginner? [closed]

Ok here is the deal after playing with Linux distros for best part of 4 years, I have a great urge learn some coding. However I'm a bit undecided as to which programming language to begin with. Word ...
3
votes
2answers
572 views

Change (not remove) “fortunes” in Linux Mint console

I don't mind the idea of quotes when I load the Mint console, however the OEM text leaves much to be desired. I'd like to update the quote text with inspirational or otherwise useful quotes. How ...
2
votes
3answers
4k views

How to edit file on remote machine with text editor?

I am on a Windows machine, and I am using NoMachine to connect to a development box. Unfortunately, the box runs on RHEL5, so lots of software is not supported. I want to use Sublime Text. Is there a ...
5
votes
2answers
665 views

apache and php Segmentation fault [closed]

I have recently migrated to Archlinux. I installed Apache, php and mysql according to the Arch Linux LAMP wiki page. Now I have setup a virtual host for my new Symfony project. For every request I ...
3
votes
2answers
3k views

How to save a copy of a protected PDF form in Evince?

I've got a pretty long PDF form from my ISP and filled it carefully. Willing to save my work of filling it I've tried to use File - Save a copy.... But Evince says it can't save it because it is ...
7
votes
1answer
2k views

Variable substitution with an exclamation mark in bash

I have the following lines in my .cfg bash script file DDF_SOURCE="siebel_DATA_DATE_FORMAT" DATA_DATE_FORMAT=${!DDF_SOURCE} how is ${!DDF_SOURCE} evaluated? It would be !siebel_DATA_DATE_FORMAT, ...
8
votes
1answer
396 views

Finding the library versions a library was linked against

I have a library that was compiled on an unknown Ubuntu machine, And I'd like to determine what version of Ubuntu that machine had at the compile time. My idea was to try and find the versions of ...
14
votes
2answers
6k views

How to Extract Album Cover Image from MP3 file?

I have a bunch of MP3 files that have their album art included within the file itself. I am now looking for a way to extract them to store them separably, at best from command line. Is there a way to ...
5
votes
3answers
6k views

How to run the terminal using keyboard shortcuts in Gnome 2?

I'm using Gnome 2. I use the terminal several times, and I lose a lot of time going in Applications / Utilities / Terminal to launch the terminal. I am wondering if I can launch the terminal using ...
0
votes
0answers
147 views

To which audio format can I convert aac lost-free with ffmpeg?

Since I did not manage to get the audio work with ffmpeg -i video.mp4 -acodec copy -vcodec copy out.avi I'm searching for an audio format to which I can convert aac lost-free. Does such an ...
6
votes
3answers
5k views

Having tmux load by default when a zsh terminal is launched

My current workflow is: CTRL+SHIFT+T to launch a new terminal window. That starts a new zsh terminal. Type tmux to start tmux. How can I have tmux load by default with a new terminal window?
8
votes
3answers
2k views

How to create a list of installed packages for easy/automatic reinstall after disk is formatted

I'll change my system from 32 bits to 64 bits, and will be the same I had before, Debian Squeeze, but I do not want to lose the programs I installed before, because I do not remember the name of them ...
10
votes
2answers
587 views

Plan 9 from Bell Labs book [closed]

I would really like to obtain a book on Plan 9's design and ethos. Do such things exist? Anybody have a recommendation? (Asking here on the basis that Plan 9 was once meant to be Unix's successor, ...
2
votes
0answers
837 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
564 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, ...

15 30 50 per page