Karen, You can set up a shell alias with something like
alias ly='lynx https://google.com' which lets you just type "ly" at the command-prompt and it will go to whatever default URL you set. This is a local alias and doesn't require editing any system configuration files. If you want it to persist past one shell session, you can put that line in your local account's shell configuration file. That's likely your ~/.bashrc or ~/.bash_aliases if your shell is bash, but might be your ~/.profile or ~/.kshrc or ~/.zshrc or something else depending on your shell. You should be able to check which shell you're running by using $ basename $SHELL If it happens to be either "csh" or "tcsh", you have to use a space where the equal-sign is: alias ly 'lynx https://google.com' If you want to get really fancy, you might create a shell function like ly() { lynx "${1:-https://google.com}" ; } which lets you specify a URL if you want one $ ly https://shellworld.net but if you don't specify one, will go to Google (or whatever you specify) by default. -tim On 2019-11-15 17:52, Karen Lewellen wrote: > sigh, > Let me try this again. > I am seeking a command line method to override the site listed as > the homepage for lynx regularly, i. e. the page that appears if i > just entre lynx. > The idea is to change this default homepage, not just simply > visit a new site once. > does that make more sense? > > > Kare, > Who cannot wait for Mercury retrograde to end! > > On Fri, 15 Nov 2019, Thorsten Glaser wrote: > > > Karen Lewellen dixit: > > > >> I wish to override the default homepage we have for lynx here, > >> and am hoping for a command line option. > > > > Just enter the URL you want to call after the word lynx and a > > space. > > > > bye, > > //mirabilos > > -- > > Yes, I hate users and I want them to suffer. > > -- Marco d'Itri on gmane.linux.debian.devel.general > > > > > > _______________________________________________ > Lynx-dev mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/lynx-dev _______________________________________________ Lynx-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lynx-dev
