Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

1
vote
3answers
959 views

Execute a command after sudo

The Background I am working in a CentOS environment with numerous CentOS machines. Currently there are multiple developers that each have their own login/home directory and then for various admin ...
4
votes
3answers
871 views

Why is reading a FILE faster than reading a VARIABLE?

I don't understand the results of a simple performance test I ran using two basic scripts (running on a high end server): perfVar.zsh : #!/bin/zsh -f MYVAR=`cat $1` for i in {1..10} do echo ...
2
votes
1answer
584 views

Nothing can read my hardware RAID0… Except Ubuntu

I used to have my system setup entirely on a 2tb RAID 0 (risky I know) but I recently upgraded to having Ubuntu running on a SSD and using the RAID for file storage. Since the Ubuntu 11.04 update my ...
2
votes
1answer
741 views

How to copy GNU/Linux installation from a smaller partition to a bigger partition?

I got a new hard disk for my laptop and I want to move my Gentoo installation from old HDD to new. Most simple guides recommend use of dd to copy the whole partition byte by byte. I'm moving to ...
2
votes
1answer
102 views

My sudo rights expired after a few hours of operation

I was observing the following behaviour: py script: os.mkdir(path) #all OK operations_that_take_10hrs_to_complete() os.mkdir(path) # permission denied like I lost my sudo rights after some time .. ...
4
votes
3answers
12k views

Cannot execute basic linux commands (ps, ls, ifconfig) - File not found

I am running Ubuntu Linux, and am having some major system issues (networking not working, etc), which I think could be based on this fundamental problem. When I try execute a variety of basic ...
2
votes
3answers
4k views

Cant get squid proxy to work

i need squid proxy on my centos server. But i just can't get it to work. I did yum install squid. Here is my squid.conf file (i removed all comments): acl all src 0.0.0.0/0.0.0.0 acl manager proto ...
4
votes
2answers
404 views

How do i execute a program based on a keypress from a specific USB keyboard?

I've been given one of these ubiquitous usb-sleep buttons which is basically a supersimple usb-keyboard. It's a big button that sends a SLEEP keypress to the computer when you slam it. But that is ...
1
vote
6answers
5k views

A linux program that uses memory

I need it execute a certain kind of linux program from the terminal. The only thing the linux program needs to do is use more and more memory. Are there any programs like that?
0
votes
4answers
2k views

cp -ru -> using the recursive copy and update in linux from my internal drive to a mounted nas

I've mounted my NAS drive under the /media/ directory. I've copied a bunch of files from my current /var/www directory, using cp -Rpv (preserve). Now I want to do a cp -Rup /var/www/ ...
3
votes
1answer
2k views

How to boot Debian Testing when grub_env_export symbol not found?

After a recent run of apt-get dist-upgrade and subsequent reboot, I get just: GRUB loading. Welcome to GRUB! error: symbol not found: 'grub_env_export'. Entering rescue mode... grub rescue> ...
4
votes
2answers
2k views

Do SSDs really have a much shorter life than HDDs? [duplicate]

Possible Duplicate: HDD vs SSD durability After reading Jeff Atwood's recent blog post on solid state drives, I'm somewhat deterred in wanting to own one. I basically want to use solid ...
0
votes
1answer
358 views

Ubuntu & wireless network - does not connect

Tried the live boot of Ubuntu 10.04 LTS on my work PC today (it has Windows Vista on it and it is literally DEAD slow). There's a wireless network in the office and the PC has a wireless network card ...
2
votes
2answers
1k views

Displaying text on /dev/tty1

I have a server laptop sitting around at home which is a pretty bland server, on which I generally leave the lid open and there is a login prompt always displayed. However, I'd love to be able to ...
0
votes
2answers
984 views

Uninstall Mendeley

How do I completely uninstall Mendeley in order to reinstall it again in Ubuntu 10.10 (64 bit)?
1
vote
4answers
154 views

ln command in linux

I have a doubt regarding what are the differences when we make a new file using touch command and when we make a new hard-link to a file. It would be nice for me if you can explain me it in detail.
3
votes
3answers
5k views

