A family of Unix-like 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
3answers
55 views

Special file that keeps only the last n lines

Is there a way to create special files under Linux that would keep only, say the 100 last written lines? I have a process filling a log file, and I'd like to regularly parse its 100 last lines. I ...
0
votes
3answers
137 views

What SATA version do I have?

I wonder what SATA version my laptop uses as I intend to install an SSD and want to choose the most suitable TRIM options in (probably Debian) Linux. The information presented by smartctl is: Model ...
0
votes
3answers
134 views

Ubuntu - OK to raid0 and raid1 on same two drives?

I'm building a household Ubuntu 14.04 server and just installed two 3TB drives for the files and media. The box (HP DC7900 SFF) uses Intel Matrix RAID which, according to wikipedia is neither hardware ...
0
votes
3answers
10k views

Autostart programs/scripts in Debian 8 Jessie

I have a scipt (.sh) for screen rotation of my thinkpad on linux. I have now installed Debian 8 Jessie and the "Startup Applications" is no longer there, how can I make it to startup on boot? or user ...
0
votes
3answers
188 views

How to boot Linux on a Mac with USB?

Although this question is even asked here before, the replies are outdated. My Mac HD failed, an the machine does not boot anymore, but I absolutely need to recover the data in it. So I thought of ...
0
votes
3answers
70 views

Is there anyway to produce realistic load(cpu,memory and disk all together) on a linux system?

I am using Ubuntu 12.04 and I want to stress test my system but most of benchmarks are specific in nature. Either they are benchmarking Disk or CPU or Memory usage etc. But is there anything which can ...
0
votes
3answers
52 views

Parameter substitution in sh -c

I have a large number of log files, the idea is to group them by date/month and then pack into archives. Here's my script: find /c/this/path/ -type f -name "$file_pattern" | xargs -I fn basename fn ...
0
votes
3answers
121 views

How can I give permanent admin access to the Linux program such as Aptik?

I’m using Linux Mint x64 with KDE and I can run the app Aptik fine from the terminal as sudo Aptik followed by its parameters. No problem. But I want to be able to run it from its GUI. The program ...
0
votes
3answers
3k views

Unable to get Samba server to work in Linux Mint 17.1

There are two folders AFolder and .AFolder which I want to share through a Samba server. I am not able to get it to work. shivanand@Pattanshetti-home /etc/samba $ cat smb.conf [global] server string ...
0
votes
3answers
713 views

How to run remote ssh command with multiple commands using quotes?

I have tried many combinations, but none of those have worked, and now my ideas have run out. So my intension is to get time from scheduled at-job, and make another AT-job half an hour before it. And ...
0
votes
3answers
50 views

text file — search via regex, bold the results in order to physically print out

i can't think off the top of my head an app which will allow me to do this. i have a document with hundreds of lines, i want to search via a regular expression and either bold or italicise the hits. ...
0
votes
3answers
45 views

USB Thumb Drive partioned oddly

Somehow my 32gb Lexar thumb drive got partioned very strangely, here is the output of lsblk: sdb 8:16 1 29.8G 0 disk ├─sdb1 8:17 1 44M 0 part /media/removable/LEXAR ...
0
votes
3answers
7k 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
3answers
96 views

Computer is slower on faster network

I have a great and fast laptop, while using my University's wireless Internet connection. Once I come home and plug in the LAN connection (which has much better download / upload speeds than the ...
0
votes
3answers
119 views

Check which string occurs first in a growing file

I'm running a remote executable which produces a logfile. I want to write a script to check whether the executable is run successfully or encounters an error. The way I can do this is by looking at ...
0
votes
3answers
2k views

Uninstall Linux Mint without deleting partition?

I've got a dual-boot system using Windows 7 and Linux Mint 13. When I first installed Mint using the regular Mint installer, the installer did not give me the option of partitioning my drive, ...
0
votes
3answers
108 views

Is there a Linux tool to measure simple stats of memory and processor usage for a program at runtime?

I am aware of for example the GNU profiler gprof, but I am thinking of something that can measure it on any program in a more black-box fashion where I do not have access to compiling the program ...
0
votes
3answers
360 views

