1
vote
1answer
8k views

Mount a Windows network drive

I want to mount a netword drive on the server (SBS2008). I have two options: Either using a fedora which already mounts on a CentOS server or directly on the CentOS server. Here is the command I tried ...
1
vote
1answer
493 views

Finding duplicate files

I need to write a bash script that finds duplicate files, but in addition to md5sum it needs to use cmp to do the final check. I tried the command below in my shell. How can I add a loop and put it ...
1
vote
2answers
312 views

Copying linux install from non-RAID/x86 to RAID/x86-64

I'm copying an Ubuntu Server install from an x86 machine with a single hard disk to a new machine with x64 and two identical disks. Two partitions will span the new disks: One small-ish RAID1 for ...
1
vote
2answers
3k views

How can I debug a problem with my network connection?

On one of my computers with Xubuntu 10.04 there is a problem with the network connection. How can I debug it? I tried the cable on my laptop (running the same operating system) and it worked, so ...
1
vote
1answer
745 views

How to limit ftp access to multiple places for one user

I don't even know how to write the correct question since it is a little confusing to ask it. Here is the problem. User X would like FTP access to /user/x folder and to /var/www/x folder. How can I ...
1
vote
2answers
644 views

How to keep overwriting the contents of a file instead of appending to it

How do I clear the contents of a file before writing to it? For example: echo one > filename.tmp # filename.tmp now contains "one" echo two > filename.tmp # filename.tmp should now contain ...
1
vote
2answers
372 views

tail -f equivalent

I am seeing several seconds delay with the tail command. I found the cause for it has something to do with nfs services. I am using arch linux and yet to find out how to disable all these services I ...
1
vote
1answer
379 views

Error creating an alias for the find command [duplicate]

Possible Duplicate: How to pass parameter to alias? I am trying to shorten the find command, but getting an error: $ alias f='find . -name $1 -print' $ f JobConf.java find: paths must ...
1
vote
1answer
355 views

GNOME: Use WinKey (Super_L) as a main menu toggle

I know how to set Super_L (WinKey) button to open the Menu. gconftool-2 --set /apps/metacity/global_keybindings/panel_main_menu --type string "Super_L" Currently, in order to close that menu, I am ...
1
vote
1answer
225 views

Security hurdles to enabling sources in repo

When I run sudo apt-get update I have the following output: Hit http://mirror.transact.net.au stable Release.gpg Ign http://mirror.transact.net.au/debian/ stable/contrib Translation-en Ign ...
1
vote
1answer
904 views

Passing the “--float” option to OpenVPN client from NetworkManager

NetworkManager on Fedora14 doesn't support the "--float" parameter of OpenVPN client. Are there any workarounds to connect with NetworkManager to an OpenVPN network using the --float option? Or are ...
1
vote
1answer
877 views

How to completely rebuild boot partition with grub as well?

openSUSE 11.4, I have boot partition on pendrive. The problem is when I boot computer, grub immediately shows error "file not found" (I have no clue which file) and switches to "rescue mode". I can ...
1
vote
1answer
626 views

How to change vim auto-indent behavior?

By default vim aligns lines inside LI tags on the same position as the position of LI tag, but I want the contents of LI to have deeper indentation. Current behaviour: <LI> first line second ...
1
vote
2answers
521 views

Computer terminal and virtual console [duplicate]

Possible Duplicate: What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'? I was wondering what relations and differences ...
1
vote
1answer
607 views

submitting form with cURL sometimes works, sometimes doesn't

I use this command to fill out a form in Drupal 6 (create node): curl -b cookies.txt -d ...
1
vote
3answers
1k views

Ls with spaces + variables

I want to do something like this, but it doesn't save the variable after the piping ends: fs=( ) echo ${fs[@]} ls -A1 | while read f do echo ${fs[@]} fs+=( "$f" ) echo ${fs[@]} done echo ...
1
vote
1answer
293 views

performance on Linux system when daisy-chaining multiple USB hard-drives on USB hubs?

What would the I/O access be like as I plug many USB drives into a Linux system with only 2 USB 2.0 ports and 1 USB 3.0 port? I expect I will have to have multiple levels of fan-out by plugging hubs ...
1
vote
1answer
148 views

