LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

email to tech support

Posted 06-13-2021 at 05:56 PM by Skaperen

too many businesses block email to tech support even when they send responses to you by email. you know that "noreply@example.com" email address. if they have a way to manage support tickets, then they can include email responses.

give tech support a subdomain like support.example.com. then have the mail server accept email addresses to "<ticketnumber>-<code>@support.example.com". make that be the reply address. that way customers can use either...
Senior Member
Posted in Uncategorized
Views 269 Comments 0 Skaperen is offline
Old

A different way to do I/O redirection

Posted 03-31-2021 at 07:57 PM by Skaperen
Updated 03-31-2021 at 08:02 PM by Skaperen

sometimes i encounter situations where i am putting a command in where i cannot use I/O redirection.

when i am providing a command as token words to a program or other command, using redirection may not work or be understood. the command may be read by the program or be provided in arguments on the command line that runs the program. for example it could be running the provided command somewhere else like a different directory, different user, or different host. maybe the redirection...
Senior Member
Posted in Uncategorized
Views 422 Comments 0 Skaperen is offline
Old

Base 57

Posted 03-16-2021 at 09:49 PM by Skaperen

Base 57 is the smallest base that can represent 64 bits in just 11 characters. many programmers use higher base values to do this. that forces the use of a larger set of characters that must be used. if you choose base 62 instead of base 64 you avoid the use of special characters. so you can use just letters and number for your 11 encoded digits. with base 57 you can remove 5 characters that look similar to others. for example you might use just one character of 0, O and o instead of all 3...
Senior Member
Posted in Uncategorized
Views 796 Comments 3 Skaperen is offline
Old

new commands that create needed directories

Posted 03-16-2021 at 12:25 AM by Skaperen

i made 2 new commands (with 2 subcommands each) that i will be alpha testing. the 2 commands are named dst and par. the 2 subcommands on each are the same ... ln and mv. there is a --help option, a --version option and a --verbose option. the --help and --version options cause the command to quit after it outputs its information. the --verbose option causes status information to be output.

dst mv moves a file from one path to another, creating all the needed parent directories...
Senior Member
Posted in Uncategorized
Views 377 Comments 1 Skaperen is offline
Old

Background shell sessions

Posted 03-13-2021 at 11:23 PM by Skaperen
Updated 03-15-2021 at 11:59 PM by Skaperen

welcome to Pi day 3-14! edit: Pi day is over.

i now run lots of background shell sessions. this is implement using the screen program. i have a few wrapper scripts to make it easier to use (than the plain screen command) at the command line level.

bgn creates a new background session. argument 1 is the session name. additional arguments are optional and are the first command. you can also set the virtual screen width and height (default 80x25, maximum 1023x1023)...
Senior Member
Posted in Uncategorized
Views 346 Comments 0 Skaperen is offline

  



All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration