Skip to main content

All Questions

Tagged with
103 votes
8 answers
163k views

How to set default user for manually installed WSL distro?

I have cloned a WSL distro using wsl --export and wsl --import, but now, running wsl newdistro always logs me in as root. I understand that the lxrun command is deprecated and want to avoid it. The ...
schuelermine's user avatar
  • 1,337
65 votes
14 answers
126k views

Batch convert encoding in files

How can I batch-convert files in a directory for their encoding (e.g. ANSI → UTF-8) with a command or tool? For single files, an editor helps, but how can I do the mass files job?
desolat's user avatar
  • 1,102
112 votes
10 answers
414k views

How to access a BitLocker-encrypted drive in Linux?

I have a laptop running Windows 7 Ultimate. I have encrypted my drives using BitLocker. Now I have also installed Lubuntu along with Windows. But my encrypted drives are not visible in Linux. How ...
Suyash Mohan's user avatar
  • 1,325
48 votes
5 answers
17k views

Time wrong when dual-booting Windows and Linux

Ever since I started using Linux in dualboot with Windows I noticed that when I rebooted the machine, the time on the other OS was wrong, e.g. it was 12:00 on Linux, then I rebooted and on Windows it ...
arielnmz's user avatar
  • 3,336
11 votes
3 answers
14k views

Is there any way to execute something when closing the laptop's lid?

I'm wondering if there is any way to execute a program, run some command or anything else when closing the laptop's lid. My question aims to be generic, both for Windows and Linux. Something useful ...
mati's user avatar
  • 301
9 votes
2 answers
19k views

How can I get access to EXT2, EX3 and EXT4 partitions on Windows 7?

I tried all programs recommended to mount Linux partitions like EXT2 or EXT3 or even EXT4 but no one can do well on Windows 7 32 bit. I want to access read-write, is there a program that can do this?
wisdom's user avatar
  • 497
1 vote
2 answers
4k views

Corrupted NTFS files (no such file or directory); can I fix them under Linux?

I am trying to copy files to my external hard drive using PartedMagic. My computer won't boot, so we are sending it in to get repaired. I've tried EVERYTHING but can't get it to boot into any desktop ...
NullBite's user avatar
87 votes
5 answers
49k views

What's the difference between one-dash and two-dashes for command prompt parameters?

I was wondering why is it that some programs requires their command prompt parameters to have two dashes in front whereas some (most) only require one dash in front? For example most programs look ...
Pacerier's user avatar
  • 27.5k
14 votes
5 answers
58k views

Filesystem to use for external hard drive to be used with Mac, Linux and Windows machines [duplicate]

Possible Duplicate: Cross-platform file system I have a rather large USB drive that I'd like to be able to use across the different machines I own. I'm having a hard time figuring out what would ...
Daniel's user avatar
  • 141
9 votes
2 answers
5k views

Serve up PC hard drive as USB mass storage

Is there a software package available that can serve up a hard-drive internal to a PC and make it available over USB to other USB Master nodes as mass storage? Ex: take your C: or /dev/hda drive on a ...
J. Polfer's user avatar
  • 2,342
8 votes
1 answer
12k views

Can the Windows 7 system reserved partition be deleted without problems?

Ok, I recently got this netbook that came with Windows 7 and wanted to install Linux on it as well for a dual-boot. It came with four primary partitions on a 250 GB HDD, those being: 15 GB recovery ...
t0mppa's user avatar
  • 205
104 votes
9 answers
64k views

What is the equivalent of Linux's "~" (tilde) in Windows?

In Linux, we can go to the user home by entering the tilde (~) character after cd: cd ~ How to do the same in Windows? Each time, I need to type: cd C:\Document and Settings\freewind That's too ...
Freewind's user avatar
  • 1,897
10 votes
2 answers
6k views

What do I have to take care of when hibernating both Ubuntu and Windows (dual-boot environment)

I've got both Windows 7 and Ubuntu (finally) installed on my laptop. For the sake of comfort, I usually hibernate Windows instead of shutting it down. And I think when using Ubuntu regularly, there ...
Franz's user avatar
  • 615
0 votes
3 answers
3k views

Convert video into format which is most likely playable on a windows system

I have some flv and mp4 videos, which I need to convert to a format which is playable on an a Windows Vista system (for a presentation). The problem is, that I cannot test the videos on the system on ...
student's user avatar
  • 475
59 votes
5 answers
107k views

How do you check how much power a USB port can deliver?

Some laptops have a special USB port that can deliver more power than the other ones. However it is not always easy to identify which one is the good one, nor how much power it can deliver. So is ...
Peltier's user avatar
  • 6,334
