8
votes
1answer
628 views

Using ACLs over read only/remote filesystem

I would like to define local ACLs to be used over a remotely mounted filesystem. The filesystem is mounted via autofs and sshfs FUSE. The idea is that we could setup a jailed user on a jump server ...
5
votes
1answer
175 views

find usage - command line vs script

I am seeing different results from the find command between being run manually on the command line vs run in a script. If I run the following on the command line: find . -name '*.txt' ! -name ...
3
votes
1answer
302 views

Create Logical Volume Snapshot at boot and before mount

I'm using Kubuntu 11.10 and before I upgrade to 12.04, I want to make snapshots of my filesystems. Coming to think of that, I realized that it can be very useful to create snapshots of logical volumes ...
2
votes
3answers
2k views

Is Oracle Linux feasible for a desktop?

Is Oracle Linux feasible for a desktop enviroment or is it strictly server oriented?
0
votes
1answer
133 views

Suggest me a distro “beetwen debian and ubuntu”? [closed]

I need to install a linux distribution; i like the distro debian-like. I used to use ubuntu, i tryied the new version..it seems to me to be a fake of Mac OS...something just to let you say: yeee i ...
1
vote
2answers
421 views

Linux Distribution for bioinformatics?

I need a linux distro which is designed for bioinformatics including some bioinformatics tool, a sample database, etc.
5
votes
1answer
4k views

When using btrfs, why “Size”, “Used” and “Avail” values from df do not match?

I have a btrfs partition. When I run df -h, it shows: Filesystem Size Used Avail Use% Mounted on /dev/sda2 113G 101G 8.3G 93% /home From Why is that? Is it because reserved space for ...
1
vote
1answer
459 views

Customize Emacs Ruby Mode for PuppetLabs conifguration