Automounting External USB 3.0 HDD with truecrypt on linux

Is it possible to mount my external HDD usb device which is encrypted with truecrypt on plug in? I use it only on Linux.
0
votes
3answers
163 views

Grep for block surrounding an error message

I want to grep for the block of logs around a particular error message. Say I know my log looks like this: [----] I, [2014-04-10T19:12:36.294512 #1910:e93004] INFO -- : Started GET "/ems_infra/new" ...
0
votes
3answers
272 views

Running BASH Script on a Remote Windows Machine from Linux Machine

I am planning to run a BASH script on a remote Windows system from my local Linux machine. For this purpose, I will have to login to Windows machine from the local one and then execute the BASH ...
0
votes
3answers
89 views

Linux raid questions: How to boot if one drive fails?

I am setting up a linux server with two drives in an mdadm created raid 1. All the online help I fine says to create your partitions and then create an md0 raid volume using something like sda1 and ...
0
votes
3answers
61 views

why my / partition showing full?

my / partition is showing 100% full. i have cheked that my home dir is showing 386GB free. can any one show me how to free the / partition. below is my current partitions [root@mainserver ~]# df -h ...
0
votes
3answers
445 views

Determinte Switch IP/Linux

i'm trying to determine the ip of the network switch several linux boxes are plugged into. Background: i need to know in which physical port they're plugged in, so the machines automatically detect ...
0
votes
3answers
816 views

Watch a filesystem and rsync changes in a cross-platform way with minimal dependencies

I'd like to start a long-running Ruby or Python script, and have the script watch a local directory for changes to files and new files. Periodically, the script will trigger a one-way rsync to a ...
0
votes
3answers
640 views

Show a default page after connecting to WIFI LAN

I have the following setup at home: |--------------------| INTERNET ---- | GATEWAY COMPUTER | ----- WIRELESS ROUTER )))))) CLIENT 10.10.0.2 ...
0
votes
3answers
1k views

PC can't boot even from a live USB - probably corrupted bootloader or MBR

While getting rid of dual-booted Linux I tried recovering Windows 7's bootloader with EasyBCD. (one-click process described in this video) However, something went wrong and now GRUB is gone as it ...
0
votes
3answers
283 views

Is it possible to boot up the system without GPU and use it as server?

I have a laptop and it has black screen , i tried BIOS flashing with usb, tried to fix the GPU but nothing, It start with just black screen, no BOOT is initialized at all since the keyboard doesn't ...
0
votes
3answers
915 views

Unable to configure wifi on debian 6

I have installed Debian on my Toshiba satellite laptop. I'm having Net-gear WiFi router with me. Normally in Cent OS I can see after booting there will be gnome network manager. But there is no gnome ...
0
votes
3answers
246 views

Restoring the exact state of a linux install to a different laptop with different sized drives and other hardware

I have a computer running LInux that has already been used and settled into, with packages installed, browser profiles, etc, etc. The drive is 60gb, and it has a swap partition and an ext4 root ...
0
votes
3answers
63 views

Matching a sequence of symbols in bash

