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
1answer
311 views

issue with my path variable

my path variable seems to be a bit hosed. I recently modified my /etc/profile to add GRAILS_HOME and modify JAVA_HOME. the problem now (moved off of grails to lift for the time being) is that there is ...
1
vote
2answers
2k views

Get the most common appearing lines from file in Linux

I have a text file that has various words per line. How can I find the 12 most frequent appearing lines in the file and display them? I am not very good with scripting commands. If I could get the ...
0
votes
1answer
825 views

How to set up a proxy to route all traffic through?

I run Ubuntu on my home computer. Is there a simple way of setting up a proxy server on that computer? At least so that I can use it as a proxy server for HTTP, but if it isn't very difficult so that ...
2
votes
2answers
2k views

“Universal Metadata” tagging for various file types

I'm trying to find some application that allows me to easily add/modify metadata for various files such as PDF, MKV, DOCX, MP3, PNG, JPG etc. All these types of files (and a lot more) support ...
1
vote
1answer
252 views

Why my “mini” server network card freeze when transfering files?

i have a huge problem regarding my home mini server. The mini server configuration is: Via Epia C3 1GGHz with 1 GB RAM. 1 internal hard disk 70GB and 1 external USB hard disk 500 GB Operating ...
0
votes
2answers
664 views

tools for downloading files from websites in linux

How do you download files, such as mp3/pdf/doc, from websites in linux OS, such as Ubuntu? I know wget is a good tool, anything else? PS: Many downloading tools, such as eMule, are better than wget ...
-2
votes
1answer
1k views

How to install windows xp and Redhat Linux in one hard disk dirve

I have 500 GB Hard disk drive and I created 5 partition c,d,e,f,g. I installed windows xp on c drive and I stored some important file, games on d,e,f. My g (20 GB free Space) partition is totally ...
10
votes
3answers
32k views

How do I partition and mount a 3TB Hard Disk using the terminal?

I have a 3TB Hard disk which I wish to mount as a single partition under Ubuntu 11.10 server Because it is over 2TB I know there are some issues with this. I'm unsure of what I need to do to make ...
0
votes
1answer
1k views

How to set Wireshark to log ONLY DNS requests?

This works: tethereal -i eth0 -w /root/mycapture.pcap but it captures every packet. I only need to capture DNS requests. Is this possible? The server is Linux. Other thing is: is it possible to ...
2
votes
4answers
3k views

Which is faster, USB drive or DVD?

