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
6answers
266 views

Processes currently run by users

I am looking for a unix command or a bash script to get the processes currently run by users in the system. I tried the ps -Af command, however, all the processes including the root processes pop up. ...
8
votes
3answers
2k views

Alternative to the tee command without STDOUT

I'm using | sudo tee FILENAME to be able to write or append to a file for which superuser permissions are required quite often. Although I understand why it is helpful in some situation, that tee ...
1
vote
5answers
342 views

Programs on startup in Linux

Where does Linux look to start programs on startup? (In Windows we have the registry)
6
votes
3answers
28k views

fsck: Options for most thorough disk check

I've got a disk with a known problem (I know because dd gags when I try to clone it). But when I boot with a live CD and run fsck on the unmounted partition, I get this: ubuntu@ubuntu:~$ sudo fsck ...
1
vote
1answer
188 views

fsck -y breaks system

I have a Red Hat development box and I recently had an outage where the SAN disk was unavailable and and some applications were not running right so I ran fsck -y to check if the file system was ok, ...
4
votes
3answers
2k views

Is it safe to disable fsck on boot?

Occasionally fsck would run on it's own when I reboot my server, but most of the time it doesn't. But when it does run, it takes too long to finish. Is it safe to disable this permanently?
2
votes
3answers
262 views

Permanently set `find` regextype

GNU find allows the use of different regex formats via the -regextype option, but as far as I can tell I have to type out -regextype <whatever> every single time which is onerous. If one wants ...
0
votes
1answer
4k views

How do I get full screen in Mint Linux under VMware player?

I just installed VMware player and Mint Linux; however, only a small portion of the VMware window is used. I want Linux to take up the entire screen. How do I change this? In Linux I tried going to ...
2
votes
1answer
326 views

Linux - transfer all files modified after a specific date to a new harddrive

I recently had my second hard-drive of the past semester begin to fail on me and become unable to ghost to a new drive. I still had the first hd that failed so we ghosted that drive but now I need to ...
2
votes
2answers
41 views

Assign command line to program

On my Linux, I have installed three versions of the same program. So I have QWERTY4.0, QWERTY4.1 and QWERTY4.2. I use all of them alternatively but the default linux command line "qwerty" sends me ...
0
votes
2answers
505 views

Depmod freezing up after bcwml-kernel-source install failure

I recently installed an a new piece of networking hardware into my Ubuntu/Windows dual boot PC. Windows worked as expected with the new hardware, but when I installed the necessary drivers for Ubuntu, ...
0
votes
3answers
54 views

Linux debian command

i tried to install isp cp omega on my debian dedicated server os, i created a new dir with name /panel/, and i wrote a command cd /panel, then I run the code wget ...
0
votes
0answers
153 views

Linux Driver: Missing required config variable

Through multiple previous inquiries (Depmod freezing up after bcwml-kernel-source install failure; alternative to bcmwl-kernel-source package; ndiswrapper not downloading large files) I have been ...
0
votes
1answer
44 views

SED basic substitutoin is not working

I am on ubuntu 12.04. Following expression: echo abcd123 | sed 's/\([a-z]*\).*/\1/' is supposed to get result as "abcd". But I am getting "abcd123". WHY?? Using following site as SED tutorial: ...
0
votes
2answers
749 views

Fix MBR and partition table of windows 7 hdd/installation

Apparently the partition table still seems to be somewhere in tact, as well as all the files. Debian is able to mount the ntfs partitions, I can read/write and I am using dd to image the data onto an ...
2
votes
1answer
1k views

Why doesn't ln -s prompt that it fails when creating a symlink to an existing symlinked directory? [closed]

When running (on linux different ubuntu variations): >ln -s dir_1 symlink_dir >ln -s dir_2 symlink_dir It fails without telling that it fails. But if you do the same thing on a file instead ...
2
votes
1answer
248 views

why do *NIX commands have such “insane” (counterintuitive) defaults (philosophical pondering)? [closed]

Why do most *NIX commands my (experience is Linux mostly and rare encounter with FreeBDS) have such "insane" (unintuitive) default, behaviours, i.e. VERY different from what the "equivalent" GUI ...
0
votes
1answer
32 views

