3
votes
3answers
929 views

Which file system to choose for small sized files?

I have a partition and it has ~100 GB of audio files. Most of them are mp3 or ogg, each has size of ~15 MB. I update it on a weekly basis. Right now, the partition is formatted as ext4. I have read ...
7
votes
2answers
549 views

How do I prevent tmux from wrapping around when searching?

When I am in edit mode in a tmux pane and I do a search, once it reaches the end, it goes back to the beginning. Is there any setting to prevent this?
1
vote
2answers
492 views

What is wrong with my .bashrc PS1 line?

I think the screenshot should show what's going on. I open a shell, and dir colors don't work. I run bash again, and dir colors work. What's going on?
1
vote
1answer
671 views

What is the optimum swap size on Linux for a heavily threaded program?

I using an Amazon EC2 server small instance and by default it allows 382 threads per process. However, I wish to run 10,000 threads in a single process. Recently, I learned that this can be done by ...
0
votes
0answers
152 views

Job IDs and their meaning/reference

Using Red Hat, I sent few jobs to a cluster and got "job IDs" in return. Using qstat I can see only one is running, one was canceled and the rest are still in the queue. I wrote something like this: ...
15
votes
2answers
32k views

apache2 Invalid command 'SSLEngine'

When I restart httpd, I get the following error. What am I missing? [root@localhost ~]# service httpd restart Stopping httpd: [ OK ] Starting httpd: ...
6
votes
3answers
4k views

Wake-on-LAN with BusyBox?

Is it possible to implement the wake-on-lan magic packet in bash? I'm using a old, customized BusyBox and don't have ether-wake. Is it possible to replace it with some other shell command, like: ...
7
votes
3answers
898 views

How to keep track of installed software

Every now and then I'm in need of updating a software running on one of our testservers at work (mostly Debian). What really confuses me almost every time is the fact that there is not just one way to ...
5
votes
2answers
2k views

Automatically hide Linux Mint notification bar after timeout

It seems like the notification bar on the bottom of the desktop in Linux Mint 12 never hides unless I click N+1 times on it first (N being the number of messages). Since it's overlaid over all windows ...
7
votes
2answers
5k views

How to find out which file is currently written by a process