What Linux tool will tell me if all the mounted disks share roughly the same bandwidth?

What Linux tool will tell me if all the mounted disks share roughly the same bandwidth? Can I do something like iostat for each of my /dev/sd* devices?
1
vote
1answer
372 views

restricting pushes to selected Mercurial repositories using `ssh` forced commands and `hg-ssh`

The context of this question is the hg-ssh script. It is helpful but not critical to know something about Mercurial. This script sets up a forced command using public keys so the given public key ...
1
vote
1answer
343 views

Need help processing a text file with awk to conform to CSV flat file format

I have the following problem. I collected data on reaction time from over 100 participants for an experiment I am running. Unfortunately, the separators between fields were not consistent, but after a ...
1
vote
2answers
124 views

Terminal command (called not from SU) that would restrict process from writting to all directories but one?

We have an app testApp. We have a folder called notRestricted in the directory where we run app from. We want to limit access of the app to file system so that app could write only to that folder (we ...
1
vote
2answers
2k views

How / where to get sources for kernel-2.6.36-gentoo-r4 in Gentoo Linux distribution?

How can I get (i.e. what command to use) sources for kernel-2.6.36-r4 (uname -a says that it is version 2.6.36-gentoo-r4), or where from I can download it? I want to compile the userside 'perf' ...
1
vote
1answer
367 views

Which process/program create/write the file which I/O is redirected to?

When learning SELinux, I executed semanage fcontext -l > fcontext.txt under /root directory to dump massive fcontext information to a file. The funny result is: fcontext.txt was created, but the ...
1
vote
2answers
1k views

rxvt-unicode + mc - strange characters in root shell only

Using rxvt-unicode-9.11 and mc-4.7.5.2, and using zsh-4.3.11 as my login shell, I find that I get strange characters, eg â instead of lines being drawn. Interestingly however, launching urxvt from ...
1
vote
2answers
4k views

How to show Nautilus toolbar and file tree sidebar?

I've installed the latest Scientific Linux 6. But when I opened the included Nautilus file manager, there is no file tree sidebar and no toolbar, nor status bar. How do I activate them?
1
vote
2answers
650 views

Socksify like program for Fedora?

I need a program that allows me to pass an application through a socks server, even if the program does not have native socks support. Under Ubuntu I can use socksify for this. What can I use under ...
1
vote
3answers
8k views

How to reach a Vbox guest from host when using NAT networking

Using Fedora or Ubuntu for the host with firewalls turned off on each side (vbox guest&host), what do I have to do to reach the guest machine using a NAT interface just like it would be with a ...
1
vote
2answers
156 views

DocBook DSSSL test failure

So I followed these (Linux From Scratch) instructions to test my build of DocBook DSSSL, and I get this: $ onsgmls -sv test.sgm onsgmls:I: "OpenSP" version "1.5.2" onsgmls:test.sgm:1:61:W: cannot ...
1
vote
4answers
1k views

How to install Fedora&Ubuntu with encrypted VG's on one disk?

I installed Fedora 14 first, then Ubuntu 10.04. I installed them using dm_crypt/aes256/lvm, so I used encrypted VolumeGroups. At the end of the Ubuntu install it said it cannot install GRUB, so I had ...
1
vote
1answer
620 views

APTonCD equivalent for Fedora

Is there an equivalent of APTonCD for Fedora? I tried googling and found YUMonCD but wanted to know if there exists some package in the repos.
1
vote
3answers
572 views

Why does Crontab give me an error with my PHP script when running it from the terminal does not?

I'm having some problems with running the Crontab with PHP files. I have this same php scripts running in the Crontab for more than 6 months but some days ago mysteriously they stopped to execute the ...
1
vote
1answer
182 views

Python in GNOME code base

Is Python present in the Gnome code base? If so, how is it involved? Note: My question concerns the core GNOME Desktop Environment only (e.g. nautilus, gnome-session, NetworkManager) and any ...
1
vote
0answers
112 views

How do I determine the make & model of my storage devices? [duplicate]

Possible Duplicate: How do I find out what hard disks are in the system? I'm running a CentOS 5.5 system. This system has 4 disks and a 3ware RAID controller. How can I determine the make ...
1
vote
1answer
128 views

Default configuration I need to change?

A few days ago I installed a new linux os. Today i realize /root has o+r (755) so EVERYONE is able to see my root sql password in /root/.my.cnf. I freaked out and simply changed /root to 750. My ...
1
vote
4answers
467 views

suse cannot install software

I just installed suse 11.3, but cannot update the system. Update Applet says: PackageKit Error repo-not-available: Failed to download /media.1/media from ...
1
vote
1answer
221 views

For deploying a public-facing webapp, which between Testing and Stable to use some weeks before release?

Which do you recommend? Some POVs to consider: stability available packages life kernels or any other reasons? [note] This question was originally a request for recommendation between Debian 5 ...
1
vote
1answer
943 views

Control bandwidth with iptables

How can I control bandwidth in RHEL 5 using iptables?
1
vote
2answers
131 views

How would you create a user with the HOME_DIR field in /etc/passwd completely blank?

Closest I can come is: useradd --home / -r --shell /sbin/nologin someuser But this creates an entry into /etc/htpasswd that looks something like this: someuser:x:100:100::/:/sbin/nologin I want ...
1
vote
1answer
753 views

How to align applets on Gnome panel

Does anyone know how to align applets on Gnome panel? For example I add notification area and there's five icons (you see it on the left of processor icon). Then, I plug my BlueTooth adapter out of my ...
1
vote
1answer
495 views

Unexplained Log Cruft and Possible Dropped Packets on WPA2-Personal LAN

I've been receiving a LOT of log cruft ever since I installed my Linksys Rangeplus USB WUSB100v2 (using the rt2870sta community driver from the Linux kernel) and was wondering what it all meant. Many ...
1
vote
0answers
451 views

What are the strengths and weaknesses of different Unices [closed]

In a few points, what are the strength and weakness of your favourite Unix. Tell us the unique features that other implementations do not offer.
0
votes
1answer
22 views

wifi not working, have I installed the correct drivers?

I have a laptop with wifi not working: I can detect hardware with lshw and lspci, but that is it. network-manager is not showing it. lshw -numeric -C network reports *-network UNCLAMED description: ...
0
votes
1answer
32 views

How to find information about a firmware and install it?

How can we find out information about a firmware, such as whether it is installed, and if installed, its version? if the firmware is installed, how can we find out its version and if it is outdated? ...
0
votes
0answers
12 views

Check the firmware which a module needs

in http://ubuntuforums.org/showthread.php?t=2242147&page=2, The driver requires firmware: $ modinfo iwlwifi filename: ...
0
votes
3answers
40 views

is it possible to create a macro-like user defined shell command?

Is it possible to run a single shortened command that would in turn initiate multiple longer to type commands? for instance, $ kontact & rekonq when passed to my terminal opens two ...
0
votes
1answer
25 views

dovecot not starting : service(imap) access(/usr/lib/dovecot/imap) failed

I have installed dovecot but the service is not running. I have verified using ps -A | grep dovecot and service dovecot status The test says : dovecot stop/waiting In the /var/log/mail.err and ...
0
votes
1answer
35 views

Which systemd service starts text console on the framebuffer device?

I'm working with an embedded platform and need to have /dev/fb0 clear for my own use (the device accessible over serial console while the screen is used to display information, without X.). I've ...
0
votes
1answer
49 views

Upgrading guidance for Cedarview driver in Debian 6 - 2.6.32

Our system runs with Debian 6 squeeze (2.6.32) Kernel with N2600 hardware. I know the version is old. An upgrade is in later plans. Recently, we tried connecting multiple monitors (CRT and HDMI), and ...
0
votes
1answer
74 views

Temporary file BASH

does this piece of code creates temporary file? Because I am not supposed to use them and I only found out yesterday that even sed -i creates it. So I can be sure. Thanks while read line; do if [[ ...
0
votes
0answers
24 views

Cancel removing a directory, and want to find out what have been removed

I was removing a directory by rm -r mydir and cancelled it in the middle. How can I find out what have been removed under the directory? Does remove a content of a directory change the timestamp of ...

15 30 50 per page