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

Apache2 Virtualhost takes me to root directory

I have a virtual host created under /etc/apache2/sites-available called attrave.com.conf Here is the code for that virtual host file (only relevant code attached): ServerName attrave.com ...
0
votes
0answers
7 views

smtps service not found/“warning: connect to transport private/smtps: No such file or directory”

I'm trying to access an SMTP smarthost example.com using TLS via port 465 by adding smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o ...
0
votes
0answers
13 views

Debian - Autoinstall Debian distribution via PXE

Do u know any method to autoinstall Debian via PXE? ive tryed something similar using SLPOS (Suse Linux Enterprice Point of Service). i want to load a Clean Debian Distribution from a PXE coz i want ...
0
votes
1answer
29 views

copy file to all subfolders and all subsubfolders

Copy a file into all subfolders and subsubfolders. I have a file say, a.txt I want to copy it to all subfolders and all the folders within those folders. I have tried creating a script to run this, ...
0
votes
0answers
25 views

Linux - how to force the operating system doesnt go into maintenance mode

Is there any way to prevent or force a Linux System doesnt go into into maintenance mode when there is a system problem?. Example: In this case was for file integrity. Another opcion is if exist any ...
0
votes
1answer
26 views

Store in server only changed files and delete them after synchronisation

I have two laptops (maybe one more on its way) running Ubuntu and I wish to keep certain directories synchronized. I've considered DropBox and I'm not happy about a couple of points: All my sensible ...
0
votes
1answer
22 views

Unable to make ODBC connection on Ubuntu 14.04

I usually access an ODBC connection through a CentOS server, and I'm trying to make the same connection locally on my Ubuntu Trusty laptop. So far as I can tell I've duplicated everything properly ...
1
vote
1answer
49 views

Map numpad to real number keys on linux

I want the numpad numbers to be exactly the same as the regular numbers, so if I press Shift+1 on the numpad I want ! to be printed. Is there an easy way to do that?
5
votes
3answers
6k views

How to create symbolic links to all files (class of files) in a directory?

I would like to create symbolic links (ln -s) to all files (or a class of files, e.g. ending with .bar) in a certain directory. Say I'm in the cwd and type ls ../source/*.bar gives me foo.bar ...
0
votes
1answer
36 views

wrong MC colors when launched via xterm -e mc

I use ini-customized color theme in Midnight Commander 4.8. [Colors] base_color=linux:normal=cyan,rgb002:input=white,cyan:inputunchanged=black,cyan:dhotnormal=red When I launch xterm and then ...
11
votes
6answers
3k views

How to find the uptime since last wake from standby

I want to know the uptime since the last wake from standby. The command uptime only shows the difference between current time minus the last startup time.
-3
votes
2answers
46 views

How to show the hidden partitions in Ubuntu 14.04 installation?

I have a computer with Windows 7 and I am trying to install Ubuntu 14.04 alongside Windows. I have a 320GB harddisk partitioned like this: DISKPART> list volum ::N volume::::Ltr::::::Nom::::: ...
3
votes
1answer
14k views

What does dd conv=sync,noerror do?

So what is the case when adding conv=sync,noerror makes a difference when backing up an entire hard disk onto an image file? Is conv=sync,noerror a requirement when doing forensic stuff? If so, why is ...
0
votes
0answers
22 views

Ubuntu 14.04.1 Trusty crashing / being unresponsive

Disclaimer: I am not an experienced linux user, and I am trying to diagnose a case where my Ubuntu goes away, and doesn't come back. The PC is a headless PC without keyboard and mouse plugged in, that ...
0
votes
0answers
16 views

How do I find which disk (volume) is failing?

I am using stock Apache Hadoop 1.1.1 and I can't get a datanode to start due to: 2015-04-23 09:12:48,138 INFO org.apache.hadoop.metrics2.impl.MetricsConfig: loaded properties from ...
1
vote
3answers
5k views

Recover partially download file auto deleted by Chrome

Where can I find partially completed download file (from chrome ) on my system as(chrome and chromium) it delete them in event of interruption (NET ISSUE). I need the file so that I complete download ...
2
votes
1answer
25 views

Gnome Terminal tab completion placing text in odd areas

Using tab completion in gnome-terminal appears to be placing text in odd areas, such as to the left (on top of my prompt) or above, sometimes. Here is an example of what happens when it places it over ...
4
votes
2answers
90 views

