All Questions
308
questions
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 ...
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?
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 ...
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 ...
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 ...
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?
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
-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 ...
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 ...
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?
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 ...
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?
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 ...
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 ...
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 ...
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....
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'...
2
votes
2
answers
4k
views
What is a file system which has r/w on all major OSes [duplicate]
Possible Duplicate:
Cross-platform filesystem
What is a file system which has r/w on all OSes like windows, linux and Mac.
Windows comes with FAT and NTFS support and EXT3 support can be added. ...
1
vote
2
answers
3k
views
How to switch OS in Dual Boot from remote?
I want to setup my desktop with dualboot such that i can switch between the two OSes from remote. Specifically, Windows 10 and Fedora 38.
I usually boot it remotely using Wake on LAN, so it would be ...
0
votes
3
answers
257
views
Dual boot Linux with Windows 7
I am trying to recover an installation of Linux on my machine, preferably without having to reinstall Linux (and possibly Windows) altogether.
I have installed Pear OS first, and then installed ...
0
votes
0
answers
3k
views
SD card not getting formatted [duplicate]
I have a 32 GB micro SD card which got kind of corrupted during file transferring from my computer. Now, I am not able to format it.
On Linux:
I have tried Disks utility of Linux, it has no effect on ...
73
votes
10
answers
83k
views
Equivalent of Unix find command on Windows
What is the equivalent of the Unix find command on Windows?
I see that the find.exe on Windows is more like a grep. I am especially interested in the equivalent of
find . -name [filename]
46
votes
14
answers
104k
views
Convert Unix line endings to Windows
I recently moved back to Windows from Linux. I have some files with CRLFs, some with LFs and some that are mixed. Is there a utility that will help me find all my Unix-touched files and convert them ...
46
votes
11
answers
435k
views
How to SCP from Linux server to Windows client
I'm SSHing into a Linux machine using PuTTY and trying to copy a file down somewhere (anywhere) to my local machine. I figure SCP is the best candidate for the job but don't really care, so long as ...
42
votes
8
answers
32k
views
How to pipe text from command line to the clipboard
I'd like to do something like
dir *.* > clipboard
ie. get to get the standard output of a command line program copied to the clipboard. Can this be done on a standard XP machine without ...
39
votes
2
answers
189k
views
Completely reinstall WSL
I installed WSL 1, enjoyed having Linux on my PC, then discovered the limitations of the scarce interoperability over files between the two operating systems.
So I installed WSL 2 following the specs (...
35
votes
4
answers
140k
views
What filesystem to use when using both Windows and Linux? [duplicate]
I will be buying a 2TB hard drive soon, and would like to use it as media storage. I would like to be able to read/write from both Windows (version 7, 64bit) and Ubuntu Linux, and I need support for ...
22
votes
5
answers
86k
views
What are the differences between Linux and Windows .txt files (Unicode encoding)?
I am only using the 128 character set defined in the original ANSI standard.
But as a whole how are the files implemented differently.
I am not concerned with the display, i.e. if a tab is displayed ...
21
votes
3
answers
72k
views
Use VirtualBox to boot a physical drive/partition [duplicate]
I have two partitions on my hard drive, one for Windows and one for linux. I would like to use VirtualBox in Linux to boot the Windows partition as a virtual machine. How can I acheive this?
20
votes
6
answers
39k
views
Command prompt in Windows and Linux -- What is their language called?
When the command prompt is being used to do networking, searching, setting parameters in the localhost, etc, what is the language used to enter in the command prompt in Windows? How about in Linux? ...
15
votes
7
answers
12k
views
Can Windows use a Linux shell instead of cmd?
I was wondering if it is somehow technologically possible for Windows to add some sort of Linux interface? I think it would win over many programmers to develop on Windows.
Any ideas on this?
13
votes
6
answers
17k
views
Can I access Microsoft Outlook PST archives with any other tools?
I would like to access my Microsoft Outlook archives (pst files) from machines that do not have Microsoft Office installed. Is that possible? Think of several years worth of PST archive files.
My ...
12
votes
7
answers
6k
views
Why is it bad to run as root?
I've often come across posts on forums or other websites where you see people joking in such a manner about running/logging in as root as if it's something awful and everyone ought to know about it. ...
11
votes
7
answers
33k
views
scp from remote Linux to local Windows with spaces in local path
To push a file from a Linux terminal to a Windows system, the following two examples work just fine.
scp /home/user.name/file.html [email protected]:/C:/Users/user.name/test_folder/file.html
...
10
votes
1
answer
2k
views
Why does it take so long for the computer to respond with "invalid password", when using a correct password is near instant? [duplicate]
When you enter a password and it's correct the response is practically instantaneous (i.e. the log on process).
When you enter an incorrect password (accidently, forgotten, etc) however, it takes a ...
9
votes
0
answers
430
views
How does rebooting a computer work? [duplicate]
Possible Duplicate:
How does a computer restart itself?
How does a computer's reboot command actually work?
How is the computer told that it shouldn't stay down after powering off, and that it ...
9
votes
4
answers
3k
views
Can windows command line support Linux "cd -"?
In Linux we can use cd - to enter the previous directory, like:
/home/user: cd /a
/a: cd -
/home/user:
The - means the latest previous directory.