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
4answers
383 views

Recover overwritten encrypted partition

I accidentally (due to a typo) have overwritten parts of my encrypted ext3 partition with an iso file: cat 200Mb-sized.iso > /dev/sdb Is there any chance to recover the files of the partition ...
1
vote
2answers
796 views

613 threads limit on debian [closed]

When running this program thread-limit.c on my dedicated debian server, the output says that my system can't create more than around 600 threads. I need to create more threads, and fix my system ...
1
vote
1answer
1k views

How can the Table of Contents in a PDF file be edited?

How can I edit the Table of Contents of a PDF file on Linux? I tried pdfedit but I can't find where the content table list is stored.
1
vote
3answers
859 views

“can't find specified sfx module” when trying to create self extracting file with 7zip

I am trying to create a self extracting file for Windows from Ubuntu 10.04 using 7zip. I tried these commands: 7zr -sfx7z.sfx a output.exe *.txt 7zr -sfx/usr/local/etc/7z.sfx a output.exe *.txt ...
1
vote
2answers
1k views

Sound plays on headphones and speakers with Lenovo ThinkPad L512 + Ubuntu 10

The only thing really missing from this install is this issue with the sound. I've searched all over the forums and i found one thing where you get the model and codecs and write them to a file, ...
1
vote
3answers
700 views

Install Windows XP after Linux FS Partioned Space

I'm trying to install Windows XP onto the 3rd primary partition of my hard drive. The layout is like so: Part 1, 100 MB, Linux EXT2, /boot Part 2, 280 GB, Linux Raid, /root Part 3, 40 GB, ...
1
vote
3answers
79 views

Files in red, what do they mean

What does it mean when a file is in red. I change into one of my directories and run ls and it shows these files I've never seen in red. duplicity-full.20120405T013825Z.vol10.difftar.gz and goes all ...
1
vote
1answer
70 views

How to display details during Linux system shutdown?

By using "details" here, I am talking something like this: [ OK ] Stopped Getty on tty1. [ OK ] Stopped Entropy Harvesting Daemon. [ OK ] Unmounted Temporary /etc/pacman.d/gnupg directory. .. ...
1
vote
1answer
679 views

How to keep alive the VPN connection?

I'm using NetworkManager and OpenVPN on linux. The problem is I get random disconnections, especially when idle. So I was thinking maybe there was an option to keep it alive. I have seen examples ...
1
vote
5answers
161 views

Is there a way to encrypt a drive with Truecrypt, and keep your data?

Simple question, using the Truecrypt program, can I encrypt a hard drive without it deleting the data on the drive? I know I can do this with Bitlocker on Windows, can I do the same with Truecrypt on ...
0
votes
4answers
535 views

How to recover the Linux password

In my PC, Linux is already installed and I forgot the password. I want to recover my Linux system password. How can I do it, step by step?
0
votes
6answers
229 views

How do I access my server with SSH?

My computer runs Windows 7 and my server runs Linux CENTOS 5.5. What software do I need on my W7 machine to access my server with SSH?
0
votes
5answers
1k views

Second root account

i'm new in linux, so i'm sorry if my problem is a bit confusing. I'd like to do following: create a second root account write the file by using this account the first root account shouldn't be able ...
0
votes
4answers
3k views

Linux command to copy a file to a remote server

I have no Linux experience, all I know and want to do is this: There is a JAR file on my local computer that I want to copy to a remote box. I think it is a Linux box, and I do a ssh to connect to it ...
0
votes
8answers
2k views

Convert docx to PDF [duplicate]

Possible Duplicate: PDF creation software, for docx and odt How can I convert docx files to PDF format .Please give applications in both Linux and Windows platform
0
votes
2answers
2k views

How to run linux 0.01? [duplicate]

Possible Duplicate: Running linux kernel 0.01 in a virtual machine How can I run Linux 0.01 on my laptop? If it's possible to run it, could you tell me how? Here you can download the ...
0
votes
3answers
430 views

