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

0
votes
2answers
169 views

Alternate wine install needs deletion

I'm running into a strange issue where I have two working wine installs. This one is stumping me. I'm using Centos version 5.6. The legacy wine was installed via rpm or yum; I'm not sure which. yum ...
0
votes
1answer
67 views

What Subversion authorization scenario

I need to setup & maintain easily many Subversion repositories and make each of them accessible for strictly specified list of users only. No anyonymous checkout (no read access). What ...
3
votes
4answers
3k views

Imaging and compressing NTFS partitions from a Linux boot disk

first this question is not a dupe of: Windows backup by Imaging I've used Norton Ghost extensively in the past (actually I was already using Ghost before Norton bought it) and one of the thing I ...
8
votes
3answers
2k views

How do you search for tabs in the linux command less?

How do you search for tabs in the linux command less? I've tried /\t but that only seems to search for the character t.
0
votes
1answer
162 views

How to create a folder inside a tarball?

I created a tarball with multiple files. The rpm generator requires those files to be inside a folder. I don't want to move the files before generating the tar. Is there a way to create this folder ...
3
votes
2answers
2k views

how to properly use $1 in an alias with two arguments

i have to compare a number of files and I don't want to change the command in two places all the time. so i want to create an alias in bash. alias gd='gvimdiff $1 dir/$1' so that i can get ...
0
votes
1answer
650 views

how to install the latest flash on RHEL 5.3 to support Chromium browser?

I've installed chromium on Linux from a custom binary on the net. When I try to get to gmail or any other site that uses flash, chromium warns me that the version of flash that is shipped with the ...
3
votes
3answers
266 views

How to pass a file that changes name to another command in Bash?

I frequently use wget to download tarballs and zip files from the web, then either untar then or gunzip them. I do: wget google.com/somefile.zip unzip somefile.zip rm somefile.zip Is there a way ...
8
votes
4answers
6k views

Windows PowerShell equivalent to Unix/Linux `pwd`?

In follow-up to the cmd.exe question, what is the PowerShell equivalent to echo %cd%, or Linux/Unix pwd?
3
votes
2answers
3k views

How to make an application detect if system time has changed in Linux

