4
votes
1answer
959 views

What happens to partition labels after removing a partition?

What will happen to all the remaining partition labels if I remove a single partition? For example if I have a layout that looks like this: /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sda5 and if ...
2
votes
1answer
144 views

Where can I find the Official File Hierarchy Standard for UNIX? [duplicate]

Possible Duplicate: Resources to learn linux architecture in detail? I migrated to UNIX (Linux, Ubuntu) and I'm trying to understand the organisation of files and directories. I stumbled ...
2
votes
1answer
282 views

Fresh Install of Ubuntu Grub rescue

I have a fresh install of Ubuntu 11.04 from DVD on a wiped hard drive. After it finished installing it asked me to remove the media and hit enter. Which I got the message: error: no such device: ...
1
vote
1answer
381 views

ftp option to overwrite file if different size

There is a script (bsh) running in a AIX 7.1 machine. The script is to download some files via FTP from another machine. I need to stop it later because some guy need to have maintenace over the ...
21
votes
2answers
15k views

How to colorize output of ls ?

I'm running CentOS in Linux text mode. When I run the command ls /usr/, the output is too hard to read (dark blue on black). How can I change the text coloring?
0
votes
1answer
4k views

How to know how long a process has been running? [duplicate]

Possible Duplicate: How to check how a long a program has been running? I am interested in doing this purely using bash.
4
votes
2answers
1k views

libssl and libcrypto backward compatible?

I have an old server application that requires libssl.so.0.9.6 and libcrypto.so.0.9.6. My issue is I currently have libssl.so.1.0.0a and libcrypto.so.1.0.0a on my system. I tried symlinking to the ...
9
votes
2answers
4k views

How to create a snapshot in btrfs, and then rollback to it after some work?

What are the commands to use in btrfs in case I want to: create a (read-only) snapshot of a volume; (do some experiments in the volume); and then rollback the volume to the snapshot?
5
votes
1answer
1k views

Can LVM snapshots be writable? (and used for temporary experiments)