I would like to list all Fortran 90 files in bash without files ending in _tst.f90. My best try so far is ls -l ../src/*[!_tst].f90 According to Bash reference on pattern matching [!_tst] takes ...
0
votes
3answers
386 views

Using ext4 hard drive on Windows XP Pro machine?

Have an old laptop with Windows XP Pro and a new one with Linux Mint 13 LTS. I want to transfer my personal files from the old machine to the new one. Firstly I thought using crossover cable but I ...
0
votes
3answers
864 views

Old Dell Dimension 8200 running windows XP

Hi everyone I am running Windows XP on an old Dell Dimension 8200 and I made a bootable version of Ubuntu 12.04.2 on a flash drive however when i'm in the bios there is no option to boot from usb. ...
0
votes
3answers
103 views

How to use sed print the required content from each line?

The original file format: Nov 12 19:56:52 libra kernel: [ 1353.27355] WarningIN=em0 OUT=eth0 MAC=c8:1b:3c:fd:5D:e9:90:a9:8F:43:83:E3:15:0e SRC=222.171.89.16 DST=49.137.111.136 LEN=222 TOS=0x8C ...
0
votes
3answers
193 views

Listing files, including archive contents

Is there some method to find, from the shell, all files matching a file pattern including those inside archives (specifically: zip archives)? The simulation package "VASP" produces files called ...
0
votes
3answers
865 views

How do I remotely execute scripts on multiple servers, mix output

Hi I'm looking for a piece of software or some sort of technique that would enable me to do following in one terminal window: Take as input a list of ssh-enabled machines with login, password and ...
0
votes
3answers
89 views

Connecting ssh from ubuntu

I want to connect to ssh from ubuntu terminal but I don't know how. I have searched it on google but I don't understand. I have an ip adress, username and password. If someone can explain to me how ...
0
votes
3answers
1k views

install gnome desktop in kubuntu

I am trying to install gnome desktop from kubuntu. So I did this : sudo apt-get install ubuntu-desktop It ran well but now I am getting this error: sudeep@sudeep:~$ sudo apt-get install ...
0
votes
3answers
515 views

how to make vmware windows guest look for and write case insensitive files on linux host shared folder?

How to make vmware windows guest look for case insensitive files and folders, and write case insensitive files and folders on a Linux host shared folder, that is a case sensitive file-system, in a ...
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 ...
0
votes
3answers
753 views

Grant root privileges only for one directory

What is the best way to grant sudo privileges to a user only for the /opt/myapp directory as if the user were root in CentOS? The idea is to allow developers to do whatever they want only on the ...
0
votes
3answers
611 views

Execution of the command of ssh with open/root/.ssh/id_dsa failed error: Permission denied

Working it agrees http://www.ibm.com/developerworks/ru/library/l-hadoop-1/ at first I entered into the user of hadoop by means of a command root@one: /volumes# su hadoop The invitation was as a ...
0
votes
3answers
784 views

Redirect a Domain if server is down

I am currently searching for a way to redirect users if my server is down. Is there any way to do such a thing? Like: If someone wants to connect to my Teamspeak-Server but its offline, it should ...
0
votes
3answers
1k views

How to synchronize two folders on two remote Linux virtual machines

I have two virtual machines, Host OS is ESXi 3.5 and guest OS is Centos 4.6. There are two ESXi servers remotely located, each containing a Centos 4.6 virtual machine. I wish, whatever change I make ...
0
votes
3answers
136 views

Symbol 001E in a box on a Linux terminal

When reading a Windows log file in a Linux terminal, I see a strange symbol “001E” How can I replace it by space? Maybe something like sed -e 's/010e/ /'
0
votes
3answers
177 views

Will Network Simulator work in Ubuntu when it's installed on an external hard drive?

I want to install Ubuntu 11.10 on my external hardisk in order to do my assignment running NS (Network Simulator). Can NS be running or working properly if my Ubuntu installed on an external hard ...
0
votes
3answers
133 views

Windows 7 “home” sub-directory relocation

I'm setting up a new rig dual booting Linux and Windows with an SSD + HDD filesystem. I have Linux set up how I want: Under Linux: / is a partition on the SSD. /home is a partition on the SSD. /var ...
0
votes
3answers
1k views

Can't open browser from a terminal in Linux

I've logged into Linux machine. I issued the following commands to open a browser on the Linux server. Still, I am unsuccessful. 07:53 AM tomcat@wb-ser1$ nautilus . -bash: nautilus: command not ...
0
votes
3answers
664 views

Understanding Linux symlinks

I have two directories on a virtual machine. One of them is my home/user directory, the other is the /var/www/html folder which renders the public website. Every time I upload files for my web app ...
0
votes
3answers
1k views

How to remove parts of a file name

Ive got multiple mp3 files named like so: artist - year - album - track - title.mp3 about half of them, due to a "rename from tag" error are named like this: artist - year - album - track - title - ...
0
votes
3answers
85 views

Chaining subnet fails

Is it possible to do the following: Machine1 Kubuntu 8.04 desktop wired internet Cable modem Machine2 eepc701 Xubuntu 1O.04 wired machine1 cross ethernet cable Machine3 nokia n900 wireless to ...