My situation is that from time to time a specific process (in this case, it's Thunderbird) doesn't react to user input for a minute or so. I found out using iotop that during this time, it writes ...
3
votes
1answer
6k views

install firefox in ubuntu-server edition

I have ubuntu server edition installed and I want to install firefox inside it , I don't want full ubuntu-desktop package just a minimal setup which would let me run firefox inside ubuntu-server 10.04 ...
4
votes
1answer
2k views

How to setup default browser?

How to change default browser for opening url-s ? For sanity check, I tried: xdg-open 'http://unix.stackexchange.com' And it opens in other browser. I found information about assigning ...
2
votes
1answer
702 views

samba security share && user [closed]

This is my smb.conf: [global] workgroup = myworkgroup netbios name = mercurio server string = fileServer security = share map to guest = Bad User [Share] comment = Carella di condivisione globale ...
6
votes
3answers
10k views

Connect 2 laptops together in dualhead mode?

This probably isn't possible, but I thought I should ask just incase I'm wrong. Is it possible to connect 2 or more laptops together and drag files/folders from one screen to the other as if you were ...
2
votes
0answers
262 views

eldoc makes emacs use 100% cpu

When I use eldoc, I add this to .emacs: (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) (add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode) (add-hook 'ielm-mode-hook ...
1
vote
2answers
1k views

Script to create files in a template

I just wrote a function in my ~/.bashrc that will let me create a folder for a new website with one command. The function looks like this: function newsite() { mkcd "$*" # mkdir and cd into it ...
1
vote
0answers
166 views

Offsetting maximized window? (KDE + Compiz + Emerald)

Is there a way anyone knows of to offset a maximized window's position in KDE+Compiz+Emerald setup? I seem to have a 5px distance between the top of the screen and where the window actually starts. ...
7
votes
2answers
3k views

what is meant by connecting STDOUT and STDIN?

This is a newbie question. I'm reading a book, it says: Every process has at least three communication channels available to it: “standard input” (STDIN), “standard output” (STDOUT), and ...
3
votes
1answer
352 views

Backing up chroots for host reinstall

I've had my workstation for a couple of years now and its slowly become a complex beast, taking on many roles for my dev and test work. I have done some research and was thinking of setting up some ...
0
votes
3answers
13k views

How do I redirect command output to a file?

I have a command that I run in a folder that outputs MD5 hashes and filenames on the terminal: ls |sort -nr | xargs md5sum I need this output in a text file that I can download and compare to ...
0
votes
1answer
6k views

How to change the primary display of dual screen Fedora 16?

I have a dual display Fedora 16. How can I change the primary screen (the one with the panel)?
1
vote
3answers
3k views

permission denied when redirecting sudo sed output [duplicate]

Possible Duplicate: Redirecting stdout to a file you don't have write permission on I'm trying to install drupal according to the instructions given in this tutorial: ...
3
votes
1answer
56 views

Is there a GUI tool to show an archive information with ratio visualization?

Is there a GUI tool to show an archive information with ratio visualization like this:
8
votes
2answers
2k views

Is there a tool to display WiFi information in console?

Can I view detected WiFi networks details (like signal strength, encryption etc.) in command line? The more detailed - the better.
3
votes
2answers
412 views

need shell script to grock a csv

Need some pointing in right direction on script to fetch and regex or sed. Site24x7 provides a URL with a CSV list of their source IP's used for monitoring. (they also provide other formats, CSV ...
3
votes
1answer
461 views

Where can I look for backup script?

I want find out where the backup script of a Fedora 8 server is. I haven't found it so far ( my Linux knowledge is very spare). I looked with crontab -l and I only can find a tempdelete.pl. Than I ...
9
votes
3answers
12k views

grep: Trailing backslash

I want to do a grep for \resources\. How do I do this? I've tried: grep \resources\ grep \\resources\\ grep "\resources\" grep "\\resources\\" None of these work.
3
votes
2answers
2k views

ping -c1, wait for all responses from broadcast

I want to send one packet to the broadcast address, but wait for all responses. If I do ping -c 1 192.168.1.255, it sends just one packet, but it quits after getting the first response.
2
votes
1answer
4k views

Denied permission to change ownership

I am trying to change the ownership of a folder and all its contents to www-data, but am being denied permission to change it. I am root. and I've tried using sudo but nothing works. ...
2
votes
1answer
114 views

Gentoo on VM setting IP Manually

I installed Gentoo on Virtualbox with the minimal image. This is the first time I am running gentoo. I need to do ifconfig eth0 192.168.0.10 route add default gw 192.168.0.1 everytime it boots on ...
13
votes
2answers
699 views

Bash syntax highlighting of subshells

Considering the large amount of questions which turn out to be related to subshells in Bash ("Why doesn't my variable increment in this piped while read loop?"), I just thought it would be very nice ...
4
votes
9answers
791 views

Metaphor for the concept of shell?

I'm finding myself helping out some classmates in my computer science class, because I have prior development experience, and I'm having a hard time explaining certain things like the shell. What's a ...
3
votes
2answers
1k views

Avoid reformatting bullet lists with formatoptions+=a

I am using Vim with formatoptions +=a as described in Vim: word wrap for documents to format lines automatically while I write documents, expecially Markdown documents. My problem is that Vim wants ...
13
votes
3answers
2k views

Can SSH passwords be sniffed out over Wi-Fi?

When you ssh, can the password you enter to connect, be intercepted if you're using untrusted public Wi-Fi (coffee shop, library, airport, etc).
3
votes
2answers
323 views

Is it possible to show the contents of a directory without changing into it?

I'd like to show the contents of a folder without first changing into it. for example: ---- Documents | | L_ Essays If I'm in Documents, how can I show the contents of ...
2
votes
1answer
338 views

Why doesn't my new cygwin .bashrc interactive check work?

I just updated Cygwin and the new .bashrc contains this line right at the top: echo "BEFORE TEST" # If not running interactively, don't do anything [[ "$-" != *i* ]] && return echo "AFTER ...
1
vote
0answers
288 views

Unable to connect by FTP to a Debian AWS server (ami-aa46b4c3)

I've launched an AWS instance with the image debian-6.0-squeeze-i386-server-20110323 (ami-aa46b4c3) and I am trying to set up a FTP server. I have tried several ftp servers but nothing seems to work. ...
3
votes
1answer
6k views

Error in R: Unable to open connection to X11

I just set up a fedora distribution on my computer and am slowly trying to learn how to work from the command line. I was testing R which went fine, except for some reason when I tried again I ...
2
votes
0answers
102 views

Fonts of some applications get confused

I am running Debian Testing with LXDE. After some time of work, some applications begin to show confused fonts, as shown in the following screenshot (the pdf specific area is good): This happens ...
3
votes
1answer
797 views

Enable .Net 4 Mono on OpenSuse

I have an OpenSuse Linux server and want to run an ASP.net web project. I have installed the apache2 module mod-mono, but when I try to access the ASP web pages it looks as if it is attempting to use ...
3
votes
1answer
586 views

Moving through history of commands on command line?

I used to use Up/Down to move through the history of commands. Then, a few days later it changed to Ctrl-p/Ctrl-n. Now this also doesn't work to move through the history of commands entered. How can ...
7
votes
7answers
2k views

How to sort (by whatever key) BibTex entries in `.bib` file?

I work with LaTeX and do versioning with Git. For bibliography management I use Mendeley. The problem is that each time Mendeley synchronizes it's .bib exports, they are in different order, what ...
3
votes
1answer
1k views

Create iso image of ext3 type

I want to create an ISO image which can be mounted with an ext3 partition type. How can I do that? I am using this command: [root@manage upload]# dd if=testParti.txt of=./diskImage.iso 41+1 records ...
8
votes
4answers
11k views

Booting the already installed Windows from the VirtualBox installed in Ubuntu

I want to boot the Windows which is installed in laptop's internal harddisk(/dev/sda1) from the VirtualBox installed in my Ubuntu. Can somebody tell me how to do this in VirtualBox.
5
votes
1answer
2k views

On what occasion will inode change?

I checked manual of find , and there's an option -ctime which specify the last modification time of inode. But on what occasion would inode change ? When is that option useful ?
2
votes
1answer
622 views

How to download an entire directory from a webserver?

I want to download the contents of this page for study purposes. How can I download only this directory?
13
votes
3answers
7k views

find exclude directory

I am on Linux (Ubuntu) and I am would like to exclude certain directories (like .hg) when I am doing a find | less I tried the following to exclude the .hg directory from listing, but does not ...
2
votes
1answer
1k views

Permission Denied when downloading Drupal

/var/www$ wget http://ftp.drupal.org/files/projects/drupal-7.0.tar.gz This results in: --2012-02-08 21:20:17-- http://ftp.drupal.org/files/projects/drupal-7.0.tar.gz Resolving ...
16
votes
1answer
2k views

removing or clearing stack of popd/pushd paths

After pushding too many times, I want to clear the whole stack of paths. How would I popd all the items in the stack? I'd like to popd without needing to know how many are in the stack? The bash ...
3
votes
4answers
1k views

command for counting number of active cron jobs in crontabs

Problem statement I have 5 solaris boxes, some have Solaris 10 and some have Solaris 9. All of them have many cronjobs in their crontabs. I would like to know number of active cronjobs available, so ...

15 30 50 per page