Rsync copying current directory with name

I want to copy current directory to my backup directory: I tried this command rsync -a . ~/backup/ but it just copies the current directory contents instead of creating new directory at the ...
1
vote
1answer
201 views

How to let gnome-terminal to use specific font to display punctuations in their full width forms? (·‘’“”)

I'd like to use SimSun(宋体) font to display interpunct/middle dot ·, single quotes (curly) ‘’, double quotes (curly) “” characters in their full width forms, because it's easy to distinguish them from ...
2
votes
1answer
38 views

UNIX, how to compare and transfer values between two text file

I have two text files with different number of columns in them and I want to compare values of a given column in file1.txt with values of a given column in file2.txt: if these values found in ...
0
votes
0answers
27 views

rootfs 100% full debian

I have a problem with full rootfs on Debian (on RPi). I noticed I can't start mysql server with error full partition. I tried looking for space hoggers with ncdu. It all appeared suddenly and I have ...
3
votes
3answers
4k views

VMware host-only networking Internet access

I am running a Ubuntu Linux VM using VMware Player on a Windows 7 host. I don't want to connect directly to the network or use NAT; I need host-only networking but also need Internet access. How can ...
1
vote
0answers
25 views

Monitor who's connecting to your wifi connection on Kali Linux [on hold]

I'm wondering if there's a software/tool which can manage the accesses to my wi-fi connection. I'm using the modem dashboard now, but it's slow and complex, as it's not direct as a software and I ...
1
vote
2answers
37 views

ping error two nic cards in linux pc

The problem I'm having is two NIC in my RHEL 6 server with different IP-addresses. PC1 eth0 - 10.10.0.1 eth1 - 192.168.1.1 The other computer is setup the same way. PC2 eth0 - 10.10.0.2 ...
1
vote
1answer
30 views

ssh and scp works but not WinSCP

I have a ubuntu server with 3 user accounts (root, user1, user2). user1 has access via WinSCP, scp and ssh. No problems here. Then I've created another user2 but with this user I can't access the ...
39
votes
9answers
118k views

Manually closing a port from commandline

I want to close an open port which is in listening mode between my client and server application. Is there any manual command line option in Linux to close a port ?? NOTE: I came to know that "only ...
2
votes
4answers
20k views

Cannot login to Kali Linux

I just created a Kali 1.0.6 live USB using a tool called "Mac Linux USB Loader" and everything seems fine up until the point where you are supposed to login. At the login screen I'm greeted with the ...
0
votes
1answer
17 views

Not able to create more than 7 partitions on the am335x(beaglebone black) based custom board

I am trying to partition eMMC of BBB(am335x) based custom board, I am using sfdisk to do that. I am using following command to do that, #Partition emmc sfdisk -D -H 255 -S 63 -C 467 /dev/mmcblk0 -uM ...
0
votes
3answers
2k views

Dual boot linux mint 14 partitioning

I have 2 primary partitions installed: 100MB system reserved (NTFS) and 230GB Windows (NTFS). Can I make a linux /home partition so that different distros can point at it and use it's files? And will ...
14
votes
3answers
55k views

How to globally modify the default PYTHONPATH (sys.path)?

On a Ubuntu (10.10) system, I have a Python package that installs itself into /usr/local/lib/python2.6/site-packages/. This isn't contained in the default path (sys.path). How do I add this directory ...
0
votes
0answers
14 views

Which PCL 6/PCL XL driver?

I'm trying to setup a print server via CUPS. I've been told that a generic PCL6/PCL XL driver will work fine, but in CUPS there are a million versions listed: Generic PCL 6/PCL XL LF Printer - ...
1
vote
0answers
24 views

Is it a bad idea to make a swap partition on a SSD?

Since it has limited amount of read/write cycles, it seems to be a bad choice but I have no solid reasoning on why or why not to use it other than that.
1
vote
2answers
41 views

ls with directory path shows files, but ls with file pattern does not?

Why is this happening? $ sudo ls /var/lib/postgresql/9.4/pg_log/ postgresql-2015-03-23_134626.log postgresql-2015-03-25_000000.log postgresql-2015-03-25_095920.log postgresql-2015-03-24_000000.log ...
0
votes
1answer
18 views