How to get rid of superuser`s password?

My father put a new superuser password on my laptop, and now i cant access my computer without him putting the password in. I am really helpless. How can i get rid of his superuser control? Can i ...
0
votes
4answers
319 views

Ubuntu on Windows 7 operating system

I want to experience Ubuntu and want it on my machine. I currently have Windows 7 installed and was wondering what the easiest or best way is to install Ubuntu so I can choose to run either Windows 7 ...
0
votes
4answers
146 views

Why I should type “./” when I want running an application that compiled by GCC in Linux?

My OS is Fedora Linux 14. I write a program with Code::Blocks IDE and it compiles my program with GCC. My output program is test. When I start my application in Code::Blocks it starts normally. But ...
0
votes
4answers
3k views

How to list files based on matching only part of their filename?

I have many files in a folder for example Kiran.txt Kiran1.txt Kiran221.txt Kiran144.txt Time.csv Timer.csv Timer2.csv Timer444.csv Timer266.csv Account.sh Account3.sh Account3333.sh Account3333.sh ...
0
votes
4answers
857 views

Remove files that don't end on “.py” using rm [duplicate]

Possible Duplicate: Remove all files but one with rm This is a very simple question and i dont know whether a solution exists or not. I have some files in a directory, assume i have .py ...
0
votes
5answers
2k views

Linux rm non-interactive command

I want to delete a directory with its files and I want to do that as follows: rm -r dirToDelete\ Unfortunately, I always get asked for EACH single file if I want to delete this because it is write ...
0
votes
4answers
213 views

How do you transfer a file from a local Mac to a remote Linux machine

How do you transfer a file from a local Mac to a remote Linux machine
0
votes
5answers
4k views

How can I sniff traffic sent by POST method (on another computer)?

Suppose there is a site which has a form and it send data through POST method over http (NOT HTTPS)? I can access this website directly and also the victim's computer directly. How can i sniff what ...
0
votes
4answers
373 views

Why are some commands 'non-existant'?

I'm a fairly new Linux user and I've noticed that some commands are only available to the superuser - shutdown for example. I often get confused when I know there's a command, try to execute it but ...
0
votes
2answers
820 views

Bash script fails with “syntax error in conditional expression”

I'm new to bash scripting, and I just want to do a simple little thing, but everything I read online seems to not work for me! So I have this script here: #!/bin/bash if [[ $1 = "32"]] then ...
0
votes
5answers
288 views

Command line way to view a line of a file with context?

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux: $ (something) -l 154 stuff.py 150: def foo(bar): 151: """ 152: ...
0
votes
4answers
1k views

Best practice: Where to install Linux packages

Where is the best path to install all files of package when compiling? For example - I want to install ProFTPd, so there's an option --prefix=/usr/local/proftpd , which means, that all files ...
0
votes
3answers
5k views

Sync remote folders on Linux

What is the simplest way to unidirectional incremental syncing of a folder present on a Linux system. +1 for using the command line. +2 for not using rsync (Seems to have some problems on my system.) ...
0
votes
2answers
467 views

How to check if DVD/CD is 32bit or 64bit on linux

Is there any command on linux to check if CD or DVD is 32bit or 64bit?
0
votes
2answers
813 views

Linux in VirtualBox

I've got virtualbox, I've got a linux iso. and when I go to start my virtual machine and install linux, it says "This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot - ...
0
votes
4answers
1k views

How do you pass a file or folder containing whitespace as an argument to a command-line program in a GNU/Linux or Cygwin environment?

There are occasions when you are working with files and folders that contain spaces in them. The problem is any time you try and pipe files / folders containing whitespace to another command-line ...
0
votes
4answers
7k views

DD from /dev/zero to /dev/null…what actually happens

What happens in the command sudo dd if=/dev/zero of=/dev/null bs=500M count=1. Where do the zeros actually go and in general what happens? The speed is 905 MB/s If I dd to ramdisk the speed is ...
0
votes
3answers
279 views

Compress a 661 MB mp3 without noticeable loss of quality?

I managed to download the audio of 12 hours of white noise from http://www.youtube.com/watch?v=1KaOrSuWZeM into a mp3 file. The file is 661 MB. I wonder if it is possible to reduce its size without ...
0
votes
3answers
9k views

What does ~ mean in a Linux shell?

I'm new to Linux and have been seeing this often. Could someone explain the concept here? ~/.somefilename What does the ~ (tilde) signify?
0
votes
3answers
584 views

How do I change the default prompt from “#” to “>”?

How can I change the default prompt in Linux (red-hat 5.4) from "#" to ">"? example [root@moon11 root]# to [root@moon11 root]>
0
votes
5answers
381 views

How to install Linux and not break Windows

I'm interesting in installing Linux but I dont want to break my Windows installation. How would one go about doing such a thing?
0
votes
3answers
587 views

Torrent client allowing upload/download rate limit depending on the time of day

With Azureus/Vuze, can we set an upload/download rate limit depending on the time of day ? If not, do you know a torrent client allowing this ? Client must be available on Linux. EDIT After ...
0
votes
5answers
589 views

How to freeze the clock for a specific task?

For example, # clock-pause # touch a # touch b # convert -draw `date` text_draw.gif # clock-resume Or, simply # freeze-exec sh -c 'touch a; touch b; convert -draw `date` text_draw.gif' The ...
0
votes
3answers
662 views

echo file to stdout?

I have a process which logs output to log.txt. If I want to see the process's status in real-time, is there a way to echo that output to stdout instead of opening the log in a text editor and ...
0
votes
4answers
5k views

How do I copy files from a Unix server to a Windows client with SSH?

I have connected to a Unix server using SSH from my terminal from my Windows client. How do I copy files from the Unix server to the Windows client? Can I use the scp and rcp commands? Or are there ...
0
votes
2answers
3k views

Unix equivalent of XCOPY /D

Windows has a nice option to its XCOPY command: /D. This copies only files where the source modification time is newer than the destination time. Is there any unix/linux equivalent of this? I'm trying ...
0
votes
2answers
364 views

Editing /etc/hosts to use domain name instead of ip address

I have a web service running at http://192.168.1.2:5000/, I want to replace it with a typical domain name, in /etc/hosts, I'm doing something like 192.168.1.2:500 http://www.mydomainname.com but, ...
0
votes
4answers
299 views

What are the advantages, if any of grep over egrep

I'm just learning about the grep family of programs, and it seems to me that egrep is strictly superior to grep - it can do everything that grep can do, but more. Am I wrong? Why not just use egrep ...
0
votes
3answers
1k views

no space left on device

im running into weird error when tried to yum remove some package from the system: sudo yum remove evaluation-1.2-0.1122.noarch.rpm Loaded plugins: fastestmirror Traceback (most recent call last): ...
0
votes
3answers
597 views

How can I automate commands that I run every day on Linux?

Every morning, I SSH into a particular server. I check disk space, size of a few directories, and the contents of some specific directories. All of this involves a lot of typing and recall (of ...
0
votes
5answers
477 views

How to create multiple directories use Bash

I want to create ten folders named foo1java, foo2c, foo3python, etc. I tried this but it creates too many directories: mkdir foo{1..3}{java,c,python} foo1c/ foo1python/ foo2java/ foo3c/ ...
0
votes
2answers
372 views

How can I hide username@node in linux shell?

I want to hide username@solaris in a Unix shell. I would like something like this: $ ls -l Instead I have this: user@solaris:~$ ls -l
0
votes
1answer
295 views

Why do Process ID's come in the tens of thousands? [closed]

Whenever you write a program that prints its own process ID, I've always (without any exception) received numbers ranging in the tens of thousands. Never less, never higher. I was just wondering, ...
0
votes
3answers
1k views

Will Having a dual-boot Windows and Linux on my laptop cause it to slow down in general use?

I have Windows 7 on my Dell Xps laptop, and I want to install Ubuntu or Fedora as a dual-boot. Will that cause my system to slow down?