Solution for HPC with Matlab and Linux

I have the following problem. I want to install Matlab as root on a remote computer with graphical user interface installed. I've a campus license that can be installed on 4 different computers (or ...
-1
votes
1answer
3k views

What linux distributions exist that will run natively on a tablet? [closed]

I don't need recommendations, I just wanted to know if there exists a distribution that runs or can run natively (not sandboxed in the host os) with documented confirmation, and/or instructions. I ...
2
votes
2answers
260 views

How to remove a duplicate symbolic link

I accidentally created a link to a folder in the same directory with the same name as the folder, and I'm not sure how to safely remove it without removing the actual folder. # ls -l total 4 ...
0
votes
2answers
233 views

OTS (Open Text Summarizer)

I was trying to install OTS (Open Text Summarizer) on ubuntu 12.10. I downloaded the package ots-0.5.0 and ran ./configure and finally got this error: configure: error: Library requirements ...
2
votes
0answers
171 views

Multi boot USB flash drive [closed]

Please how do I make a multi boot USB flash drive? to boot live Linux distros or Windows ISO images? let's say I have Kali Linux, Gentoo, Ubuntu, and other Linux distros, Windows 7 32 bit and Windows ...
3
votes
2answers
10k views

Should I use httpd.conf or apache2.conf for Apache configuration?

On Ubuntu, I am trying to get the httpd.conf file for apache2. My server does not show one. Would apache2.conf be the same as httpd.conf?
1
vote
1answer
793 views

Google Earth on Fedora

I have downloaded Google Earth 7.1.2, and I am trying to install it on Fedora 19. The error I am getting is: Transaction check error: file /usr/bin from install of ...
1
vote
2answers
996 views

Zipping Epub: Mimetype file should contain only the string “application/epub+zip”

I followed this tutorial to create an epub file. The mimetype file only contains application/epub+zip and should not be compressed. However, the zip commands that were recommended to achieve the ...
-2
votes
1answer
58 views

How do i fix “ls > less” in CentOs

How can i fix "ls > less" in Cent-Os. I made this mistake in the process of learning Linux. Being new to the platform and Os and learning from a manual i read the command in a context and thought to ...
1
vote
1answer
57 views

Issue in connecting to some specific remote machines from linux machine

Being in network. Consider my machine IP Address is 172.10.40.198 having CentOS. I am trying to connect to IP addresses 172.10.40.(200-203) which are installed as test vms with CentOS on Ubuntu ...
0
votes
1answer
229 views

Shrink/Remove dual boot partition Windows XP(or 7)/ RHEL

A colleague has a dual boot laptop with Windows XP or 7 (not sure yet) on one partition and RHEL 5.8 on the second. The RHEL partition is rarely used and the windows partition will soon reach its ...
11
votes
9answers
7k views

How to clean up output of linux 'script' command

I'm using the linux 'script' command http://www.linuxcommand.org/man_pages/script1.html to track some interactive sessions. The output files from that contain unprintable characters, including my ...
3
votes
3answers
4k views

When installing Mint Linux in VMware player which OS version should I select?

I just downloaded the iso for the 64bit version of Mint Linux. I want to run it from Windows and to do this I installed the free version of VMware player. It said it couldn't auto detect the type of ...
0
votes
2answers
107 views

Setting up an alias that waits for the next prompt to enter a command

I'm trying to set up an alias that connects to an ftp site.. so far (with the help of SO :] ) I've been able to create the alias that will connect. I've tried adding the next command preceded by a ...
0
votes
2answers
419 views

Undo chmod -R a+rwX command

How can I undo the following command: chmod -R a+rwX / I used it to modify some permissions, but it did not do as I had expected. I want to undo it, or at least reverse it.
0
votes
2answers
40 views

How do I reinstall windows into a partition?

Is it possible to reinstall Windows 7 into an existing Windows 7 partition? I would rather not have to reinstall my Fedora 19 installation.
2
votes
2answers
172 views

SSH auth by public key not working for one user on a system

