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

How to set up an X server to accept connections from my main computer

I have computer 1 and computer 2. Computer 1 has KVM (keyboard video mouse), and computer 2 just has video. I want to use computer 2 as a remote display for computer 1, and nothing more. Using ssh -x ...
0
votes
2answers
193 views

how to undo sudoers file

I accidently command the root admin and sudo in sudo visduo file. Now with current user it is not rolling it back because i can't access it any more. File does not get opened with command sudo visudo ...
0
votes
2answers
76 views

How can I allow my regular user to chown files, via setfacl?

I am using ACL to set specific permissions in a directory: setfacl -R -m u:wordpress:wrx /var/www/html/wp As that user, I am able to create a subdirectory within the directory with mkdir test, but ...
0
votes
2answers
202 views

SNMP not using community string in snmpd.conf

I'm trying to simply set up SNMP on a Red Hat system. I can walk the MIB tree just fine using the following command (from a different server): snmpwalk -v2c -c public HOST IP However, when I try to ...
0
votes
2answers
790 views

Boot option not available to boot Kali Linux (installed along side Windows 8)

i have Sony Vaio laptop with pre-installed Windows 8. I installed kali linux (in UEFI mode) alongside with windows 8. On first restart, I got both the option in the boot menu i.e., to either start ...
0
votes
2answers
17 views

How to recognize the start and end of a zpool partition on byte/HDD block level or with broken GPT?

In case the GPT of a HDD has been deleted and possibly some partitons, but not the one that should be found with the answer to this question (because it is right in the middle of the HDD and writing ...
0
votes
2answers
35 views

Unable to establish connection between host-server-host on the same network

Can anybody please tell me what stupid thing is it that I'm doing which makes it impossible for me to ping between hosts in a following HOST1-ROUTER-HOST2 config explained below: I've got one PC - ...
0
votes
2answers
496 views

How can I find wget processes older than one day in unix?

Using this command I can find all the processes for wget: ps -aef | grep -i wget But I want a command or a script which can provide me the processes older than one day for wget and kill them.
0
votes
2answers
27 views

Cannot boot from hard drive

The computer can boot from CD and USB, but cannot boot from hard drive. The hard drive is in the bootable list in BIOS, but the computer just reboots again and again. I reinstalled the OS (fedora), ...
0
votes
2answers
815 views

elementaryOS not able to install apps through PPA

As you can probably tell by the title, I'm a complete novice in Linux environments. Trying to work out how to install apps using sudo apt-get install. I have been able to install some, but recently ...
0
votes
2answers
281 views

How to copy file with spaces remotely using sftp

I am trying to copy a file from windows 7 to linux debian using SFTP Filename is ba ck.bak I am using SFTP to remotely put file through windows command prompt If filename is back.bak then command ...
0
votes
2answers
255 views

Linux Full Disk Backup of a Remote System?

I have a home file server in the following configuration: 4 HDDs of 2TB each 1 USB flash drive running the Debian OS of 8GB I would like to make a full disk backup of the OS flash drive to another ...
0
votes
2answers
212 views

sda1, sda2, what are these in my partition table?

I'm using Ubuntu on WMware. My sda1 is in ext4 format, and I assume that it holds my OS and all other files? What is sda2 and can I delete it and just put all my space into sda1? sda2 is in extended ...
0
votes
2answers
106 views

How does thunderbird know which emails have been read? X-Mozilla-Status wrong

I'm trying to write a script to check how many unread messages there are in a certain mailbox. I thought thunderbird (icedove, I'm running debian jessie) used the X-Mozilla-Status header to keep track ...
0
votes
2answers
272 views

Installation Issue of CentOS 7

how i tried to install centOS 7 having centOS 6.4 already in the system and windows as well. bootable DVD::::--> ISO is CentOS-7.0-1406-x86_64-DVD.iso.... and my problem is after manual partitioning ...
0
votes
2answers
134 views

Starting a .jar GUI file using Linux

So I have Raspberry Pi running Debian and I also have a .jar program that has a GUI for Point-of-Sale System. So how do you configure Linux to start the x window system without displaying a full ...
0
votes
2answers
288 views

Mount ReadyNAS 2nd drive on Linux

I posted this question on Stack Overflow but was told to ask this here instead, so after creating yet another login/account here I am, and apologies if this looks like spam/crosas-posting. An old ...
0
votes
2answers
619 views

How to run an infinite loop program on startup on a raspberry pi without halting boot up

I have a shell script: #!/bin/bash while sudo /home/pi/MyCode; do :; done echo Error with MyCode which runs a program in an infinite loop. I want to set up the shell script to run at start-up ...
0
votes
2answers
236 views

Sharpkeys program alternative for linux?

Sorry it's the second time that I post this question because till now I can't found solution : My keyboard is damaged, the keyboard key [é] is always pressed and it prevents me from working on ...
0
votes
2answers
190 views

Having trouble in Ubuntu with dual monitors

I am having trouble with Ubuntu 14.04 LTS and getting my GUI to show after trying to get my dual monitor setup working (worked just fine with one) with AMD R9 270 graphics cards. I am tired of working ...
0
votes
2answers
3k views

Desktop not starting after Centos upgrade

I upgraded a server from centos 6.5 (with gnome2) to 7 using the update manager. The problem is that I am not able to see the login screen or the desktop. However the mouse pointer is visible. I ...
0
votes
2answers
45 views

How do I change the color of my hostname in Ubuntu?

$john@server-dev2:~/myproject/src/production I would like to change "server-dev2" to yellow. How can I do that?
0
votes
2answers
104 views

How to close wicd gui without leaving dangling process

If I open the wicd gui with wicd-gtk &, closing it (even using the "Quit" button) may close the gui, but always leaves a process wicd-client running in the background apparently doing nothing. I ...
0
votes
2answers
133 views

Cannot run Windows after upgrading Ubuntu

Here is the scenario of my Lenovo 3000 G430 Laptop: System configuration: P4 Dual core T3200 CPU 3GB RAM (1+2 in two slots) 500GB HDD Partition layout for HDD: 170GB Priamry - NTFS (for Windows ...
0
votes
2answers
64 views

Create bootable Linux pendrive that can be booted on Windows and Mac

How do I create a bootable linux pendrive that can be booted on a PC (windows) and iMac (Mac) using the same usb? installing linux with unetbootin doesn't work for imacs...
0
votes
2answers
70 views

gnome 3 is more like gnome 2

I recently installed debian 7.6 on my laptop and have been trying to get everything configured the way I like. However gnome 3 is looking more like gnome 2, with the Applications and Places menus that ...
0
votes
2answers
129 views

dig not working in a virtual host environment

I have installed three virtual machines (RHEL 6) on virtualbox, and attached a bridged mode network to all machines i have to use my first machine to be a DNS and the second and third machine should ...
0
votes
2answers
16 views

How can I reset some of the committed modified files in git?

I modified some code files and git add git commit. And then, I found some of the modifications were wrong. So how can I reset them in git?
0
votes
2answers
203 views

Linux zip and exclude directory in Bash script

I am trying to write a bash/shell script to zip up a specific folder and ignore certain sub-dirs in that folder. This is the folder I am trying to zip "sync_test5": My bash script generates an ...
0
votes
2answers
226 views

crontab is not working

I am using Linux Fedora. I want to create a crontab with SCP command, but it's not working. [shiv@db2 ~]$ crontab -l #this is server to server copy... */2 * * * * date >> ~/$ scp ...
0
votes
2answers
213 views

In tmux, can I get `exit` to exit the containing terminal window and not the session itself?

So when I open a new terminal (I use terminator on Arch Linux), I have it configured to either open a new tmux session if one doesn't exist, or attach to an existing one. When I type exit at the ...
0
votes
2answers
35 views

Linux machine restarting

I did some changes in /fsab ,also mounted some temporary mounts using mount command .Now the Problem is something has gone wrong and My machine is rebooting automatically after 3 min. please help me ...
0
votes
2answers
215 views

Renaming files from a list of filenames

I'm still very new to shell scripting so I'm sure this command is all kinds of wrong. I am trying to rename a folder of files to the names in a txt file. The precondition is that the filenames.txt and ...
0
votes
2answers
126 views

xargs + pv = messed up terminal

if i want a little progress indicator on my long-running operation i can use pipeviewer: ssh pc2 cat some.file | pv -nC reading | gzip --fast | pv zipping > some.file.gz this gives me a fun ...
0
votes
2answers
84 views

Broke most Linux computer functions with bad symlink

I'm using 64-bit Crunchbang, which is Debian-based. I was trying to fix a certain problem with libc6, and naively followed the advice of an askUbuntu answer (link) that made me run the following ...
0
votes
2answers
368 views

Is it possible for a root user to watch others' shell session secretly in live?

I see a similar question on stackoverflow: http://stackoverflow.com/questions/1353253/linux-terminal-how-to-capture-or-watch-other-terminal-session Someone recommends conspy. However, it seems that ...
0
votes
2answers
155 views

How to download all file with name emp* using curl from a FTP site

How can I get all files downloaded from a FTP site directory with file name like emp*. Please suggest.
0
votes
2answers
6k views

linux-headers-3.14-kali1-amd64 — Download + manual install

I need the linux-headers package above to install my Wifi card drivers. As I own a MacAir I cannot connect to the web without wifi drivers. How do I install the linux header package manually? As I ...
0
votes
2answers
29 views

Force linux to drop changes to disk after each reboot

Is it possible to configure a linux system such that the system remembers a certain state of disk image file, and you can also write some changes to the disk while you are on the system, but the next ...
0
votes
2answers
414 views

Getting errors trying to run shell script (Linux)

I'm trying to run the following script. I have run it before without issue, but now I encounter an error. #!/bin/bash # init function pause(){ read -p "$*" } echo & echo "(Website):" ...
0
votes
2answers
500 views

ddrescue attempt ends with drive disappearing from dev

I have been trying to recover data from a Seagate 7200.11 1.5TB drive (2 ext4 partitions_ for 3 days now, predominantly with ddrescue and testdisk, but because of some critical error on the disk ...
0
votes
2answers
253 views

Mounted HDD not having enough permissions from Apache/PHP

Piwigo gallery, on apache and php. The root system is a RAID 128GB. /var/www/html is on the root file system. Mounted the 320GB hdd to /var/www/html/320 using defaults, it's an ext4 fs. Put a ...
0
votes
2answers
1k views

Suse Enterprise Server 12 - Resize Root partition

I have a Suse Enterprise Server 12 installed on a VMware server, I want to be able to increase the root volume, ideal I would like to be able to set it to auto expand. below is the layout. df -h ...
0
votes
2answers
110 views

Empty /var/log after running cron bash script

I wrote a little bash script and all of a sudden my /var/log folder is completely empty except for the log I created for the bash script. This is the script I'm running every hour with cron: ...
0
votes
2answers
302 views

How can I ensure that my static ip address is read from /etc/network/interfaces rather than dhcp?

This is a follow up to the following question. I'm trying to set a static IP by changing /etc/network/interfaces to the following: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo ...
0
votes
2answers
64 views

What is the risk when editing crontab file without the “crontab -e” command?

I developed a script in which I add lines to the crontab file with echo command and I remove lines with sed command. I do not know the risk of that especially that I find in some web site that we ...
0
votes
2answers
85 views

How to enable/disable authentication without password when executing commands as superuser?

On a Fedora 19 system which I set up for somebody a while ago I noticed that no authentication is required when commands are executed as the superuser. So, for example, when running Yum Extender, ...
0
votes
2answers
152 views

SSHing thru an HTTP proxy

Typical scenario: I'm trying to SSH thru a corporate HTTP proxy to a remote machine using corkscrew, and I get: ssh_exchange_identification: Connection closed by remote host Obviously, there's a ...
0
votes
2answers
1k views

Configure Java 7 Firefox Plugin on 64-Bit Cent OS

I configured Java on my Cent OS 64-bit machine by running the following command yum install java-1.7.0-openjdk.x86_64 But I cannot find the "libnpjp2.so" file as mentioned here: ...
0
votes
2answers
348 views

Why my setting with NFS and setuid not working in Linux

I'm using Linux. On machine A I have such NFS setting in etc/exports: /home 10.0.129.130(rw,no_root_squash) I mount this directory on machine A on /home/nfs/ on machine B. And I've set setuid using ...