Most Popular
1500 questions
247
votes
3 answers
Rename screen session
Is it possible to change the name of a GNU screen session? Say I called started it with "screen -S foo" and I want to rename it to bar.
moinudin
- 2,824
- 2
- 16
- 16
245
votes
15 answers
Looking for HTTP debugging proxy for Mac similar to Fiddler on Windows
In previous jobs when I've worked on a Windows machine, I've used Fiddler for viewing HTTP transactions and debugging.
I'm specifically looking to monitor the HTTP transactions for an ajax site I'm working on to verify that the site is doing what I…
Doug Harris
- 26,593
- 17
- 77
- 105
244
votes
10 answers
Mac OS X: Best Way to Make an ISO from a CD or DVD
Both command-line and screen-oriented pointers appreciated!
update:
I verified the disk utility, hdiutil, and dd methods. dd seems the fastest, 30 minutes on my macbook pro vs. 40 minutes for hdiutil. I was able to simplify dd to use just if= and…
Mark Harrison
- 962
- 4
- 9
- 17
244
votes
4 answers
Connect to the host machine from a VirtualBox guest OS?
I'd essentially like to access my host computer from the guest in VirtualBox. Is there an IP address given for my host which I can use from the guest? Are there extra steps required to set this up? I'd like to access my host's Apache, FTP, and SSH…
Naftuli Kay
- 9,261
- 17
- 54
- 87
244
votes
12 answers
How can I execute a Windows command line in background?
How can I execute a windows command line in the background, without it interacting with the active user?
Mohammad AL-Rawabdeh
- 2,691
- 4
- 18
- 9
243
votes
8 answers
What do the parentheses and number after a Unix command or C function mean?
I keep seeing parentheses and a number after a command in Unix or Linux or C function.
For example: man(8), ftok(2), mount(8), etc.
What do these mean? I see them in man too.
Malfist
- 2,949
- 3
- 26
- 24
243
votes
3 answers
Why are tar.xz files 15x smaller when using Python's tar library compared to macOS tar?
Context
I'm compressing ~1.3 GB folders each filled with 1440 JSON files and find that there's a 15-fold difference between using the tar command and Python's built-in tarfile library on macOS or Raspbian 10 (Buster)
Minimal working example
This…
Saaru Lindestøkke
- 4,931
- 8
- 28
- 46
242
votes
5 answers
How to reinstall a package using 'apt-get'?
It seems that my aptitude is somehow broken:
sudo aptitude update
0% [Working]Segmentation fault
dmesg
[223282.616599] aptitude[30972]: segfault at 67707f ip 7f954dcfae5d sp 7ffff5a5f950 error 4 in…
Vokuhila-Oliba
- 4,027
- 4
- 22
- 21
240
votes
8 answers
In vim, how can I quickly switch between tabs?
In gnome-terminal, I can just press Alt + (1, 2, 3, etc.) to switch to specific tabs. I can also use Ctrl + (PgUp / PgDn) to cycle through tabs (admittedly less convenient, but it can be remapped).
If I want to use vim tabs instead of gnome-terminal…
Matthew
- 13,986
- 15
- 70
- 115
240
votes
5 answers
Recursively count all the files in a directory
Possible Duplicate:
How can I count the number of folders in a drive using Linux?
I have a really deep directory tree on my Linux box. I would like to count all of the files in that path, including all of the subdirectories.
For instance, given…
omghai2u
- 2,920
- 3
- 19
- 17
239
votes
9 answers
How do I change the language of all Powerpoint slides at once?
I want to change the proofing language of all my slides in a Powerpoint. I've tried setting the language via the Language Preferences menu, however this only changes it for new powerpoints.
liamzebedee
- 3,009
- 2
- 17
- 17
239
votes
4 answers
How to convert .ppk key to OpenSSH key under Linux?
I know that is possible to convert .ppk under puttygen in Windows, but how to do that on Linux? Is this possible ?
marioosh
- 3,401
- 6
- 25
- 28
238
votes
5 answers
Notepad++ find and replace string with a new-line
Consider the scenario where you have a specific string that you want to find-and-replace. You want to replace it with a new string that contains a newline character (or character sequence).
abc123 xyz456-blah
fsafd23 xyz456-green
89hjkf23…
p.campbell
- 4,248
- 9
- 36
- 44
237
votes
7 answers
Get Last Modified Date of File in Linux
I'm new to Linux. I'm using the command-line. I'm trying to view the last modified date of a file. How do I do that in Linux from the Command Line?
user70192
- 2,499
- 3
- 14
- 8
237
votes
8 answers
How to make an SSH tunnel publicly accessible?
Referring back to this question, I am executing the below via OpenSSH (Client: Mac OS X 10.6 | Server: Linux Mint), however the port that is being tunneled is not working publicly:
ssh -R 8080:localhost:80 -N root@example.com
The purpose is so the…
Trevor Rudolph
- 2,501
- 3
- 15
- 14