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
0answers
3 views

Modifying names of files BEFORE wget downloads them (not renaming local versions)

I have a website filesystem wherein each file has two copies, a summary copy and a large copy, with different names. For example, a large copy file might be pages/info/GK2grkG23r_lg.html while in the ...
0
votes
0answers
7 views

expect + how to verify if dir exists and if not how to create it

I write expect script that login to remote machine and run there some scripts But I need also to verify the following Verify if directory /var/cti/adm/APP exists If APP not exists under adm ...
0
votes
1answer
13 views

gedit when used in terminal to write c-program

We use gedit from terminal to write a c-program. After the compilation of the program, gedit seems to hang. We will have to force quit it after each compilation: eg:nayanam@Nayanam-desktop:~$ gcc ...
0
votes
0answers
9 views

How to inject drivers to windows image from Linux?

We have a OS deployment system based on Linux and we install Windows 7 with this system. The system mount a hard disk and then run ntfsclone to store the .img file containing the windows OS. But ...
0
votes
0answers
9 views

Cannot login in linux mint

I made some changes in var/www folder and when I restart my laptop, before login, the message below appears: "Server Authorization directory (daemon/ServAuthDir) is set to /var/lib/mdm but this does ...
0
votes
1answer
14 views

using git pull after ssh in script

I use public and private key to ssh to a remote server without password. After that, I need to perform "git pull" command. But I don't know how to pass the password into it. Trying the following ...
0
votes
0answers
8 views

Setting up a small SSD

I've decided to improve my Swiss-Army knife laptop by buying a mSATA SSD to give me the flexibility to access multiple operating systems. My question is, do the following seem reasonable? Windows 7 ...
0
votes
0answers
7 views

Toshiba 2TB USB External HDD disconnects during coping of files on Debian/testing

My new Toshiba 2TB USB3 external hdd is repeatedly disconnecting during transfer of files on Debian/testing running 3.14-2 Kernel. The partition I'm transferring to is NTFS as I use it for shared ...
0
votes
1answer
14 views

Script for finding new files in a directory, and execute a command

I have a directory with several, or even hundreds of xml files in it. I want to execute a script when a new file is found. the only MAJOR problem is I can't use inotifywait or something like that. Due ...
0
votes
0answers
13 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
0answers
7 views

Make ejectable fake block device in linux

I have a testing setup using loop devices to stand in for some external devices (these are basically a replacement for tape storage - removable disk cartridges formatted as NTFS). This works pretty ...
0
votes
2answers
24 views

How to ssh as another user

The remote server only allows account X to ssh to. Now, from my computer, I want to ssh to the remote server as account X without password. I generate the private key on my local computer and share ...
0
votes
2answers
18 views

linux: how to show permission of files (like ls -l) does on files returned by the find command