I need to write a small application which needs to detect if the system time is changed by an another application/user and perform some action as soon as it is detected (maybe log the data that time ...
4
votes
1answer
401 views

Securing a Linux server when there is potential physical access

We want to set up a Linux server (hosting Git or later SVN repositories) which should have all stored data strongly encrypted, so that if one steals the server the data cannot be read. For example, ...
0
votes
0answers
467 views

Gnome 3 Effects

Gnome3 lacks in windows effects since it does not use compiz as window manager. My question is if is there something i can do to have some effects back? (e.g aero effect like in win7, avaliable in ...
6
votes
4answers
6k views

How to get an application to run every 30 minutes?

I have an application that fetches some feeds. Is there a way I can get it to be done every 30 minutes? (I've not installed a graphical desktop, so a terminal fix would be loveable :D)
3
votes
4answers
5k views

Is there a utility to create blank images?

I'm looking for an xpm icon to use as a placeholder until I make something better. Are there any linux command line tools that create blank images of specified dimensions? Like people use touch to ...
1
vote
1answer
676 views

Problem running KDE in ArchLinux: “x” respawning too fast: disabled for 5 minutes

I am looking into Arch-Linux so I created a VMWare install of it. Unfortunately, I can't seem to be getting KDE to run. It claims that KDE is starting at boot, but it is followed by "x" respawning too ...
0
votes
1answer
292 views

Proper way to add a service?

I've just installed and config'ed noip on my server, but I'm unsure on how to make it always run. I'm guessing: chkconfig --levels 235 noip on /etc/init.d/noip start I've checked /etc/init.d/ and ...
2
votes
2answers
524 views

how to Color part of text of a output to a console

Is there a way to color particular words printed on console based on user preference? For example I need to color text 'error' when a particular program is compiled.
34
votes
11answers
114k views

PuTTY Network Error: Software caused connection abort

I have a strange problem: When I'm using PuTTY with SSH connecting to a Linux server hosted in VMware on my local Windows 7, I often get the error saying "Network error: Software caused ...
0
votes
1answer
169 views

I have windows and WDE (truecrypt) installed on HD 1. I want to install linux on HD2. What do I do?

If i install ubuntu as normal on the secondary HD, is it going to over write MBR/true crypt and screw up my main windows install? Any help appreciated!
1
vote
1answer
118 views

Is it possible to install a distro using a DVD image and a pendrive?

I have a 8 GB flash drive and a 4.3 GB DVD iso (openSUSE-11.3) Is it possible to use the flash drive to install the linux? Pendrive linux universal USB installer formats it to Fat32 which limits the ...
11
votes
4answers
26k views

How do I rename files with spaces using the Linux shell?

I named a number of files with spaces in them, and I want to replace the space with "_". However, every time I write a command in the shell with the file name (eg "Spring 2011"), the shell doesn't ...
30
votes
3answers
41k views

How to get list of dependencies of non-installed RPM package?

apt-cache show <package> shows also it's dependencies. yum info <package> does not show dependencies, but it obviously know them. How to ask yum for dependencies of specified package?
0
votes
2answers
147 views

Accessing the Desktop of a Linux Machine (server) throught Remote Access

I was looking for: how to access my Linux machine(OpenSuse 11.3) that is being hosted at my hoster company from my home Win Pc, I found TightVNC , but I am confused, should I install it on both ...
7
votes
2answers
1k views

Why is the output from `groups` different from `groups user` if Im currently logged in as user?

Im not sure why the following have different output. My understanding is that groups without specifying a user give all the groups the currently logged in user is a member of. jacob@box:~$ groups ...
2
votes
1answer
823 views

Grub waiting for input Ubuntu 11.04

I installed Ubuntu 11.04 fine, but Grub is waiting for Enter..? Why? /etc/default/grub GRUB_DEFAULT=0 GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 ...
0
votes
2answers
2k views

Resizing swap partition (RHEL 5.x)

The following is what parted print outputs: (parted) print Model: VMware Virtual disk (scsi) Disk /dev/sda: 26.8GB Sector size ...
1
vote
2answers
1k views

Setting Primary Monitor for Natty Narwhal

I'm having problems setting the primary display in my Linux environment. I tried following the instructions here which seems to be working for everyone but it didn't work for me. In my ...
6
votes
4answers
2k views

Moving a file into a directory with over 7000 files

I'm on a GoDaddy shared hosting Linux server ("unlimited" hosting). I have a folder with product images for an e-commerce store that contains over 7000 images. GoDaddy told me I'm not allowed to ...
0
votes
2answers
136 views

Adding songs to Apple Ipod from computer

Actually I have apple Ipod and I have list of mp3 songs in my computer. But I do not know, how to add my songs into my apple Ipod. Please help me out of this problem....I am doing this in my linux ...
2
votes
5answers
1k views

Changing working directory of parent script from 'sourced' script

I want to change working directory of my script by another script that has been included. First script: #!/bin/bash pwd source script2 pwd Sedond script: cd .. pwd The result is following: ...
2
votes
3answers
173 views

putting screen away?

I've just installed screen, what a great tool! But i'm having some problems. CTRL-A K kills a screen CTRL-D detatches from a screen but what are the difference? both results in loosing the screen? ...
2
votes
3answers
183 views

How to find out which app yum installs?

I want to install screen and i think i could do yum install screen but i thought i could be smart and run a search first yum search all screen and here is the problem, this results in a huge ...
9
votes
5answers
6k views

How do determine how much bandwidth a process is using in Linux

On occasion I see my bandwidth usage using gnome-system-monitor going up to 300kbit/s. I just can't figure out what is causing it. I want to know what process or program in using my network like that? ...
1
vote
1answer
236 views

How can I redefine the way ANSI colors are shown in a terminal emulator in Linux?

I'd like to redefine the actual colors that ANSI escape sequences show, i.e. I'd like to personalize what "light red" means and render it as, say, orange. Is there any terminal emulator that works ...
1
vote
1answer
84 views

Formatting bash errors

I am using Fedora 14 and when I am executing a file: #!/bin/bash asd #assuming this command does not exist I am getting following error: /path/to/file: line 2: asd: command not found I want to ...
4
votes
1answer
877 views

“aptitude safe-upgrade” calculating something. Worth waiting?

# aptitude safe-upgrade <calculating something> <a day passed, I connected additional swap space> ... open: 310823; closed: 418353; defer: 82; conflict: 173 <and counting... It eats ...
1
vote
2answers
599 views

Unable to create a file in specified path in linux?

I am unable to create either a file or a directory in a specified path in Linux. I am getting the error "No space left on device". I have checked with df -k and df -i. Free disk space is 28 % and ...
3
votes
4answers
4k views

Removing embedded features from a PDF in Linux

I'm looking for a way to remove embedded features from a PDF document. I recently purchased a Kindle DX. When I try to open some of my PDF files on the device, I get a message saying: this pdf ...
4
votes
3answers
694 views

How do I triple-boot a Mac

I need three OSs. I have a MacBook Pro. I need Mac for IPhone development, Windows 7 for .net and Silverlight and genuine Linux (Red Hat or Ubuntu) for fooling with the Linux kernel. I am the ...
5
votes
3answers
9k views

How to view raw data?

Does there exist a program for Linux that can display raw binary data? Each byte in my binary files represent a pixel, so it would be very useful if something like this exists where I could say ...
1
vote
1answer
317 views

Cron not executing jobs

I'm having trouble making cron work. I edit my cron jobs doing sudo crontab -u myuser -e sudo crontab -u myuser -l prompts my cron tables: ##### */1 * * * * /home/myuser/Projects/scripts/cron.sh ...
6
votes
4answers
15k views

What are the differences between Linux and Windows .txt files (Unicode encoding)

I am only using the 128 character set defined in the original ANSI standard. But as a whole how are the files implmeneted differently. I am not concerned with the display, i.e. if a tab is ...
2
votes
2answers
178 views

Automate Backups over SSH on a Linux Desktop

I currently have a setup which allows me to connect to all computers on my home network via SSH and RSA keys. I'm very security-conscious, so all of my keys are passphrase protected. I'd like to ...
3
votes
7answers
458 views

Bash operator < , > , | and grep / kill

As an exercise, I wanted to kill a process by command line using basic bash principles but i'm having some errors that i don't understand: ps -A | grep nautilus | egrep -o '[0-9]{4,5}' | kill 1) It ...
53
votes
12answers
69k views

Unix/Linux find and sort by date modified

How can I do a simple find which would order the results by most recently modified? Here is the current find I am using (I am doing a shell escape in PHP, so that is the reasoning for the variables): ...
1
vote
1answer
877 views

Recover Linux software RAID5 array after server upgrade

I recently upgraded a server from Fedora 6 to Fedora 14. In addition to the main hard drive where the OS is installed, I have 3 1TB hard drives configured for RAID5 (via software). After the upgrade, ...
1
vote
2answers
396 views

OS X (Unix, Linux): Find files with a space in the name, copy and rename them, and move them to a separate folder

Google Music Beta won't upload mp3's with spaces in the actual filename. I would like a script that will find all the ones that have a space in the filename and copy them, rename them (just remove the ...
1
vote
1answer
304 views

Unable to install mjpegtools ubuntu

I am trying to install mjpegtools on ubuntu but its giving me the following error: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Its tring to download some ...
2
votes
3answers
229 views

tar-ing / should I use -C / . or just /

tar cvf backup.tar -C / / # or tar cvf backup.tar / produces an archive like etc/ and gives warnings tar: Removing leading `/' from member names tar: Removing leading `/' from hard link ...
2
votes
1answer
599 views

USB device is plugged in, but how to make it active?

I have a Razer headset plugged in. Everytime I restart the computer I have to unplug/plug the headset to make it work. It even shows up the system: lsusb Bus 002 Device 002: ID 1532:001b Razer USA, ...