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 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 ArticleAnswer by kenorb for View RSS feeds in Chrome instead of downloading it
Add view-source: in the front of your URL.In example:view-source:http://superuser.com/feeds/question/456411
View ArticleAnswer by kenorb for how to use dpkg --set-selections command in linux
dpkg: --set-selections takes no argumentsIt doesn't use arguments, but it takes standard input (stdin) instead.As per man dpkg:--set-selections Set package selections using file read from stdin. This...
View ArticleAnswer by kenorb for How much time does time take?
You can test how much does time takes by wrapping it into another time:time time trueNote: I'm adding true which is the simple command which 'do nothing'.true - do nothing, successfully - man trueOn...
View ArticleAnswer by kenorb for How do I delete ALL Chrome/Google Account stored website...
To delete all passwords from https://passwords.google.com/ and other personal data stored in the Google cloud, follow these steps:Go to: https://www.google.com/settings/chrome/syncClick on: Reset...
View ArticleFAULTY_HARDWARE_CORRUPTED_PAGE, probably caused by: ntkrnlmp.exe
My laptop suddenly crashed with the following screen.After reboot I've opened memory.dmp under WinDbg with the following details:Loading Dump File [D:\Debug\MEMORY.DMP]Kernel Bitmap Dump File: Kernel...
View ArticleAnswer by kenorb for What embedded database format is used by this Chrome...
The files are in LevelDB format developed by Google and the code is hosted on GitHub.Potentially you can use leveldb-json utility to export the data by pointing to the .indexeddb.leveldb folder,...
View ArticleHow to replace dotnet40 with dotnet45?
I'm trying to install dotnet40 via winetricks, but I've got the following error:$ winetricks dotnet45Executing w_do_call dotnet45------------------------------------------------------error: dotnet45...
View ArticleAnswer by kenorb for How can I set Geany as the default text editor on Windows?
Hold your Shift key and right click on the file. You should have 'Open with...', and then probably you'll have some option to use the recommended application only (untick it).If you still can't see...
View ArticleWhere does Sublime Text store its un-saved windows?
I'm using Sublime Text as a notepad and usually I've plenty of un-saved files which usually are re-open after reboot or crash, but I'm afraid to lose them (which happened few times).Where (in which...
View ArticleAnswer by kenorb for Save YouTube ad
While on the ad video, right click on the video and select Copy debug info. Paste in your notepad, then note the value of addebug_videoId.Then you can use the github program called "youtube-dl". Use:...
View ArticleHow to export Chrome Autofill form data?
I'd like to remove one user profile from Chrome web browser, but before I'd like to export its Autofill form data. For example, here is the question how to export browsing history. So if it's not...
View ArticleHow to pass command-line arguments to AHK script?
I'd like to run the AHK script with arguments, like:AutoHotkeyU64 file.ahk arg1 arg2Then access these variables as part of the script, e.g.MsgBox, %arg1%, %arg2%How this can be achieved?
View ArticleAnswer by kenorb for What does "sw" option mean in /etc/fstab?
This column is described in Linux's man fstab as:The fourth field, (fs_mntops), describes the mount options associated with the filesystem.It is formatted as a comma separated list of options. It...
View ArticleAnswer by kenorb for Run wine totally headless
You can configure Wine to run headless by installing X virtual frame buffer. For instance:sudo apt-get install xvfbXvfb :0 -screen 0 1024x768x16 &Install Wine:# On 64-bit also run: sudo dpkg...
View ArticleAnswer by kenorb for Is there any pdf reader that supports word searching...
WindowsWith regex search:PDF SearchPDF ManagerdnGREP (Free and Open Source)FileLocator Pro or Agent RansackPowerGrepWithout regex search:Adobe PDF iFilterPDFSearcherPDF ExplorerSumatra PDF (sources)...
View ArticleAnswer by kenorb for How do I convert a video to GIF using ffmpeg, with...
Linux/Unix/macOSFollowing @LordNeckbeard approach with ffmpeg command, please find the following useful Bash function which can be added into your ~/.bash_profile file:# Convert video to gif file.#...
View Article'Other's User Folder...' is grayed out
I'm using business e-mail and I'm trying to access File->Open->Other's User Folder... but the option is grayed out. I need that option in order to join the shared mailbox.Additional...
View ArticleAnswer by kenorb for How can I download a folder from Google Drive in Linux?
You can use https://github.com/DG02002/gdrivedl project with the following steps:Install Python dependencies:pip3 install google-auth-oauthlib google-auth google-auth-httplib2...
View ArticleThe service cannot find the resource identified by the resource URI and...
When run winrm set -? command, I can see the following example how to disable a listener:C:\Users\Administrator>winrm set -?Windows Remote Management Command Line Toolwinrm set RESOURCE_URI...
View ArticleAnswer by kenorb for How to read from Iso file?
To read some files from ISO, you can use isoinfo command (from genisoimage package).For example, to list files:isoinfo -i somefile.iso -lTo print specific file to stdout:isoinfo -i somefile.iso -x...
View ArticleAnswer by kenorb for How to use winecfg headless?
To change Windows version using Winetricks, you can run:winetricks -q win10Available options are: nt351, nt40, vista, win10, win11, win20, win2k, win30, win31, win7, win8, win81, win95, win98, winme...
View ArticleAnswer by kenorb for Linux startup- taskbar has disappeared and terminal...
Try reloading GNOME Shell with the following command:killall -HUP gnome-shellAlternatively, run:gnome-shell --replace
View ArticleAnswer by kenorb for How to mount external Windows NTFS volume on Mac?
In the recent macOS, this command should work:diskutil mount disk1s1Where disk1s1 is the disk and partition number from diskutil list.The volume will mount in read-only.
View Article