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
572 views

Capture the putty log to a file

I start putty from a linux terminal.When it starts/invoked i set the serial line and the speed option. I want to capture what ever that is shown on the putty to a file after doing the above.How to do ...
0
votes
2answers
315 views

Nano-like editor that support Ctrl+Backspace and Ctrl+Arrow keys

Does anybody know of a nano-like editor that supports Ctrl+Backspace and Ctrl+Arrow keys? Like in Windows, where you can delete and navigate words. I have been trying to learn the basics of Vim for ...
2
votes
1answer
187 views

syntax for linux/unix command “column”

Manpages for the command "column" show: column [-tx] [-c columns] [-s sep] [file ...] -s Specify a set of characters to be used to delimit columns for the -t option. I could not ...
0
votes
3answers
1k views

How do I display the available disk space of a mount in specific format?

I would like to display the available disk space of a mount in xx% format, For example: sh-3.1$ df -h /opt/Application/Disk1/ Filesystem Size Used Avail Use% Mounted on ...
7
votes
3answers
5k views

What could cause strange characters in Vim?

I'm have this really strange problem in Vim using the NERD tree plugin, where, as you can see in the picture, the characters are showing up very strange. Where there is the ahat, ~V 3/4 it should be ...
1
vote
1answer
213 views

Trouble Downloading Drupal on Linux Permission Denied

When I try to download Drupal I get denied permission. How can I bypass this? /var/www$ wget http://ftp.drupal.org/files/projects/drupal-7.0.tar.gz This results in: --2012-02-08 21:20:17-- ...
0
votes
2answers
690 views

Is there a (free) way to set up remote desktop sharing without configuring the router?

I want to be able to access a linux machine at home from anywhere. I understand just enough about routers that I normally need some static ip address. I have read about DynDNS, and honestly do not ...
0
votes
2answers
311 views

iptables Administration in Redhat

Normally (that is, on Debianish systems), when you have to add a firewall rule uou have to put a defenition in the iptables.d/ directory and restart iptables. I can easily write a script to do this on ...
1
vote
2answers
363 views

Boot from flash drive then start VirtualBox

I want to put a very small OS on a flash drive with minimum necessary requirements for running VirtualBox 64 bit machines. Can I make it with Tiny Linux or something similar?
1
vote
0answers
989 views

mdadm raid5 read error not correctable

I have a software raid5 setup existing of 4 disks. sda, sdb, sdc, sdd Since everything was up and running I wanted to test the array. To do this I pulled the plug on one of the disks (sdd). Everything ...
0
votes
1answer
883 views