I am doing a find command to show me the files of a specific extension, like: find $directory -type f -name "*.vm" however I would like to be able to see the file permissions as well (like ls -l ...
0
votes
1answer
17 views

Windows 8.1 bootloader recovery

I have installed Linux Mint on notebook with Windows 8.1. I didn't install grub on /dev/sda and installed it on /dev/sda5. After booting to Windows I tried to add Linux in Windows bootmenu using ...
1
vote
0answers
16 views

Self Encrypting Drive (SED), partition modification?

I have been given a computer with a Win 7 on it and a Seagate ST500LT015 SED drive. I love the idea of have hardware based encryption eeven if having a TPM that does "whatever it wants" is kinda ...
0
votes
1answer
15 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?
1
vote
1answer
53 views

“date” command in bash, the results are displayed in Japanese language

I have the same problem on two of my Linux boxes (xubuntu, debian). When I use the "date" command in bash, the results are displayed in Japanese language. 2014年 9月 2日 火曜日 02:48:48 UTC I am located ...
-1
votes
0answers
14 views

Load CentOS in RAM memory

I know there are many distros out there that boot linux into RAM memory, one such is Puppy Linux. However, I have CentOS 6 and I don't want to download puppy Linux or any other distros. My goal is to ...
0
votes
0answers
3 views

Samba 4 share times out

I have a Fedora 20 x64 box serving a couple of SMB shares via the Samba 4 server. The problem is that any hosts that attempt to connect to it (even the server itself) always time out (server not ...
0
votes
0answers
3 views

Troubles with Xdmx, getting dmxBECreateColormap: No visual found

I'm trying to use Xdmx to create a display over a couple of thin clients. I'm using the latest sysresccd to boot the machines. I then either start the X server with -nc for no auth, or ssh with X ...
0
votes
0answers
7 views

Web-based Email Applications under Linux Operating System [on hold]

can someone inform me of good web-based email applications under linux? im currently using roundcube and i do not like it. It can be php based as well. Thanks.
1
vote
0answers
16 views

Unable to do fresh Linux install from CD

I am using Windows 8 OS on my laptop and I had installed CentOS linux earlier. The BIOS is set for UEFI mode, thats why I had to switch it to legacy mode to support boot from CD. Anyways, I managed ...
0
votes
0answers
8 views

open virtual box from live cd error

I am running linux mint in my laptop. I made some modifications and I couldn't login in linux enviroment. I boot in live cd (linux mint) and I recover my important files from desktop. I had some ...
0
votes
0answers
10 views

USB peripherals not working on Windows after power cut. (Working on Linux)

Title basically explains it, really bizarre full use of all my peripherals on Linux and on the GRUB menu where I select OS, but when I boot into Windows it's like the devices have no power. I have a ...
0
votes
1answer
17 views

What is the actual content of a non-booted hard drive

I am trying to modify some Windows and Linux (obviously I'm talking of several computers, not only one) files. I know their path, but their location is just a fake location which is actually ...
0
votes
0answers
7 views

Assistance w/ Dual Booting a Alienware 17 with Windows7 & Kali Linux

I've been redirected here to ask for assistance towards my question. QUESTION: I've found several discussions on dual booting an Alienware17 but they don't relate to my particular setup. Therefore, ...
0
votes
1answer
6 views

Ubuntu 12.04 + supervisord service - not starting with the system

I installed supervisord on some of virtual machines that I manage and I also added init script for supervisor from here: https://github.com/Supervisor/initscripts/blob/master/ubuntu Here is part of ...
-3
votes
0answers
18 views

want a shell scripting that will copy the files from different paths in linux [on hold]

I want write a shell script to copy the files from different paths in to one folder and the file names must be as the path name.
0
votes
0answers
5 views

extlinux/syslinux, chain booting second disk

What's the correct way to chain boot Linux (Ubuntu) on second HD using extlinux/syslinux? Will the fact that Linux will randomize HD order jeopardize such chain booting?
1
vote
0answers
5 views

Minimum requirement to boot Ubuntu from GPT partition

My third disk was partitioned as GPT format, and was originally intended only to be used as a storage device, but now I need to boot from it as well. I did put a 200M ext2 boot partition as the first ...
0
votes
0answers
39 views

Synergy: Shift keys not working on Raspberry Pi Client

Recently I installed Synergy on my desktop PC (running Windows 8.1) and my Raspberry Pi (running Raspbian) so the PC's keyboard and mouse is shared with the Raspberry Pi. The Windows PC is a Synergy ...
0
votes
1answer
12 views

Preserve ability to set FACL

Using setfacl on linux, seems like only owner (and root) can modify the ACL via setfacl, is that right? If there is a directory owned by joe and joe grants rwx to marry, she can read any file, ...
0
votes
2answers
18 views

How to see what data is transferred via my router [on hold]

I want to be able to see which files is my router downloading and uploading. What request is it sending. There should be some kinda command to monitor your router that way. Or some kinda program i ...
0
votes
1answer
7 views

How to delete partition device from loop device?

I mount disk image via loop device (losetup -f image.img). It contains partition table and I force kernel to read it: partprobe /dev/loop1. I mount /dev/loop1p1, fix stuff I want to fix, umount back ...
0
votes
2answers
34 views

Why does `rm -rf`` silently fail?

[EDIT] Please don't waste your time reading my question below. It turns out my colleague is an idiot.. :) On my server I'm trying to remove a folder and all its subfolders with the usual rm -rf ...
0
votes
2answers
25 views

what does this sort command mean? cat temp.txt | sort -t$'\t'

In the man page of sort, -t is used to specify a field-separator. However, I don't know what the -t$'\t' form means?
0
votes
1answer
28 views

Sharing virtualmachines between windows and linux hosts. What filesystem do I need?

In my current setup I'm using both Windows and Linux hosts, I've a bunch of VM in a partition and I need to use and access them from either hosts. I've tested a couple of filesystems with very poor ...
0
votes
1answer
20 views

How do I mirror sub directory of a website with wget

I need to mirror the following URL: https://web.archive.org/web/20100515230709/http://markowitzbocadentist.com/ But I need to mirror only files from this date '20100515230709' i have tried many wget ...
0
votes
1answer
20 views

modify PATH variable outside terminal

I want to add to my PATH variable a folder containing personal scripts (for example ~/myTools). As I've read on forums and tutorials, if I put the corresponding commands (add to PATH and export) to ...
0
votes
0answers
8 views

System clock seems fine, logs timestamp however are not

Managing remotely my VPS, I wanted the logs and everything written in my timezone so I could read easily when something happened. So I changed the timezone and now "date" command and such returns my ...
0
votes
0answers
14 views

How can I change the colors of fbterm using escape sequences?

From fbterm(1) we can read: FbTerm supports xterm's 256 color mode extension (...) But xterm's 256 color escape sequences conflict with the linux sequences implemented by FbTerm, so private escape ...
1
vote
0answers
22 views

Circumvent limitations of CIFS/Samba

My situation: I have a NAS which serves shares via CIFS/Samba. Internally, it uses an ext3 filesystem, but this is not relevant (I think). I have some Linux computers (using ext4 filesystems) which I ...
0
votes
1answer
12 views

How to determine if a screen is running jobs without attaching to it?

I wrote a zsh script that launches many screen sessions and runs a different command in each of them. When the script is executed there are 72 screens in total, so checking if a job is finished or not ...
1
vote
2answers
27 views

Compare two files and output the differences

I am aware of diff and using loops but I just cant seem to really get what I need with diff. I'm basically looking to compare two files (file2.txt and file2.txt) and just get the output of what is ...
0
votes
0answers
10 views

Grub Bypassed (Dual Boot, Dual Disk System)

My system has 2 disks. (/dev/sda and /dev/sdb) I am dual-booting Linux Mint 13 and Windows 7. Windows 7 is on /dev/sda1 Linux Mint's / is on /dev/sda6 Linux Mint's /boot is on /dev/sda5 I just ...
0
votes
2answers
31 views

How to check Windows version installed on Hard Drive?

How do I check which version of Windows is installed on an old hard drive, from a Linux command line?
0
votes
0answers
15 views

Linux device connected to 2 networks once as a client and once as a host?

Setup now I have a Raspberry Pi wired via its GPIO connections to some outdoor security gates the gates can be controlled by the PI via its HTTP user interface. The PI is heedless and administrated ...
0
votes
1answer
19 views

Computer hard freezes randomly - possible hardware issue

Symptoms: When the computer is running, it randomly freezes and requires an hard reset. This happens both when using intensive applications (games, compiling) or just browsing the web. The freezing ...
0
votes
0answers
15 views

How do I safely change primary group in OSX Mavericks?

I'm trying to implement consistent UIDs and a GID for OSX and Linux, so that I can easily share user data between the systems. I picked a UID of 1001, and a GID of 1001 to get started, as these appear ...
0
votes
2answers
13 views

Share configuration files between two users

I have a program which will be used by two users. It saves it data in $HOME. Is it possible to share the config files (or only one of them - the database) between two users? My idea was a symlink. ...