File transfer over a serial line

I have 2 linux computers, and a serial line between them, one of them is only accessible through a serial line that has shell on it. How can I transfer files between the 2 computers? I've heard that ...
3
votes
1answer
7k views

Where can I find logged mount errors?

Where's the log where I can read mounting errors?
1
vote
1answer
3k views

Remove Linux Adobe Acrobat Reader installed from binary

On a Debian system, I installed Adobe Acrobat Reader using the Linux binary (AdbeRdr9.4.2-1_i486linux_enu.bin) downloaded from Adobe's website. What's the right way to uninstall Reader when it was ...
17
votes
1answer
7k views

Making 256-color AND Line drawing characters both work in PuTTY

I'm having trouble setting up PuTTY with Ubuntu. I'm trying to get line characters to work in aptitude as well as 256-color support, but can only get one or the other. Ubuntu Config Using 64-bit ...
1
vote
5answers
1k views

How to run .sh file

I am using Ubuntu and just downloaded the jmonkey game engine. Everything appears to be in a single .sh file. I am not really sure how I am supposed to run this. http://jmonkeyengine.com/
20
votes
4answers
36k views

What's the difference between .profile and .bash_profile, and when do you configure which? (Mac) [duplicate]

Possible Duplicate: Difference between .bashrc and .bash_profile What's the difference between .profile and .bash_profile, and when do you configure which? I.e if I configure the ...
13
votes
5answers
7k views

Can Windows use a Linux shell instead of cmd?

I was wondering if it is somehow technologically possible for Windows to add some sort of Linux interface? I think it would win over many programmers to develop on Windows. Any ideas on this?
1
vote
0answers
705 views

UNIX ZIP command produces a corrupt zip file

On my openSUSE machine, I am trying to zip some big files (some GBs of magnitude) using the built-in ZIP command from UNIX. However after the compression is done, I've tried to test if everything was ...
1
vote
3answers
459 views

How do I copy data in LInux in chunks and with timed breaks?

I have a hard drive with a bad PCB board. It stays on when not under heavy load and it will restart if I copy too much data off it. So far I have had good luck doing folders under 500 MB in size if I ...
0
votes
1answer
298 views

Exec Shield patch

The Exec Shield patch was removed from the Debian repositories a few months ago. Where can I download the patch ? I found this link but files are from 2006: Ingo Molnar link
6
votes
3answers
3k views

Linux: How to run a script when an external monitor is connected?

How can I detect when an external monitor is connected in linux? I need to run various scripts to set up my workspace. Is there some clever way to kick off a script when the monitor state has ...
1
vote
3answers
18k views

How to Copy the entire folder contents to another folder using PUTTY

How to Copy the entire folder contents (including sub-folders and their contents) to another folder using PUTTY? Is there any command for that?
2
votes
3answers
748 views

Running GUI program on linux machine using ssh

I am trying to run open a GUI program on a remote Ubuntu machine using ssh. I want to open, lets say Firefox or Skype, on a machine I have connected to via ssh. But when writing logging in with user2 ...
4
votes
10answers
3k views

Is there a simpler form of find . -name “*substring_of_filename*” on Mac OS X and Linux?

On Mac OS X or Linux, is there a simpler form of the command find . -name "*substring_of_filename*" which is to find all files having names containing substring_of_filename within the current ...
2
votes
3answers
2k views

Dropbox - how to view files from webbrowser?

I now work on linux machine that I don't have admin on, so I can't install dropbox. is there any way to download some files from dropbox (by WWW) ?
1
vote
1answer
179 views

There is Trac, there is Babel, but I don't see “language”

I've installed on a Debian system Trac 0.12 (thanks to easy_install install Trac 0.11, but I want 0.12 ) and know I want to get the localization (for French). So I've installed Babel, but that ...
1
vote
3answers
672 views

Which Linux for notebook with ATI drivers and Realtek network card?

