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

Troubleshooting issues on forums, how safe is it? [closed]

I was wondering if you could tell me how dangerous it might get to post (on some major Linux forums) outputs of commands like lshw, lsusb, lspci or dmesg publicly in order to solve some hardware ...
0
votes
5answers
6k views

How to create portable Linux system on a USB Drive?

I want to create a portable Linux system which I can keep on my 8GB USB drive and take with with me anywhere I go, basically I want to have all my programs, settings and files stored on the USB so ...
0
votes
2answers
330 views

Script for CRON (FTP get files EVERY MINUTE)

I want to create a script that must run with a CRON every minute (Q: Is it wise to run CRON FTP/wget every minute?) compares local directory with remote directory (Q: do I use FTP or wget and how ...
6
votes
5answers
5k views

Clearing terminal

I would like to issue a command from a bash script to clear the terminal it is running from: I don't want to clear the bash history (history -c) I don't want to issue the clear command (which ...
0
votes
1answer
440 views

Does NFS copy files to NFS server, or does it share files locally?

Bit of an outline: basically I'm running a Raspberry Pi to save videos from a webcam, but naturally the Pi doesn't have too much space, so I've set up a NFS server. Does the directory on the Raspberry ...
0
votes
1answer
189 views

Linux: access mounted volumes as normal folders/files

I have a closed source software (client) running on a Linux machine (Debian) to deliver files to a backup machine. This works fine except this client software does not access the mounted volumes ...
-1
votes
1answer
786 views

Restoring MBR and GRUB bootloader

I have accidentally broken my Fedora 19 boot when installing Windows 7. Fedora is a separate HDD drive, but somehow it now has Win bootloader and no GRUB. How can I restore GRUB and fix Linux boot? ...
6
votes
1answer
423 views

What is the purpose of the magic numbers in Linux reboot?

On the Wikipedia page for Linus Torvalds, it is stated: The Linux kernel's reboot system call accepts their dates of birth (written in hexadecimal) as magic values. The documentation for the ...
0
votes
1answer
89 views

How to copy directory from remote server

I came across following instruction to copy a directory to my local machine. copy the gems from styx server from "‪location/to/the/directory" to your local directory I know rsync and scp can do the ...
3
votes
1answer
446 views

Linux Server: online resize root partition

I have an Ubuntu Server hosted at Aruba Cloud and I want to resize the root partition... The current partition scheme is (roughly): sda1 /boot 300MB sda2 swap ? MB sda3 / 10GB <FREE ...
0
votes
0answers
104 views

How do I achieve software raid 4 array with different size disks with the largest disk being the parity?

For the last year I've been using a piece of software named unRAID built on top of slackware to host my NAS. I feel like I want to move on and evolve and build my own NAS setup on top of another ...
2
votes
1answer
552 views

Grab single image from website on a regular schedule

I want to grab the same image (from a website) every x minutes to eventually make a timelapse video. My issues are: setting up the schedule to grab the image and saving the image with the ...
0
votes
1answer
1k views

How to add yourself to sudoers list?

I was trying to install a package using the command: sudo apt-get install ruby-rvm But I'm prompted with nish is not in the sudoers file. This incident will be reported. I tried to add myself ...
4
votes
2answers
2k views

How to uninstall Ubuntu without removing or uninstalling Windows?

I am using Ubuntu 10.04 and Windows 7 on the same computer. I want to uninstall Ubuntu and just use Windows 7. I'm afraid if I uninstall Ubuntu, it will remove Windows 7 as well. How can I ...
15
votes
7answers
15k views

How to kill a process started with a different user without being root or sudoer?

in a Linux environment, I need to kill a process which has been started by user2 if I am user1 without being sudoers or using root. Do you know if there is a way of setting that when launching the ...
0
votes
2answers
49 views

Firefox on Linux : New Tabs show last visited web sites instead of “BLANK”

I just opened a new tab in firefox. it is not blank it is showing last visited web sites and etc. how can i stop this ? did firefox implement this new thing ? i just re-installed centos and ...
1
vote
3answers
186 views

Linux - Protection from ourselves (Root)

I love Linux and everything she stands for; however, unfortunately I grew up with Windows. Thusly so I have learned very bad practices (such as NT Authority will protect me). I have several Linux ...
1
vote
1answer
632 views

Disk usage of a symbolic link

If I check the file size of a symbolic link by stat(), then it reports a nonzero file size equal to the link path string. But when I use du on the link, it reports a size of zero blocks. Is there a ...
2
votes
1answer
1k views

How to compress only files without their parent directory?

I'm trying to compress files in a directory. Let's assume the directory is "test". when I execute the following command and unzip the file, I get "test" folder and files inside the test folder. zip ...
4
votes
6answers
4k views

Graphical FTP client for Ubuntu

I want a GUI-ish (and not command-line only) FTP client for Ubuntu. Any good you can recommed?
1
vote
2answers
1k views

What is a good GUI FTP client for Linux with synchronization features?

I would like to find an FTP client for linux (preferably GTK, but if it's for KDE and does what I need, then I'm fine with it) with very good synchronization features. What I want to use this for for ...
0
votes
4answers
45 views

Secured Directory creation in Linux

How to create a directory with such a permission using a normal user in linux. And that directory should not be deleted using root user also ??? Any chance of creating it, if yes pls help me to do ...
1
vote
1answer
1k views

How to enable auto-screen update on monitor plug-in/out on Lubuntu (and how is it acheived in Ubuntu)?

I have a laptop which I want to have connected to an external monitor 99% of the time. The other 1% I would use its screen. I want the laptop to be closed (usually) to save space, and to use external ...
1
vote
1answer
131 views

Why can’t I enter a directory when I have the right to?

My distribution is the latest Gentoo. I have a directory called music which belongs to qdii:commun and which octal access rights are "2070", that is: all permissions are granted to the group ...
0
votes
0answers
445 views

Trouble Adding ROMs in GroovyArcade

I don't know if any of you have experience with GroovyArcade, but hopefully someone's heard of it. It's an all-inclusive Linux live CD designed for emulating old game systems and arcades, based on ...
0
votes
1answer
311 views

Windows 8 BIOS can't read DVD drive, want to switch to Linux

I have a laptop, Asus X401U, that came with Windows 8. I've been trying to switch to Linux via DVD, read online tips about how to get to the BIOS, and got stumped after UEFI (my reference is this ...
1
vote
1answer
120 views

Having trouble with what should be a simple bash script

I'm having a problem with one segment of the following script. Each echo->grep->was written in to help me figure out where the script was failing to perform as I expect it to. It is designed to be ...
1
vote
1answer
318 views

Qt creator throws permission error on project (files owned by me) within directory of root

I have recently changed to arch linux from ubuntu and copied my qt project to my home directory, Whenever I open the project with qt creator, it gives me permission error and says that it cannot ...
0
votes
1answer
10k views

How can I completely remove PHPStorm, and all associated files on Ubuntu 13.04?

After removing the Phpstorm directory from Ubuntu, future installation attempts do not actually install any more - no menu item appears under Applications in the top left, and running the "globally ...
2
votes
1answer
117 views

Perl program won't run on arm6, but it runs on my 64bit computer

I'm trying to run [pisg][1] on my raspberry pi, which is running archlinux arm, and every time I try to run it, I get: Root ~>pisg -cf pisg.conf Warning: Couldn't parse -cfg option Could ...
1
vote
3answers
1k views

Why cannot `ftp` program read a file in /tmp directory?

While making an automated ftp upload script, I noticed a very strange behaviour of ftp program: if I want to send a file which belongs to /tmp directory, ftp will always fail and give an error ...
1
vote
0answers
212 views

Stick USB modem to specific /dev/ link

I have up to 4 USB GSM modems from different providers. When I plug it,udev/usbmodeswitch makes a symlink to each device at /dev/gsmmodem, /dev/gsmmodem2 and so on. I need to make the symlink name ...
1
vote
2answers
244 views

Data permission: what if adding only write permision to a file?

What if a user got only write access to a file? Is he able to read the file or only to "write"? However, if you can write, you can also read, so this doesn't make sense? The question is for Unix-like ...
1
vote
2answers
63 views

Need some help on creating sym links

Using Linux Centos 6 I have 16 years of data sorted in directories by year and then day (1997/001, 1997/002...). Each 'day' directory has 24 files, 1 for each hour, with hour name in each file (i.e. ...
0
votes
0answers
123 views

Virtual machine host software

I would like to create a virtual machine running Linux and a couple of network services. This virtual machine should be on a USB stick and able to run on both Windows and Linux hosts, with as little ...
2
votes
2answers
614 views

Manually trigger automount in debian based linux

I have formatted a flash drive and thus needed to unmount the device. Is there a way to trigger automount via command line after formatting was finished ? (I know I can just reinsert a USB flash ...
5
votes
4answers
2k views

Foobar2000 on linux

Does anyone successfully run Foobar2000 on linux ( under Wine ) ? Are there any alternatives with a similar philosophy, and maybe even with the ability to use the Foobar2000 plugins ?
0
votes
0answers
108 views

Ask SSH passphrase only once for “chained SSH”

I have a master running Ubuntu and a Slave running Mac OSX 10.6.8. I set up the SSH keys. When connecting to the GIT repo directly from Slave, everything works well and I am not asked to enter a ...
2
votes
2answers
1k views

Only root can resolve DNS hostnames on Debian

I've set up a Debian 7 image on my ODROID U2 a few days ago and apparently I can only resolve DNS hostnames from a root login (su, sudo). From a normal user, I can ping IP addresses and names defined ...
0
votes
1answer
945 views

How to partition a USB drive into 2 sections for Centos ISO files

I actually once did this but forgot how it's done and also did not take notes. i think i need to create 2 partitions. one needs to be 500 mb and the rest needs to me whatever is left in the USB ...
3
votes
2answers
474 views

Force certain applications to use VPN

For a few days now, I've been trying to force only certain applications to use a VPN. I've thus far found it pretty simple to either force all applications to use it, or no applications to use it. ...
0
votes
1answer
2k views

Cannot open port 8080

I'm running a VmWare with an application under JBoss starting up on port 8080. I'm able to access the app from outside the VM if the iptables are off. However, I must turn on iptables due to some ...
0
votes
0answers
192 views

Recursively download a package's dependencies with yum?

Is there a way I can use yum to check all of a package's dependencies and grab those first, then check their dependencies...so I can get the package I want in one swoop?
1
vote
0answers
104 views

Notebook running hot with ArchBang

This is my first installation of Arch, so I may have forgotten something. After booting it, the laptop quickly starts to became hot. I've been reading documentation on Arch wiki, but didn't found ...
0
votes
1answer
77 views

Ophcrack: how to back up from drive C(sda2) to drive D(sda3) of a windows 7 machine not booting?

My laptop cant boot. So im about to reformat it, I backed up my documents using live CD Ophcrack, to drive D (sda3). At first I can copy paste my files. But not until im about done, at 75% a weird ...
0
votes
0answers
101 views

LINUX: How to make 'htop' sort? F6 works, but won't let me select anything

I'm using htop in Linux, and I'm trying to set it to sort by Time+ instead of CPU%. So I press "F6" to open the 'sort by' menu, but it won't let me select anything. The arrow keys don't work in the ...
6
votes
3answers
2k views

setting monospaced font on Emacs?

I used to use liberation mono font on emacs (on X11) on an Ubuntu system using the following command and it worked great: (custom-set-faces '(default ((t (:inherit nil :stipple nil :background ...
0
votes
1answer
229 views

VBScript Carriage Returns

I write the following VB script in order to run commands from WIN XP on Linux machine and redirect the output command to out.txt file ( under C:\ ) My VB script I print the /etc/hosts file from Linux ...
3
votes
2answers
6k views

Is it possible to use Sky Drive with linux?

I'm a long-time Dropbox user, and I'd like to experiment with Sky Drive. I have two Windows 8 computers and one Ubuntu computer that I use on a regular basis. If I can't use Sky Drive on all of them, ...
2
votes
2answers
394 views

Ubuntu LAMP server install issue

I've installed Ubuntu server 10.10 on a virtual machine using VirtualBox (I'm running Windows 7 64-bit). I have been following these 2 guides in order to set the system up for web development: Ref ...