installing software repository error message

I am trying to install Team Viewer locally from USB drive. I downloaded it from the Web (teamviewer_linux.rpm). I am getting following error message: [Errno 14] Could not open/read ...
0
votes
0answers
11 views

I am having trouble getting yum update to run cleanly in Centos 7. It seems I have a conflict with the Network Manager that I cannot resolve

I am having trouble getting yum update to run cleanly in Centos 7. It seems I have a conflict with the Network Manager that I cannot resolve. CL output shows: Error: Package: ...
2
votes
0answers
19 views

Why does Linux(and perhaps Unix) set the default chmod to 644? [on hold]

The 6 for the owner makes sense, and 4 for groups makes sense. But why can everyone read? It personally seems like an opening for potential misconfiguration.
1
vote
1answer
20 views

Can't add default route - RTNETLINK answers: Network is unreachable

On an Ubuntu 14.04 server (3.16.0-30) I'm trying to add a default route and getting error as follows: ip route add default via 172.16.111.99 dev bond0.11 RTNETLINK answers: Network is unreachable ...
0
votes
0answers
11 views

Change Windows to different EFI partition

So I recently had to reinstall Windows on my dual-boot system after an unsuccessful change to different SSD for my Windows install. I have OpenSUSE on sda and Windows on sdd. My sda drive has a 156 MB ...
1
vote
1answer
46 views

How to set up flask server startup?

I have a web-server that is based on flask+tornado combination. It works inside of a virtual environment (set up with python virtualenv). I want the server to launch automatically on start up, from a ...
1
vote
2answers
766 views

Remote Desktop (linux rdesktop) to Windows 7 Timing Out

I have a remote desktop session to a Windows 7 Workstation that keeps timing out/disconnecting after a minute or two of idiling. Also, sometimes it disconnects while I am in the middle of using it. I ...
0
votes
1answer
30 views

in linux using bash how can I split a text file based on percentage

I have a problem where I need to split files based on some arbitrary percentage. If I have 100 lines I need to have the file split by a 70 % / 30 %. The split program in linux does not give me the ...
1
vote
1answer
20 views

Group member editing to file *automatically* changes ownership, group, and permissions

I have a directory which I'm trying to set up such that members of a group all have rwx privileges. Here is a subset of the directory and its permissions: -rwxr-xr-x 1 myusrnm grpnm 21638 ...
0
votes
0answers
17 views

Copying directory multiple times with 1 command

How can I copy a directory with the name "1" and create directories from 2-150 with the same contents without having to do this individually?
0
votes
0answers
5 views

What options can be passed to pam_mysql.so in /etc/pam.d/ config files?

There's no manpage for libpam (on Ubuntu 14.10) and man pam refers to something unrelated to PAM. Search engine results only refer to example configuration files, bugs (about escaping) and postfix ...
0
votes
1answer
16 views

Why I can boot various kerel versions but not XEN kernel in grub2

I have successfully compiled XEN usigng following steps: wget http://bits.xensource.com/oss-xen/release/4.4.1/xen-4.4.1.tar.gz tar xzvf xen-4.4.1.tar.gz cd ./xen-4.4.1 export ...
5
votes
3answers
11k views

Automount sshfs using fstab without mount -a

Please consider following fstab line (line breaks for readability): sshfs#user@192.168.1.123:/home/user/ /home/user/Server/ fuse ...
1
vote
0answers
8 views

tcpdump - rotate capture files using -G -W and -C

I'm looking to be able to capture a rotating tcpdump output which captures 30-minutes worth of data, into 48 files, cyclically. The man implies this should be possible, but my testing doesn't seem to ...
0
votes
1answer
45 views

ssh key exists on remote, but still prompts for password?

Why is this happening? $ ssh-copy-id me@server /usr/local/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/local/bin/ssh-copy-id: ...
0
votes
1answer
2k views

Why is there Permission denied in .conf files in Linux Kali Operating system?

Why is there Permission denied in .conf files in Linux Kali Operating system? to enabled eth0 in linux kali. because no wired connected shown. i tried linux command as bellow ...
4
votes
3answers
5k views

How to interpret the output of netstat -o / netstat --timers

netstat -o includes some timer information in the output but I haven't found an explanation of the output in the Timer column anywhere. Can anybody explain this or point to an explanation? This ist ...