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

How to get partition's free space in a linux machine

I have to get harddisk's free space available from 7 Windows 2008 servers and 4 Linux machines. For windows machines I wrote a tiny .Net Program. This will get details from all windows machines. In ...
0
votes
1answer
521 views

Cron job mail change sender address

I have cron jobs setup in my website and they do pretty well but my problem is that the output sent as email by these cron jobs are delivered with 'from name' as Cron Daemon. Please is there any way I ...
0
votes
1answer
65 views

.htaccess not running?

I am new to linux administration and I am trying to restrict the outside world from accessing files in my /var/www folder. I have done my research and found that .htaccess and .htpasswd was a good ...
0
votes
2answers
868 views

Run windows bat remotely file from Linux over ssh

It is possible? Cygwin is installed on the windows environment. I connect to windows environment over ssh with follow command: ssh user@ip /cygdriver/c/run.bat. After introducing the password the ...
1
vote
0answers
200 views

Ant error after installing NetBeans 7.3 in Lubuntu

I have NetBeans 7.01 from Debian repository - all works. I have problem with NetBeans 7.3 from official site (installed at the same machine) - I can't compile anything: ERROR - Ant is ...
0
votes
2answers
817 views

type of OS for Linux mint 14 Nadia in Oracle Virtual Box? [closed]

I have been unable to create a VM for Linux Mint. Which type of OS should I use to create a Mint VM? Specs I have Linux Mint, Mate and Cinnamon 32 bit ISO's. I run Windows XP SP 3 with 2 GB RAM.
0
votes
2answers
1k views

Cannot Create new user account in linux mint Nadia 14

I'm trying to create new user account in linux mint nadia 14. But the problem is i dont know how to do this. Previously I was a windows user. I were trying many ways. sudo useradd user cat ...
2
votes
2answers
819 views

How can I give an already running process root permissions?

I'd like to give an already running process sudo permissions so that it can make certain system calls. Is this possible?
0
votes
0answers
867 views

Linux recognize only partial memory

I tried different linux distributions (Ubuntu 12.10 Gnome Remix, Fedora 18, Bridge Linux) on my new laptop but all of them have a problem with memory. My laptop has 4 GB memory but Ubuntu recognises ...
1
vote
2answers
300 views

I have compiled the 3.8.2 kernel and the fan doesn't stop after resume from suspend

Kernel config for HP 6730b notebook I can't figure out what I did that's causing this issue. This is xubuntu latest version 12.04.02 LTS Link for kernel config: http://pastebin.com/AuYWdNDR Any ...
2
votes
2answers
2k views

Linux command: find files and run command on them

How do I manage to find all files in a directory and subdirectories and run a command on them? For example, find . -type f -name "*.txt" finds all txt files and: find . -type f -name "*.txt" | ...
0
votes
2answers
468 views

Using CEC to turn on and off TV

I am working on a project where we need a monitor that can be turned on and off automatically. For this to happen I thought of using a linux box (more specific a Raspberry Pi) with a HDMI-CEC ...
0
votes
0answers
411 views

FileZilla and Putty - Trouble connecting to a remote server

I am able to connect to a Linux server using Putty via SSH and port 22. About a week ago, I was also able to connect to this server using File Zilla with the same credentials via selecting "SFTP - SSH ...
0
votes
1answer
320 views

Creating a custom Debian LiveCD

How do I go about creating a custom Debian LiveCD with the following software applications installed and ready to use upon boot? TrueCrypt DropBox Chromium I have seen some online tools to do this, ...
0
votes
1answer
191 views

how to dd capture partitions of a VMware Player VM

I have a Linux VM that runs in VMware Player. It has /dev/sda1 mounted as /boot and /dev/sda2 mounted as /. I want to use dd to capture both partitions. I now know from the answer to this post that ...
0
votes
1answer
173 views

unix_chkpw run before access.conf via pam - security risk

I have RHEL 6.3 systems that have PAM's access.conf correctly configured and running. However, it seems in a less than ideal state, after analysis of a root-hack attempt, and I'm wondering if there's ...
4
votes
1answer
3k views

How to determine the socket connection up time on Linux