I have a problem with Debian, Fedora and Ubuntu - they don't recognize my graphics card (an ATI Mobility Radeon HD 5870) or WiFi. Are there any modern Linux distros which include suitable drivers for ...
3
votes
1answer
1k views

Linux: concatenate several images into a PDF file with several images per page

I know that ImageMagick's convert program can be used as follows to convert a collection of images -- say, in PNG format -- to a PDF file: convert *png output.pdf The problem with this is that each ...
5
votes
2answers
6k views

How do I swap Alt and Windows keys with xmodmap?

I have a Mac keyboard where the Alt/Win (i.e. Option/Command) keys are inverted compared to a regular PC keyboard, and I'd like to swap them. I haven't had any luck with xmodmap so far. The standard ...
1
vote
1answer
2k views

Lightning extension for x86_64 Thunderbird 3.1.10?

I've installed the Thunderbird 3.1.10 package in latest Arch Linux x86_64. However, it seems that the Lightning calendar extension doesn't work in this 64-bit operating system with 64-bit Thunderbird ...
0
votes
1answer
306 views

Flatten single file directories

I've spent ages trying to build this and had a good look around for a way to do it. I have a directory tree which contains a set of folders and files. Some of the folders contain more than one file ...
1
vote
1answer
1k views

How can I change/erase Windows password using Ubuntu Live?

How can I change or erase the Windows XP password from Ubuntu Live (11.04) booted on the PC in question? I reckon it should be possible, at least it is possible to do so to another Ubuntu ...
18
votes
2answers
8k views

Ensuring new files in a directory belong to the group

I want to create a shared directory when a number of users (all belong to say mygroup) can create and edit files. I would like all files in this directory and subdirectory to belong to mygroup I have ...
1
vote
1answer
109 views

Channelling processing power from Linux servers over a gigabit LAN to Macintosh system

As you may know Apple offers a program called Xgrid for sharing processing power between Macs. It also allows for easy clustering. Is there a way to channel processing power from Linux nodes over a ...
0
votes
1answer
316 views

Authentication failure when connection

I am working currently on my server on an issue, I configured the SSH Deamon that only people who have a valid ssh-key can login on to the server, and kicked the password option Now I've added a ...
2
votes
2answers
3k views

How do I get the path to the perl script that I only know the PID of?

I had a problem recently, where a perl script was consuming server resources. I found out it was a perl script by using "top". But it didn't give the path to the script. Nor did ps. Also, ps -ef ...
9
votes
1answer
918 views

Is backwards redirection the same as a pipe?

In Linux if you type sort < txtfile is that the same thing as cat txtfile | sort
2
votes
1answer
313 views

easy_install install Trac 0.11, but I want 0.12

I run the following on Debian: (#:~)- easy_install Trac Searching for Trac Best match: Trac 0.11.1 Adding Trac 0.11.1 to easy-install.pth file Installing trac-admin script to /usr/bin Installing ...
0
votes
1answer
840 views

3 monitors over 2 graphics cards in Fedora

Currently, failing to set up Xdmx correctly, I am trying to use 3 displays with 2 graphics cards in one machine under Fedora 15 and KDE. The 2 graphics cards are an ATI HD4670 (pcie) and (iirc) a ...
5
votes
1answer
371 views

Linux diary program

Is there a diary program for Linux that runs in the terminal?
0
votes
1answer
159 views

Does this write to stdout or stdin?

If I type the following command in Linux: cat textfile The contents of textfile is displayed. What is cat actually writing to? Is it writing to stdout or stdin?
5
votes
1answer
4k views

Newly upgraded Ubuntu 11.04 VM not booting

I have just upgraded to 11.04 on my VirtualBox VM, and after I start it, it begins to load, but it stops at the line * Checking battery state... [ OK ] I have tried the recovery mode, but to no ...
10
votes
4answers
3k views

What is the Linux equivalent of Fiddler? [closed]

On Windows I like using Fiddler to scan TCP streams and save them. Is there a similar tool to do this under Linux?
1
vote
3answers
1k views

How to Change Server Date?

How do I change a Linux web server's date through SSH?