Allow snmpd to read /proc/net/* when running a grsecurity kernel and the grsec_proc group

I have rented a VPS from OVH (the Kimsufi 2G), and I'm having troubles getting snmpd to work correctly. The box is a Debian Squeeze running an OVH custom kernel: root@vps:~# uname -a Linux vps ...
0
votes
2answers
137 views

Is there an advantage to installing a new version of a Linux distro from scratch instead of simply upgrading it?

If I simply upgrade the Linux I'm using, is there anything that doesn't really upgrade until I install the OS from scratch on a new partition? Or can I unworryingly upgrade from the terminal without ...
2
votes
1answer
487 views

I can't add a new user in Ubuntu Linux

I'm trying to create a new user with root privileges from visudo in order to log on the Ubuntu system. When I run Ubuntu a dialog box appears with the name of a user, let's call it "Sr. X". If I ...
2
votes
3answers
2k views

Select all in vim through PuTTY

I'm PuTTYing into a Linux machine from a Windows computer. I'm opening up a large log file in vim and am having enormous difficulty trying to figure out how to select all the text and copy it into a ...
2
votes
2answers
1k views

google-chrome open url in current tab through ssh/remotely

Basically I need to issue an ssh command to open a url in the current tab if i try to run chrome with say google-chrome http://yahoo.com it adds a new tab to the already existing window. I looked ...
0
votes
2answers
4k views

Debian 3D Acceleration with Intel HD 3000

I'm looking at installing XBMC in Debian on a mATX PC I'll use as both a NAS and HTPC. I am currently researching the actual components that will make up this computer and I'm considering how ...
0
votes
2answers
117 views

max folders I can store inside a folder in a linux server

Is there a logical limit as to how many folders I can store inside a single folder in a hosting server (linux)? I`m talking about tens of thousands of folders.
8
votes
5answers
464 views

Give all files a .jpg extension

I have a directory and some of the files' extensions are in uppercase (.JPG) instead of lowercase. I want to make sure every file has .jpg as its extension. How would I do this from a shell prompt?
3
votes
2answers
7k views

Transfer Files to another host without password prompt

Hello I've tried both scp and rsync to copy resource from my machine to remote host. I don't have a root access on a remote machine but I need to transfer big amount of files from my host to remote ...
5
votes
8answers
9k views

How to schedule a java program to run Every day?

How can I schedule my java program(core java file) to run every day at a particular time? I want to schedule it in a Linux server and what is the same for Windows?
1
vote
7answers
2k views

Send a file from Windows to Unix as a nightly schedule

Let's say I have a common directory on a Windows server such as: \\servername\location\common. During the day, any user can come and add/remove files to that Windows directory. How would I setup a ...
0
votes
1answer
165 views

Hard drive size 'loss' using EXT3 Filesystem

We have an Ubuntu backup server with removeable hard drives in caddys. They are standard IDE/PATA, it came to light that although the drives in the caddys are 160GB in size they where only ...
0
votes
1answer
67 views

Linux install password lost and found

I just installed Linux on a virtual machine. During the installation, I setup account and password but later when I try to log in (after installation completes), I forget the password thinking I am ...
0
votes
1answer
126 views

How to identify raid1 disks

I would like to know how mdadm identifies physical disks of raid1 . I think it is managed by uuids not device file like /dev/sdc2 /dev/sdd2. But I can`t confirm such information of raid1.
5
votes
3answers
3k views

By-passing default permissions when mounting HFS+ volumes in linux

I have a dual booting macbook pro with Snow Leopard and Kubuntu 11.10, and want to read (don't care about write) my home Mac home directory when I'm running Kubuntu. I can mount it without any ...
1
vote
1answer
157 views

Realtime Bootloader?

Does there exist a bootloader which can scan your disks for operating systems on startup, rather than requiring manual setting up of the bootloader? This would make it very easy for a layperson to ...
0
votes
2answers
2k views

How to install to /usr/bin directory?

New to using Linux and trying to install software called PrinceXML in the /usr/bin directory. I've logged in as the root user, used wget to download the package, ran tar and followed the steps to ...
2
votes
2answers
1k views

How to delete a user in Ubuntu but keep his home dir?

I need to delete a user, but I need to keep his home dir. I tried userdel -r user, but this also removes his home dir. Is there a way to do this?
0
votes
1answer
2k views

Set linux routing tables to route F5 vpn and internet traffic

I'm having trouble understanding how my VPN client works, and how to set up my routing tables to do what I would like. Here is the output BEFORE connecting to my vpn Kernel IP routing table ...
0
votes
0answers
103 views

Linux networking forces browsers to crash across all distros

I am really starting to think this is a MB issue seeing as I replicate the problem with all distros, all browsers and using USB and PCI wireless and ethernet cable. The net connection behaves very ...
1
vote
1answer
720 views

Use user-installed shell? [duplicate]

How do I change my shell to one installed in my home directory? I installed a new zsh in my home directory, which is picked up: >> which zsh >> /home/myname/bin/zsh It's not listed in ...
2
votes
2answers
3k views

Hosts file switcher on linux

It appears there are a ton of utilities to manage the hosts file on OSX. I haven't been able to find even one like http://www.macupdate.com/app/mac/29949/gas-mask for linux. I keep my hosts file ...
0
votes
1answer
230 views

find command giving different outputs with/without -print

find src/ -name "*.cc" -o -name "*.cpp" -print find src/ -name "*.cc" -o -name "*.cpp" The intended behavior is to find all C++ files in a directory and all its subdirectories. As I understood it, ...
1
vote
0answers
109 views

How to stop mplayer from moving mouse pointer?

I noticed that mplayer moves mouse cursor every 10 seconds: ltrace -e ...
0
votes
1answer
41 views

Many duplicate binaries created in /usr/bin and /bin

I have a CentOS box that's been up for about a year. It's not got anything hugely important on it, and had a lot of PHP code that I cannot personally vouch for and is fairly old. I realise this is ...
12
votes
2answers
24k views

How to check all timestamps of a file?

Is there a command in Linux to check all timestamps of a file? I'm trying to see the last modified, created, and touched dates on the file.
7
votes
2answers
6k views

equivalent “echo on” for linux?

How can I get to stdout all commands that run in bash script? That is output must contain commands output AND commands themselves. I found #!/bin/bash -x but this is not exactly the same because ...
1
vote
1answer
856 views

how to spawn a process/cmd in a specific tag in Awesome?

I followed the default rc.lua and created a list of tag of my own. for s = 1, screen.count() do -- Each screen has its own tag table. tags[s] = awful.tag({ "main", "web", 3, 4, 5, 6, 7, 8, 9 ...
0
votes
2answers
71 views

run fedora and windows OS at a time

My main OS is windows xp and I create a partition where I have installed fedora. I have 1gb of ram and 500gb of HDD. Shall I run both the OS at a time? If so how can I do that?
0
votes
1answer
564 views

I'm trying to wake on lan, but I get ethtool: command not found error

It's driving me crazy... I've been googling for an hour now and nothing! I'm trying to invoke this script: #!/bin/bash ethtool -s eth0 wol g exit I run it as root: /etc/init.d/wakeonlanconfig And ...
0
votes
1answer
491 views

iscsitarget for linux, mounting on windows

I have an issue with iscsitarget, I feel I finally got it working, but when I mount the drives on my various windows machines, they seem to keep theire own folder structure. example: one computer1, ...
1
vote
1answer
952 views

How to ignore some folders when creating a TAR file in Linux?

I have a folder with 85 subfolders. I want to make a customized .tar file, meaning that I want to ignore some folders. How can I do that?
0
votes
1answer
6k views

Creating files and directories with a certain owner (user/group) while sudoing

I need to wget something (results in a compressed file in cwd), then I have to extract it, then do some copy/move/modification stuff and perhaps finally execute an script (from the downloaded ...
1
vote
1answer
331 views

Hosting an access point with linux without traffic forwarding

How can a linux computer be set up to be an "access point", but without "bridging"/forwarding traffic to/from the wired network (using WPA2 and SSID brodcasting disabled)? The reason to do this would ...
0
votes
1answer
5k views

How to check harddisk type?

[root@testing ~]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 274597936 23881492 236542648 10% / /dev/sda1 ...
2
votes
2answers
490 views

Read and remove lines in file, wait for new lines on end

I'm actually looking for a bash script who monitor a file, execute each new line in the file and then remove the line. When all the file is processed, the script mush wait for new lines. I searched ...
1
vote
1answer
429 views

Should Gentoo's Hardened profile / SELinux be used on normal desktop computers?

well, the title pretty much says everything. I'm installing Gentoo on my machine, and I'm wondering whether I should use SELinux or not for a desktop computer. I'd also like to know if there are any ...
2
votes
1answer
2k views

How can I write a cron job to archive my log files every night?

I assume this is relatively easy but my shell scripting isn't that great so I'm hoping to get some help. I have a task which runs every hour and appends its output to a log file. I'd like to move ...
-2
votes
1answer
300 views

Install Win 98, XP, 7, 8 and Linux without loosing current configuration [closed]

I would like to install Windows 98, XP and 8 Dev Preview alongside of Linux and Win 7 and would like to do so without loosing my current config. Here is my current setup: Drive 0: [150Gb Linux / ...
3
votes
1answer
11k views

How to I create an open smb share on a Windows 7 box?

I have a Windows 7 (Home Premium if that matters) box witch I want to set up a SMB share on for a network media player to play videos from. Ideally I would like this to be open so it can be copied ...