It seems that usually it is talked about snapshots as read-only. (In a scenario where one creates a snapshot, then does some experiments with the main volume, and then restores the old state by ...
19
votes
6answers
2k views

Is there a way to limit overall CPU consumption?

My laptop (an HP with an i3 chip) overheats like crazy every time I run a resource heavy process (like a large compilation, extracting large tarballs or ... playing Flash). I am currently looking ...
5
votes
1answer
1k views

How do I get DVDs to play in Debian?

I just installed Debian Live and movie or video DVDs do not play. Totem gives me this error: Could not read from resource. Opening the disk in VLC has no response. How can I play DVDs?
4
votes
2answers
84 views

Fail to use “locate”

I have a file named Fubini's_theorem.html under some directory. But both locate "Fubini's_theorem" or locate Fubini do not return anything. The file has been there for months, and I am sure ...
0
votes
3answers
862 views

How to use gnome-session-save from cron?

I am trying to issue the gnome-session-save --kill command via crontab. I used the command sudo crontab -e. In the file is this: PATH=/usr/bin 00 00 * * * gnome-session-save --kill The command does ...
12
votes
1answer
624 views

Does window minimizing free memory usage?

Both the undisplayed maximized window and minimized window are invisible to the end user. By undisplayed I mean an inactive maximized window covered by the active window. There is a difference ...
2
votes
2answers
591 views

CentOS server migration

I have 2 dedicated servers at the moment both running CentOS 5.3 and Plesk 10, but I'm about to give up trying to transfer the data from old one to a new one, because they just wouldn't connect via ...
3
votes
2answers
6k views

Run getty on a serial port on startup on RHEL

I want to put a getty on ttyS2 on a RHEL 6.1 box so I can use IPMI's serial-over-ethernet functionality to log in to a machine when SSH isn't working. In the past (on Ubuntu?), I used to add a line ...
4
votes
4answers
354 views

Looking for small distro (to be installed automatically, with g++ and javac)

I'm looking for linux distro only with comand line and i need in it only g++,javac,python. I found Damn Small Linux but it dont have g++ and javac. It should have it out of the box because linux will ...
5
votes
4answers
151 views

Change command-line “environment” to programs command

In a console, is it possible to change into a commands "environment"? To explain, I take "git" as an example. While programming and using a git repository, I change to the repos path and then do many ...
1
vote
1answer
305 views

Plesk 10 migration failure

I have 2 dedicated servers both running CentOS 5.3 and Plesk 10.0.0. I'm trying to migrate stuff from one to the other but it's not happening, just after I fill out "Migration settings" and press ...
4
votes
1answer
587 views

RPM dependencies with localinstall

I need to install an rpm package on a system which has no internet access. So, let's say I already have needed dependencies. How do I install them only by running the main rpm package? Do they need to ...
4
votes
1answer
1k views

dialog or zenity?

I am working on a project. I have two options for the GUI part. Either use dialog or zenity. I never used any of these tools before. I have to learn one of them. Suggest me which one should I learn ...
5
votes
2answers
2k views

Red Hat cannot boot after clone with dd

I used dd to clone a x4100 server with Linux Red Hat. The hardware is identical for old and new servers. Disks are sda, sdb and sdc(sdc1 and sdc2). But newly restored server gives following errors and ...
4
votes
2answers
12k views

Bash shell script to locate and remove substring within a filename

I am trying to write a bash shell script in Mac OS X 10.6 (which is called by an Automator Action) to rename TV show DVD rips that I have named badly over the years. I want to remove part of the text ...
20
votes
2answers
3k views

Getting a window's PID by clicking on it

Is there any package which shows PID of a window by clicking on it?
0
votes
1answer
426 views

Listing only the files in a folder and inside its subfolders

Is there a linux command for getting only the files in a folder and inside its subfolders? I have used the find command, but it is displaying all the files and folders. I am executing this shell ...
2
votes
1answer
431 views

LVM tools on raw block copy

I have several raw block copies of disks that have both NTFS and Linux partitions. The parition tables generally have both a Windows NTFS partition and a Linux LVM partition. I need to work on all of ...
0
votes
2answers
633 views

Missed get command of FTP

I am using AIX 7.1. I made some shell scripts8 and called /bin/bsh. Inside the script, I connect to a server via FTP and have many get commands because I would like to avoid the wildcard problem. I ...
6
votes
3answers
13k views

list the timestamp of the files in “find” command

In bash, if I use $ find ./ -name "*.sqlite" , it will list all the sqlite files in current directory. I also want to see the modified time of the files, can anybody give me some help?
0
votes
2answers
638 views

What linux kernel is arch linux using? [closed]

What is the version of the linux kernel that arch linux is using? Is it 3.0 or lower or higher? I couldn't find the info anywhere, I'm hoping someone else knows.
4
votes
1answer
667 views

Why is vlc not syncing audio and video correctly?

max@linux-vwzy:~> vlc --version VLC media player 1.1.11 The Luggage (revision exported) VLC version 1.1.11 The Luggage (exported) Compiled by abuild on messiah (Aug 17 2011 15:23:16) Compiler: gcc ...
2
votes
1answer
278 views

Return Carriage not working (Screen)

When I execute the command screen -S myscreen -X stuff $'search add $1 \015' from a shell it works perfectly. If I put it in a .sh file and run it as sh /test.sh variablehere it sends it to screen as ...
7
votes
3answers
2k views

How to setup linux server for headless use?

Consider a headless server like this: A typical x86 box at a remote location, which you can remotely initialize with a stock - say - Ubuntu image. After it is initialized you only can login via ssh - ...
4
votes
2answers
128 views

In synaptic, is there a way to always expand “Details” when installing a package?

While using synaptic and update-manager in Debian (I'm using unstable), I always like to see what it is doing while installing and always manually expand the "Show installing files" and "Details" ...
0
votes
1answer
4k views

Slow response time with Gnome shell in Virtualbox fullscreen mode

Today I installed Fedora 15 in a VBox VM to try out Gnome 3. After installing the guest extensions almost everything works fine. Except for the slow response time in fullscreen mode (HOST+F). By that ...
9
votes
2answers
6k views

Fastest way combine many files into one (tar czf is too slow)

Currently I'm running tar czf to combine backup files. The files are in a specific directory. But the number of files is growing. Using tzr czf takes too much time (more than 20 minutes and ...
5
votes
2answers
428 views

Powertop strange results

I have installed Ubuntu 11.04 and battery life decreased by 2 times. Powertop documentation says that there should be 3 wakeups per second, I have 800-900. I think it's very strange because I didn't ...
16
votes
2answers
10k views

bash multi line command with comments after the continuation character

Consider echo \ # this is a comment foo This gives: $ sh foo.sh # this is a comment foo.sh: line 2: foo: command not found After some searching on the web, I found a solution by DigitalRoss on ...
2
votes
3answers
2k views

Fork: Negative return value

From the fork(2) man page: RETURN VALUE On success, the PID of the child process is returned in the parent, and 0 is returned in the child. On failure, -1 is returned in the parent, no ...
3
votes
2answers
391 views

Organizing messy folder based on filetype

I have music lying on my desktop and in my downloads and Music folders. Similarly, I have .odt files lying all over my home folder (mainly desktop). Is there a tool (preferably GUI so my parents can ...
4
votes
1answer
1k views

How to remove LiveCD after installing OS on VirtualBox?

After going through the process of installation of a Unix OS (in this case Mageia) on VirtualBox 4.08, the next step is to remove the LiveCD. Since the LiveCD is virtual, how should one proceed to ...
2
votes
2answers
340 views

Bash Script Argument Regex Group Conflict

I have a simple bash script: input_dir="`dirname $1`/`basename $1`/" output_dir="`dirname $2`/`basename $2`/" ext=$3 ... ... ... echo -n `rename "-f" "'s/.*([0-9]{11}_[0-9]{11}).*\.(.*$)/$1.$2/'" ...
4
votes
1answer
971 views

Can I spoof the MAC address in Android?

Is it possible to spoof the MAC address of the wireless interface using wpa_supplicant.conf in Android when I connect as a client to an access point? Edit Unfortunately, Android doesn't support ...
20
votes
2answers
2k views

why would typing Ctrl+c twice stop a running process in Linux?

There are Linux programs, for example vlc, that recommend typing ctrl+c twice to kill their execution from a terminal if the program didn't stop after the first one. Why would typing ctrl+c twice ...
1
vote
0answers
28 views

Does Mint Linux have apport-bug for bug reporting? [duplicate]

Possible Duplicate: equivalent to Ubuntu's apport-bug in Fedora or Mint? Can a Linux Mint user report a bug using apport-bug like in Ubuntu Linux? For example: apport-bug ...
4
votes
1answer
226 views

equivalent to Ubuntu's apport-bug in Fedora or Mint?

What is the Fedora equivalent to the Ubuntu command apport-bug to submit bug reports? In Ubuntu, one can use: apport-bug <package-name> For example: apport-bug xorg To submit bug reports ...
9
votes
2answers
359 views

Weird control-d behavior

I can use cat as a very simple text editor by doing cat > foo.txt. If I then type: bar baz and then press ctrl+D, it now looks like this: $ cat > foo.txt bar baz^D with the cursor at the ...
2
votes
4answers
2k views

Why is grep -o -w not giving me the expected output on Mac OS X?

If I do echo foo bar baz | grep -o -w baz the output is foo bar baz (and an extra newline). The expected output would be baz as the -o option should only display the matched part. I'm using Mac OS X ...
20
votes
6answers
4k views

Light, easy-to-use presentation software

I am looking for a Linux presentation software and the main features I need are: Light on dependencies and resource consumption (I use GTK+) Easy to use Align & Distribute information on slide ...
2
votes
4answers
2k views

Recommended live distro with persistent USB storage and Compiz

I need a distro that matches these specifications: runs from USB has persistence (saves sessions and data like a regular OS) controls on top (as in, the Mac toolbar - I'm still new to Linux, I don't ...
4
votes
1answer
4k views

keyboard and mouse not working in QEMU

I'm trying to run a Linaro Beagleboard image under Qemu and I have trouble with the keyboard and mouse. Basically neither the keyboard nor the mouse work once the boot process completes. I tried two ...

15 30 50 per page