I predominantly use emacs for editing my Puppet configuration files. I use the following settings in my .emacs to load Ruby mode and use it for Puppet config files (*.pp): (autoload 'ruby-mode ...
2
votes
2answers
550 views

Is there a way to get the filename (or title) of a completed print job?

The lpq -a lists, among other things, the name of each file printed. Rank Owner Job File(s) Total Size active myuser 2 version.txt 1024 ...
8
votes
1answer
3k views

Throttling web crawlers

My website is being DoS'ed by Google webspiders. Google is welcome to index my site, but sometimes it is querying a tagcloud on my site faster than my webserver can produce the results, making my ...
16
votes
8answers
3k views

What is the utility of the : command in shell scripting, given that it explicitly does nothing?

In the answer to this question about comments in shell scripting, it is indicated that the : is a null command that explicitly does nothing (but is not to be used for comments). What would be the ...
7
votes
4answers
391 views

Sort fields inline

I'm trying to sort within a line of input over an unknown number of fields: Input: ab bc bc ab cd ef bc bc cd ef cd bc ab ef ab bc cd gh Output: ab bc ab bc bc cd ef bc cd ef ab cb cd ab bc cd ...
0
votes
0answers
207 views

Installing Fedora 16 from an external HDD?

How can I install Fedora 16 Live (32-bit) from an external HDD connected via USB? I tried it with Universal-USB-Installer and received an error message that there was no drive found to be mounted and ...
15
votes
7answers
6k views

Is there a difference of stability between Linux distros?

I've using Debian since 2010 for some home purposes and it has been stable. Is Debian still a good option if I need a server for heavy network, cpu, disk and memory usage? Last month I listened to ...
3
votes
1answer
8k views

VirtualBox guest using Bridged networking unable to obtain DHCP address

I have a computer, called Loki, that works as a virtual machine host and DHCP server. The DHCP daemon is listening on port eth0. Part of /etc/dhcp.conf: subnet 192.168.13.0 netmask 255.255.255.0 { ...
3
votes
2answers
456 views

issues with GNU tail -f and combination of commands

$ tail -f /logs/filename.log | awk '!(/list)' I am able to run this command in GNU Linux flavour But when I written in a script it is not working. test.ksh: variable="/logs/filename.log | awk ...
10
votes
2answers
3k views

Should you run automatic updates

I'm running production Centos web servers. I want to know what is best practice for running updates. Should I automate this with yum-cron or yum-updatesd? Or is there a danger of updates breaking ...
3
votes
1answer
272 views

Emacs shortcuts in term mode

I've a question about using Emacs as editor and terminal. I split my window into different windows with C-x 3for example. One of the generated Window is used as terminal with M-x term. Usually I ...
4
votes
2answers
980 views

How to set secure permissions for multiple users and multiple websites?

On a Gentoo 3.2.12 server with apache2+php, there are several websites running: /www /website1 /website2 ...etc The apache user should have read-only access to all the websites. There ...
0
votes
2answers
507 views

Optimize command yum

I would like knowing if there is a way to increase the performance of the command yum to install and search packages. I'm a very happy new user of Fedora 16.
4
votes
1answer
5k views

Arch Linux , mount disks with thunar , without password

I just setup a minimal installation of Arch , installed gvfs , thunar-volman. But mounting disk requires password , this shouldn't happen. How should I work it out ?
2
votes
3answers
3k views

Terminal - display too small to run menuconfig?

I am trying to install drivers and when I try to run the command make menuconfig I get the error message that the "display is too small" for that command? What does this mean, and how to solve this? ...
0
votes
2answers
2k views

How to install OpenSuse 11.4 through an ISO without burning it to a DVD?

How to install OpenSuse 11.4 through an ISO without burning it to a DVD? Installation needs to be done on hardware, not on some virtual machine. anisha@linux-dopx:~/tarBalls> uname -a && ...
1
vote
1answer
552 views

How does “Remote tab title format” in Konsole work?

Some terminal programs, in particular Konsole supports "Remote title format" which allows you to specify title for remote tabs which includes placeholders like remote host. How does this work? Where ...
0
votes
1answer
117 views

How to install StackApplet on Fedora 16?

Is possible to install the StackApplet on my Fedora 16 (under KDE) ?
2
votes
3answers
343 views

`$RANDOM` is not random within `find`'s `-exec`

I'm trying to find and move a whole bunch of folders on a linux box. All the folders are named the same, so I am using echo $RANDOM to provide a random number to use for a folder name. echo $RANDOM ...
1
vote
1answer
528 views

How do I shut down ports remotely without shutting myself out?

I have an Ubuntu 11.04 server in a remote location on another continent, so I have no physical access to it. I only interact with it by ssh (and scp), and intend to only ever interact with it that ...
42
votes
3answers
26k views

Multiline shell script comments - how does this work?

Recently, I stumbled upon a multiline comment type I have never seen before - here is a script example: echo a # : aaa : ddd # echo b This seems to work, hell, even vim syntax-highlights it. What ...
1
vote
0answers
802 views

Gnome update-notifier doesn't show updates when user not in sudo group (Debian Squeeze)

Gnome desktop notifications of new updates is not working on my system. I noticed that the notifications stopped working when I removed my desktop user from the sudo group (I prefer to have a separate ...
1
vote
2answers
684 views

xfs quota not reliable

I have enabled quotas on an xfs-partition. But it seems to be broken: $ echo asdf >/disk/l/data/avi/foo -su: /disk/l/data/avi/foo: Disk quota exceeded $ quota -f /disk/l Disk quotas for user avi ...
1
vote
0answers
385 views

3D Acceleration/Compiz Failure

I've installed Linux Mint 12 & Fedora 16 in VB 4.1.10 on a Windows 7 Host which has a Intel i3 processor and Intel HD 3000 graphics card. For both Linux installations I've enabled 3D acceleration ...
1
vote
2answers
4k views

Netboot - How to set a static IP

I've modified a CentOS net install image to load my kickstart file over http. This works great when running on a network that has a DHCP server. Obviously, without DHCP this fails because the ...
8
votes
4answers
16k views

Reverse DNS lookups slowing down network operations on LAN

Environment My LAN setup is quite basic: A router connected to the ISP's modem and the internet My development pc directly connected to the router The router provides DHCP but does not run its ...
24
votes
1answer
3k views

High CPU usage with CFS?

I asked a previous question to try and isolate the source of an increase in CPU usage when moving an application from RHEL 5 to RHEL 6. The analysis that I did for that seems to indicate that it is ...
1
vote
2answers
3k views

Achieving full resolution with PowerVR SGX454 on Ubuntu 12.04

I have a Mini-PC with an ASRock AD2700B-ITX motherboard, which has an Intel PowerVR SGX545 on-board graphic chip. I installed Ubuntu 12.04 on it today. Everything is working properly and is quite ...
3
votes
2answers
885 views

How to reload a background process?

I have a python script which I would like to run in the background. So I do this: $ nohup python script.py & If I am frequently making changes to the script, I need to terminate the process ...
5
votes
3answers
13k views

Recursive grep for words in a particular file type

I wanted a command line command to search all shell scripts in the filesystem for a particular word, so I asked around at work and got the following solutions: grep word `find / -name \*.sh ...
1
vote
2answers
2k views

How to restart mono web application without restarting apache?

Is there any way to restart ONE web application in mono without having to restart Apache? Currently i'm doing a sudo service apache2 restart everytime I deploy my .NET web application to mono. But it ...
3
votes
2answers
1k views

Bash prompt when my home directory is a symbolic link

I symlinked my /host/Users/Kevin folder to /home/Kevin. I also edit the /etc/passwd file to /home/Kevin. I logged out and logged back in, however when I open up a terminal it's a bash prompt like so: ...
2
votes
2answers
1k views

How can I get entries for a given time period from a 400MB+ log file?

I have a 400MB+ Tomcat log file (catalina.out). How can I pull out entries for a given time period?
2
votes
0answers
263 views

Connected external HDD slows down system

I need to connect large external hard disks (with many many files) to a system running Ubuntu. I have no idea how the Linux kernel is treating the inodes for the external drives, but attaching huge ...
1
vote
3answers
5k views

sed pattern matching

I recently asked someone at work about how to take the output of ipcs -qa and make it space delimited, so I can parse it/store it in the database for monitoring. He gave me this: ipcs -qa | sed 's/ [ ...
0
votes
1answer
99 views

Alt-Left on OSX to behave like Alt-Left on Ubuntu [duplicate]

Possible Duplicate: How to change previous/next word shortcut in bash? When connected to a ubuntu server bash shell, I can hold alt key and press the left or right keys to move forward or ...
3
votes
2answers
318 views

Linux security vulnerabilities?

A while back I started an embedded project using the 3.2.10 kernel. Now the project should go into production and the stable kernel is 3.2.16. I would prefer not to upgrade anything to avoid ...
2
votes
2answers
2k views

How do I transfer multiple files with a common suffix and prefix using an offset?

I have thousands of files whose names are of the form: sequence_1_0001.hmf sequence_1_0002.hmf sequence_1_0003.hmf ... sequence_1_0001.jpg sequence_1_0002.jpg sequence_1_0003.jpg ... ...
7
votes
4answers
4k views

Recursively rename subdirectories that match a regex

I have a media server with a folder called Series. (/media/Expansion2/Series/) In it, I have (surprise!) TV series. These are just the show names, e.g., /media/Expansion2/Series/The Big Bang Theory/ ...
7
votes
3answers
18k views

How do I remove multiple files with a common prefix and suffix?

I have many files named sequence_1_0001.jpg sequence_1_0002.jpg sequence_1_0003.jpg ... and files named sequence_1_0001.hmf sequence_1_0002.hmf sequence_1_0003.hmf ... and files ...
3
votes
2answers
5k views

Why does my thumb drive go into read-only mode after a while?

My thumb drive auto-mounts as read-write, and I test it by writing a file. Then 18 hours later, I run a cron job that does cp -f -u $i "$TARG"/$i and I get the message, cp: cannot remove ...
6
votes
1answer
695 views

Does restarting of Display Manager (e.g lightdm) restart X server as well?

If I restart the Display Manager, e.g lightdm, will X be restarted as well ?
6
votes
2answers
37k views

How to detect SLES version?

What patchlevel does this SLES machine has? 10.2 or 10.4? SERVER:~ # cat /etc/issue SUSE LINUX Enterprise Server 10.2 Kernel \r (\m), \l SERVER:~ # SERVER:~ # cat /etc/SuSE-release SUSE Linux ...

15 30 50 per page