Comment by kenorb on How to get the length of a prompt?
The length of a prompt is going to be dynamic, depending on the variables you're using, such as user, directory, host and so on. Please give some specific example. What's your prompt, and what's your...
View ArticleComment by kenorb on No Internet in Chrome but MS Edge (Chromium) works fine,...
Are you using some kind of firewall? If so, check its rules. Or anti-virus (e.g. Bitdefender). Most likely Chrome was added to the black list.
View ArticleComment by kenorb on Is antivirus software necessary for Windows 10 in 2020+?
@mrmut On the long-term, why you won't use Linux?
View ArticleComment by kenorb on How to execute a command in screen and detach?
@RadioControlled time=5; screen -m bash -c "sleep $time; exec sh"
View ArticleComment by kenorb on DBeaver how to get back results window
Please post the screenshot if you can.
View ArticleComment by kenorb on git: Keep changelog for file when moving to a different...
Related: Create patch or diff file from git repository and apply it to another different git repository.
View ArticleComment by kenorb on What is a stopped process in linux?
@Jus Thanks for report, I've corrected it.
View ArticleComment by kenorb on PC randomly freezing then going black before rebooting
Anything in the system logs before the crash? Can you check which version of drivers do you've installed for GPU (do you've the latest ones)?
View ArticleComment by kenorb on SSH - How can I answer "[fingerprint]" to the...
Related: What is a SSH key fingerprint and how is it generated?
View ArticleComment by kenorb on ssh -X warning: X11 forwarding request failed on channel 0
Related: X11 forwarding request failed on channel 0
View ArticleComment by kenorb on How can I download a folder from Google Drive in Linux?
To copy from remote shared folder, use: rclone copy --drive-root-folder-id 1-XXX-YYY gd:/ . (where gd is your configured remote).
View ArticleAnswer by kenorb for How can I resolve the error "MediaKit reports partition...
If your HDD is shipped with the software, use it to format it, Or get from their site.For example, I've WD My Password 4TB and it worked using WD Drive Utilities app.
View ArticleAnswer by kenorb for Server Manager For telnet
Windows 8 (2012)To install telnet in Windows 8, you can use pkgmgr command in the CMD terminal:Telnet Client: pkgmgr /iu:"TelnetClient"Telnet Server: pkgmgr /iu:"TelnetServer"Applies To: Windows 7,...
View ArticleAnswer by kenorb for Remove key from known_hosts
Here is a method using Ex editor:ex +6d -scwq ~/.ssh/known_hostswhere 6th is your line number mentioned in the warning message. Such as this one:Offending key for IP in /home/user/.ssh/known_hosts:6...
View ArticleAnswer by kenorb for How to check if a Socks5 proxy works
The following command will test whether Socks 5 proxy works at localhost:8080:timeout 5 curl -x socks5://localhost:8080 http://example.com/Otherwise it'll timeout after 5 seconds. If you don't have a...
View ArticleAnswer by kenorb for Apache log has things I don't recognize that look dangerous
It looks like your Linux machine has been compromised through the Apache service.How do I fix it?There is no simple fix, as you need to investigate your whole system for potential breach.Here are some...
View ArticleAnswer by kenorb for Is there a list of available boot-args for darwin / OS X
There is no official list, the common one are compiled into kernel it-self, other can be parsed by kernel extensions. Here is the list which I've found so far.General boot options:-v: Always boot the...
View ArticleAnswer by kenorb for 'Other's User Folder...' is grayed out
As far as I've noticed, the account needs to be added to a shared mailbox first by the administrator.Then after hitting Send & Receive, the option Other's User Folder has been activated successfully.
View ArticleAnswer by kenorb for Messed up my .bash_profile remotely, can't ssh back in
Try to SSH and run sh instead of bash, e.g.ssh user@host shThen rename (mv) or edit the broken file (ex/vi).
View Article