I can verify that the connection is up: $ netstat -tn | grep "192.168.2.110" tcp 0 0 192.168.2.100:10444 192.168.2.110:52639 ESTABLISHED is there a way to check how long this tcp port ...
0
votes
1answer
15k views

Installing Linux/Ubuntu on XBOX 360 [closed]

Is it possible to change the XBOX 360 operating system to any popular flavor of Linux? I recently read it was possible to do this but the XBOX 360 seems to have barriers to prevent people from doing ...
5
votes
2answers
6k views

Cannot switch to jenkins user redhat linux

I have a redhat linux server running jenkins. I setup jenkins as per the instructions mentioned here https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions The problem ...
1
vote
5answers
3k views

Differences in /var/log/{syslog,dmesg,messages} log files

Which file for which logs are? What's the rationale?
1
vote
2answers
241 views

Why the directories-files do not have the 777 privileges when I gave that on the parent directory?

There is a directory named Joomla inside /opt/lampp/htdocs directory. As I created the directory, first thing I did was to change its mode as : [root@Feddy htdocs]# chmod 777 Joomla Then I unzipped ...
176
votes
18answers
18k views

What is the advantage of using 'tar' today?

I know that tar was made for tape archives back in the day, but today we have archive file formats that both aggregate files and perform compression within the same logical file format. Questions: ...
1
vote
2answers
549 views

Linux, corrupted file, ran fsck, file still corrupted

Here's my situation: I have a server running Ubuntu Server 9.04 I copied a file on the server and was able to access the file from a Windows client computer without any problem. Then recently I ...
-1
votes
3answers
107 views

Does Windows 7 or 8 need to be reinitialised regularly unlike Linux? [closed]

There are articles such as this which instruct in ways to speed up your PC and I would add to the list a CCleaner run once in a while. However I am trying not to make this subjective as I am looking ...
1
vote
2answers
41 views

Most reliable IP resolution in unknown LANs

I have to configure some machines that will be attached to some network of unknown properties. Maybe some Ethernet, some wireless. What configuration will provide the best propability it will work ...
0
votes
2answers
178 views

How to make iso image in Ubuntu linux that booted from live usb?

How to make an iso image in Ubuntu 12.04 linux that booted from live usb? The normal way as I understand is to use dd: umount /dev/cdrom dd if=/dev/cdrom of=/media/EOS_DIGITAL/snow_leopard_cd_bydd ...
1
vote
2answers
2k views

Can Conky remain always visible alongside other windows?

I want conky visible at all times and all windows to respect the boundaries of conky. They should not overlap conky. Right now when i open a new application it overlaps conky and i have to manually ...
0
votes
3answers
728 views

Connect to AIX via SSH

I have to connect the AIX machine through Linux via SSH command and i m not able to figure out how to connect. Can anybody help me with the command. Thanks, Vivek
2
votes
0answers
230 views

Mapping a Microsoft Keyboard specific key under Linux, when xev doesn't see this key

I have a Microsoft Wireless Keyboard 1000. Between the SpaceAlt Gr and MenuCtrl keys, I have a key with 3 application windows drawn on it, and which displays a 3D overlay of all open windows and cycle ...
4
votes
3answers
12k views

How to remotely find out a linux hostname without the use of DNS?

If I want to find out how the hostname of a remote linux machine on my LAN is, how can I achieve this given I don't have access via SSH etc.? Probably depends if linux is part of a WINS domain I ...
0
votes
1answer
251 views

Union mounts not supported by the 3.8 kernel?

I've been using union mounts (unionfs) for live images and read-only rootfs images. But when I updated the kernel to 3.8, I found that there were no config items related to overlayfs. So the 3.8 ...
1
vote
0answers
181 views

Control key does funny things

I switched from Windows to Linux Mint LMDE 64 with Cinnamon as window manager a few weeks ago on my Lenovo W510 notebook (but have good Linux knowledge from work about 10 years ago). All is fine so ...
0
votes
1answer
103 views

How to hide password while sending mail from linux commad line

I tried the approach in http://superuser.com/a/462871 and it works. But I don't want my gmail password to be stored in command history. Is there a way to avoid this?
0
votes
4answers
645 views