19 votes
6 answers
54k views

Command to copy client public key to Windows OpenSSH SFTP/SSH server authorized keys file

I have a Linux machine, and I need to sftp to a Windows SFTP server. So for first step, I create my own id_rsa file and the id_rsa.pub in my Linux machine. Then I copy the text in the id_rsa.pub into ...
Panadol Chong's user avatar
13 votes
2 answers
20k views

how to access samba on a guest Linux behind the VirtualBox NAT?

On my laptop, I'm running Ubuntu 9.10 under WinXP using VirtualBox 3.1.2. I want a setup where: The guest can freely access the internet. The host can access the guest files via Samba. The setup ...
noamtm's user avatar
  • 367
6 votes
3 answers
12k views

How can I run my ubuntu partition in Windows? vmware?

My machine is dual-boot windows 7 and ubuntu 10 on different partitions of the hard drive. Normally, I boot into Ubuntu if I want to use Ubuntu. However, when I need to run in Windows I'd like to be ...
Ross Rogers's user avatar
  • 4,607
6 votes
1 answer
15k views

Will Windows 10's reset delete my Linux partitions?

I want to use the "reset my PC" feature of Windows 10 to wipe the data on my Windows partition. But I have also a Linux system installed, which I want to keep. Will Windows 10's full reset wipe all ...
Hey's user avatar
  • 1,271
4 votes
4 answers
7k views

How to make Windows bootloader the default?

When I got a new computer, I installed Ubuntu and Windows XP on it. When I turn it on, GRUB shows up and lets me choose between the OSes. All right so far. A while later, I decided I don't want ...
Javier's user avatar
  • 3,881
-2 votes
1 answer
2k views

What causes windows 7 activation requests?

The statement: "You must activate windows within 3 days to continue using all windows features." often pops up in my notifification area on Windows 7. My windows are legal and I have activated them ...
robo's user avatar
  • 1
59 votes
5 answers
28k views

Linux equivalent command for "open" command on Mac/Windows?

Coming from Mac OS X, you can type: $ open yourfilehere.txt and your file will open just as if you had opened it from Finder. On Windows, one can type: > start yourfilehere.txt and it will ...
jweede's user avatar
  • 6,893
36 votes
9 answers
83k views

What is the equivalent to the Linux File command for windows?

Running the command: file run.sh Gives me: run.sh: Bourne shell script text executable in Linux. Is there an equivalent command in Windows?
AabinGunz's user avatar
  • 621
18 votes
11 answers
98k views

How can I automatically copy files to a USB drive when I connect it to my computer?

I am looking for a solution for copying all the files from a specific directory on the hard drive, to a specific directory on a USB memory device, once this device is connected. I have a program that ...
daphshez's user avatar
  • 733
16 votes
6 answers
28k views

Adjust screen brightness automatically at night

Can anyone tell me how to automatically dim my monitors when it gets dark at night?
Nifle's user avatar
  • 34.6k
14 votes
4 answers
35k views

Create Virtualbox image of a physical partition

I've a drive with Fedora and Windows 7 on different partitions with dual boot. Now, while running Fedora, I'd like to suck up the Windows partition and create an image I can run in VirtualBox - how ...
nos's user avatar
  • 4,479
14 votes
1 answer
4k views

Why Windows needs reboot a lot more than Linux?

I use both Ubuntu and Windows XP. One thing that catches my attention for a long time is the high need for reboots in Windows. Most of the time when I install a program, Windows requests to reboot ...
kolistivra's user avatar
11 votes
3 answers
35k views

Harddrive - wipe out "hidden areas" like HPA and DCO after malware infection

Background: I got some malware in Windows, possibly a rootkit or bootkit. I didn't want to take any chances, so foolishly wiped my drive with DBAN (PRNG, 8 pass). Later came to know that DBAN does ...
Deen's user avatar
  • 241
7 votes
2 answers
34k views

Print datetime in Windows cmd

In Linux I do date +"%Y%m%d%H%M%S" to print a date and time label. How do I get the same in Windows? I found that date /t returns 25/02/2016. But I would like to have it formatted like 20160225155958....
KcFnMi's user avatar
  • 604
7 votes
3 answers
2k views

Is there a filesystem that is "friendly" to both windows and Linux? [duplicate]

Possible Duplicate: Suggestions for sharing and using data between Ubuntu and Windows 7 dual boot I'm planning to install Ubuntu 10.04 with Windows 7. (I'm new to Linux, have to use at work so I'...
Somebody still uses you MS-DOS's user avatar

15 30 50 per page
1
2 3 4 5
11