I am installing Linux (YDL) on my old Powerbook G4. Thinking only of speed, which would be faster to install it on: a Lexar JumpDrive TwistTurn 32GB USB flash drive, or a DVD (a CD hasn't got enough ...
3
votes
2answers
155 views

How to get a list of opened files for a script under Linux?

Let's say, I would like to figure out what pip install does, like what files are downloaded, where are they extracted, where is the temporary files, ... Are there any suggested way to track the ...
1
vote
0answers
854 views

Use initrd as root filesystem for network boot

I'm creating a stand-alone set of netboot images based on a LinuxFromScratch installation (7.0, kernel 3.1.0). I want to deploy that image to many diskless clients, but NFS is in my situation not an ...
2
votes
1answer
181 views

Byobu reports different numbers from system monitor for network usage

Why are the numbers that byobu reports for my network usage different from system monitor?
2
votes
3answers
291 views

Folder copy Linux

What is the command to copy a folder, and its contents, to a location with the following rules: Possibility 1: if the folder exists already, preform a force merge WITHOUT overwriting existing files. ...
3
votes
3answers
4k views

How do I delete a directory that appears to contain nameless files?

I'm trying to delete a supposedly empty directory on a ReiserFS filesystem, but I can't because rm keeps complaining that the directory isn't empty. $ rm -rf thedirectory rm: cannot remove ...
3
votes
1answer
3k views

x264 encoding speed, what should my expectations be?

I am running Ubuntu 10.10 (maverick) on an HP Pavillion dv3 with core2duo 2.29 GHz, NVidia Geforce G105M (512MB) with CUDA and 4GB RAM. I have the latest versions of ffmpeg and x264. I recognise that ...
1
vote
1answer
77 views

Gentoo Linux global environments for root

I'm confused with setting variables in /etc/env.d directory. When I write "echo $PATH" from user - it's print me all variables that set it myself. But from root I see one... Where should I set ...
2
votes
1answer
7k views

Linux GRUB2: How to resume from hibernation?

Moving to GRUB2 my Arch Linux no longer resumes from hibernation, because the actual resuming is no longer set up. In GRUB legacy I'd write: /boot/grub/menu.lst: kernel /vmlinuz26 ...
1
vote
4answers
11k views

Find all files older than one minute

How can I use find to select files that have been written and not modified in the last minute? I know I can do it the other way around, find files modified in the last 60 seconds with -mtime -60s, ...
2
votes
4answers
2k views

Windows network share on linux server without samba

I want to mount shared folders from my linux server on the network to appear like normal drives in Windows. The server has a private network on one side and a public network (which happens to give me ...
2
votes
1answer
878 views

How to safely store passwords in Irssi?

I use several IRC networks and it's unsafe to store passwords in plain text. On the other hand, typing each password after connection is uncomfortable. How can I store passwords in encrypted file and ...
0
votes
2answers
553 views

Centos Nano Upgrading

I'm having a few issues with the default version of Nano...Its extremely buggy and when I scroll between characters they mysteriously change without my editing. How do I update my nano version? The ...
0
votes
2answers
6k views

How do I add permissions to my tomcat.sh?

I have created a tomcat.sh file so that I can start and stop tomcat via the terminal. I placed the file inside the /bin folder and performed chmod u+x on it to make it executable. But then when I ...
1
vote
3answers
5k views

dhcp option 252 what is it?

All over the internet I see example of how to set up dhcpd with WAPD proxy auto configuration using DHCP. In the /etc/dhcpd.conf file There are statements like this. option wpad code 252; ...
0
votes
1answer
211 views

Backup contents of a USB drive on Fedora

So this is starting to bug me, but I can't find a nice tutorial on how to backup all the contents of a usb drive in Fedora. When I open up the drive, it has 1.4 GB used but only 100 Kb split between ...
0
votes
2answers
176 views

Uploading file via ssh, how to block it until the transfer done?

I'll explain it: I got apache installed on my Linux Ubuntu and i need to upload some big files and I want to make it available to download only when the transfer done. it's possible to do it?
3
votes
1answer
449 views

How to replace Alt gr with Alt R?

My latin-american keyboard comes with Alt Gr key (ISO_Level3_Shift), but it is useless for my work, so I would like to replace it with Alt R at the lowest level possible. I've tried in xmodmap with: ...
0
votes
1answer
142 views

kernel update vs distro version?

Is there a difference between kernel version and distro version? For an example, I'm using Debian Squeeze and the kernel version by default is 2.6.32-5-amd64. Does this mean that Squeeze only uses ...
1
vote
2answers
524 views

Weird Java GUI behavior on windows PC via SSH tunneling to/from Linux machine

I have a very weird problem with a Java GUI that I've built at work. It is so weird I don't even know where to start to look for help!! We have a standalone system at an offsite location consisting ...
1
vote
1answer
198 views

How to make mount points inaccesible for any user or process in Ubuntu, when no filesystem is using it?

I have noticed that my mountpoints in /media often acquire underscores, double or triple at time, when I use Vuze which is configured to save the files on a mountpoint directory in /media. This is ...
1
vote
2answers
739 views

setgid bit always unset when changing file permissions

good evening dear Serverfolks! i am a newbi so do not bear with me! I run a linux sever that is administered by a friend of me. He prepares the chown and permissins - with the setgit-bit to on. ...
2
votes
3answers
363 views

How to prevent flash player from creating a mm.cfg file in my home directory?

Every time I delete the mm.cfg file in my ~/ directory, it's automatically generated again later, I'm guessing after some site requests for my browser to load flash. I don't even know how to begin ...
2
votes
1answer
2k views

How to extend a Linux ext3 partition?

I have the following partitions on my HDD: I want to extend my Linux partition /dev/sda6 with the unallocated space of ~1GB above it. But when I right click on this partition the option to ...
0
votes
1answer
510 views

How to disable the touchpad when I use the trackpoint in Linux?

I have recently installed Ubuntu (and its derivatives Xubuntu and Kubuntu) on my laptop. On my computer, I have both a touchpad and a trackpoint. In Windows, the touchpad is disabled when I use the ...
1
vote
1answer
1k views

How can I overlay dynamic text on a video during playback?

I am using a spare linux (Ubuntu 10.04) box (os is non-negotiable) to playback videos while riding on a bike trainer. Additionally, I have a bluetooth heart monitor and I'd like to display my realtime ...
0
votes
2answers
3k views

Cutting and moving files using the Linux terminal

What is the command I can use to cut and then move a file from one location to another from a Linux terminal? Is there any website that lists all the commands for a Linux terminal?
0
votes
1answer
653 views

Install & update package on Debian without internet

There is computer with Debian, but no internet connection at one place and computer with Windows 7/Arch Linux at other place (my home) with internet connection. Is there a way to update and install ...
1
vote
1answer
1k views

how to use a normal ssh key with tortoise/plink/pageant

I am normally a linux user and therefore I generated all my rsa-keypairs there. Now I have to use a windows system to do some work, and therefore need to get my repositories via ssh, but unfortunately ...
0
votes
1answer
89 views

quickest way to determine environment difference between two users

Is there a quick way to determine what is different between two users? Presently I am "sudo -u otheruser env >>out.txt" for each user to a file, and then diffing the two files. Is there an easier ...
1
vote
4answers
618 views

Which commands do I need to update Debian, and how often should I update?

To update Linux, is the following all that's required? aptitude update aptitude safe-update Also, how often should I update Debian? I just realized that I haven't updated for almost a month because ...
10
votes
4answers
3k views

Detecting currently active window

The linux commandline tool wmctrl allows you to list all windows, or all desktops, among other things. In the desktop-listing mode, the current desktop is marked with an asterisk. I need a tool that ...
1
vote
3answers
3k views

Show slideshow with pictures and videos

I'm mostly a Linux guy but I don't think the software I'm looking for is available in Linux so I ask this presumable easy question for those of you that knows Windows. The thing I want to do is to ...
1
vote
1answer
683 views

Relationship between hardware clock and system clock

I know that hardware clock is RTC, which is running still, even when PC (or another device with RTC) is off. (in linux we can see this time by typing "hwclock") The second mentioned time, system ...
2
votes
1answer
967 views

Recording user activity if they have “sudo bash” access

I would like to monitor all the commands when a user calls sudo bash, including the rest of the commands.
0
votes
2answers
127 views

Switch harddrive to different computer

I have an older amd system with a harddrive that has a fedora install on it. I have a newer intel system with a windows 7 install. Would I be able to put the old drive into the new machine and make ...
0
votes
1answer
2k views

Windows cannot install to GPT?

I have installed Ubuntu 11.10 x64 onto a 500GB SATA (Seagate Barracuda ES.2) drive. I have downloaded Windows 8 Developer preview x64 onto a USB stick and I can't install it on a NTFS partition I ...
1
vote
0answers
326 views

Should we disable dmesg for non-administrative users?

As I can find in Mac OS X smarek:~ marekseberaold$ dmesg Unable to obtain kernel buffer: Operation not permitted usage: sudo dmesg Is this really important, to disable access to dmesg output for ...
0
votes
1answer
180 views

sudo makes me “lose” permissions when running a script?

I have a script that I need to run. It is kicking off a java program. When I run it as me, it seems to work fine. If I type "sudo myscript.sh" it does not run fine. In reality, I need to run it as ...
0
votes
2answers
51 views

Can a hardware be custom made for a specific operational system?

Today I installed on my notebook(Acer Core i5, 8GB RAM) the Ubuntu version 11.04 (before it, I had installed a Windows Seven Home Premium on it). However, when I was using Windows, it was very fast, ...
20
votes
3answers
8k views

Does rm -f follow symbolic links?

I have a directory like this: $ ls -l total 899166 drwxr-xr-x 12 me scicomp 324 Jan 24 13:47 data -rw-r--r-- 1 me scicomp 84188 Jan 24 13:47 lod-thin-1.000000-0.010000-0.030000.rda ...