How to set the time temporarily in Linux

I am testing some code with some random numbers generated with the current time as the seed using srand(time(0)) I'd like to get the same random numbers every time when I run it. So I want to set ...
0
votes
2answers
1k views

rm -rf extremely slow & slows down server

I did a rm -rf foldername in an attempt to delete a folder containing 10,000s of 25KB files. Question Why is it taking so long (Almost 30 minutes)? Why did the server became extremely slow, even ...
0
votes
2answers
499 views

Aligned partitioning of 2TB disk with Linux fdisk

Is there a way to create a single 2TB partition, which is 4096-byte-sector aligned, on a disk using the standard Linux fdisk (I have tried version 2.17.2)? I've tried the following things and ran ...
0
votes
1answer
289 views

Stuck in a virtual console after init, not sure how to proceed

When I turned on my laptop today this message (for a first time greeted me) login as: root root@10.10.10.158's password: Last login: Sun Sep 7 10:25:51 2008 from 10.10.10.41 Linux debian ...
0
votes
2answers
40 views

linux - file copy compete notificaion

I'm using ssh to copy a large file from my web server to my local machine. How can I be notified when it is done downloading? I would ideally like to run mpg123 to play a short audio clip upon ...
0
votes
0answers
51 views

sending a pop-up message on a lan [duplicate]

I want to send messages over to other computers in LAN. I know of msg/net send on windows and smbclient in linux. However, they require changing some registry values before they can be utilized for ...
1
vote
2answers
464 views

comparing two directories and getting the output with absolute path

was trying to compare two directories. one directory is the reference directory(dir1) and the other is the directory where modifications(dir2) are being done I need the list of files which are ...
3
votes
2answers
420 views

Generate distribution of file sizes from the command prompt

I've got a filesystem which has a couple million files and I'd like to see a distribution of file sizes recursively in a particular directory. I feel like this is totally doable with some bash/awk ...
2
votes
2answers
2k views

How to make `script` command loaded automatically on terminal login

script command allows to log gently everything that was put to console during session (like history but also displays results of commands). Everything is logged to file typescript.xxx Now I want to ...
0
votes
1answer
25 views

checking ssh tunnel

If I have a tunnel opened with this command ssh -f root@localhost -g -L 60000:10.128.123.67:32354 -N Which call of netstat do I have to use to see whether the tunnel is open or not? I am working ...
2
votes
1answer
132 views

Dual boot and disk encryption

I need to dual boot these: Unencrypted Windows 7 partition Encrypted Linux partition (/ and /home) I was thinking to erase the entire disk then: Install Windows 7 then install a linux distribution ...
0
votes
0answers
708 views

sources.list LMDE review

I want to create a sources.list which uses one fast mirror. So I run netselect-apt. There comes in my first question: Does netselect-apt use ping or traffic-speed? I trust that result and for example ...
0
votes
1answer
430 views

Map Alt-Left to word-forward in SecureCRT Linux terminal

I use Putty and SecureCRT to connect to a Linux server. The following keyboard commands work out of the box with Putty: Alt-b or Alt-← : move backward one word Alt-f or Alt-→ : move forward one ...
1
vote
1answer
2k views

Chromebook local network file access

What are the options I have to mount network file shares to a Chromebook running stock Chrome OS with developer mode? I noticed /proc/filesystems doesn't contain nfs but it has fuse.
1
vote
0answers
749 views

Unable to reassemble md raid on drives pulled from ReadyNas Duo v1

I'm toying with a ReadyNAS device that I've recently acquired. It is a SPARC-based box, and it runs linux. As device is pretty slow, I've pulled one drive out of array, hoping to populate it with ...
1
vote
1answer
3k views

How to configure Postfix mail on Red Hat Linux?

I am trying to configure Postfix on Red Hat Linux to send email with the following command: mail -s "test" user15@dba.gui.com I have followed all the steps mentioned in this tutorial and have ...
1
vote
0answers
49 views

Linux limits.conf item explanation

I have read the man page, but I don't understand what the various items are, such as core, data, as, etc. Does anyone know of or have detailed explanations of what each item is and typical values to ...