I can't setup public key authentication for one particular user on a system. I checked user home and .ssh directories permissions, and it's good (drwx------. both, the same as for other users that can ...
0
votes
1answer
38 views

What are the consequences of having a full partition on a Linux system?

This may sound like a stupid question, but bear with me. What bad things could happen to your system if a partition was full? I know intuitively that it's a bad thing and you should avoid it. ...
8
votes
1answer
14k views

SSH still asks for password after setting up key based authentication

I have successfully created a key based auth for root user from my A machine to my B machine. Now, I created a new user on B machine, the same as on A machine, let's call him USER. I created a home ...
2
votes
0answers
170 views

My Fedora Setup is gone due to accidental “yum upgrade”

How to roll back? I tried yum history undo 143 and yum --skip-broken history undo 143 and get the following errors. Important: All I care about is getting my kernel and custom graphics driver back to ...
0
votes
1answer
913 views

Skype can not find libssl.so.10 on 64-bit Fedora Linux

Skype will not start: $ skype & skype: error while loading shared libraries: libssl.so.10: wrong ELF class: ELFCLASS64 $ ldd /usr/bin/skype |grep ssl libssl.so.10 => not found OK, missing ...
3
votes
1answer
894 views

Running bash script outside of directory

I am trying to run a script that's in a directory I have admin rights for, but I am trying to run it from somewhere that is not the directory.. I.E. its a generate load in script that reads all the ...
0
votes
2answers
329 views

What is the use of option -u in the Linux cat command?

In the man page of cat, -u means (ignored) [raj@localhost zzz]$ cat file1 hello world 1 2 3 4 5 6 7 8 9 0 ! @ # $ % ^ & * ( ) _ + ~ ` ; ' , .{ } [ ] = | \ / - [raj@localhost zzz]$ cat -u ...
0
votes
4answers
678 views

Command to know if my computer will shutdown or not?

I am sending a reboot and shutdown command to a Free BSD computer. However I want to check that will that computer be shutdown or reboot really (I send this command from a reboot computer and I want ...
1
vote
1answer
991 views

Find a file with certain filename and size in linux?

Is it possible to search for files with a certain filename and size in linux?
2
votes
1answer
4k views

How do I install SSH in Ubuntu?

I am using Ubuntu 12.04 and am trying to install SSH using the below command: [root@avi ~]# sudo apt-get install ssh However I am getting this error: Reading package lists... Done Building ...
0
votes
1answer
225 views

Count the number of accesses made to a file [duplicate]

Possible Duplicate: How can I determine what process has a file open in Linux? Can I run a script/use a tool that monitors a file and counts the number of access that are made to it (both ...
3
votes
2answers
943 views

schroot build environment setup how to avoid bind-mount home

The recent linux distributions such as Fedora and Ubuntu all use chroot environment to make the build. Because when making the build often it needs to install some special tools, and to install to the ...
2
votes
1answer
719 views

Ctrl-Alt-F1 never gives prompt

When I press Ctrl+Alt+F1 in my Red Hat Enterprise Linux 6.4 (Santiago) I get a black screen with a blinking cursor, but I never get a login prompt. I can get back to my desktop with Ctrl+Alt+F7, and ...
0
votes
1answer
1k views

How to set up x11vnc on freshly installed ubuntu server with no gui?

I installed Ubuntu 13.04 server on my remote server, and then proceeded to use tasksel to install ubuntu-desktop (which means GNOME i think). all remotely. Now i'm logged on and want to start X and ...
0
votes
0answers
62 views

Can a driver be compiled alone instead of the whole linux kernel?

I made some changes to the serial driver on my linux machine. I've been trying to compile the module and reload it, but it throws some errors. Instead, if I recompile the whole kernel it works fine. ...
0
votes
0answers
2k views

How to resize disk partition CentOS

I have parallels mac os desktop and I run centOS. My problem is that I can't make this Disk /dev/mapper/vg_host-lv_root bigger. Disk /dev/sda: 549.8 GB, 549755813888 bytes 255 heads, 63 ...
4
votes
2answers
595 views

Linux cal command not showing proper output

If you type cal 9 1752 in a Linux terminal you will get strange output. For example: [max@avi ~]$ cal 9 1752 September 1752 Su Mo Tu We Th Fr Sa 1 2 14 15 16 17 18 19 20 21 22 23 24 ...