program247365 + unix   70

A lesson in shortcuts. Long ago, as the design of the Unix file system was b...
I'm pretty sure the concept of a hidden file was an unintended consequence. It was certainly a mistake.
dotfiles  history  unix 
february 2018 by program247365
Unix: Learn the *nix filesystem
Windows users who dive into *nix without first researching the operating system are in for quite a shock. The complete lack of a C:\ drive can send Windows switchers into a tailspin. Thankfully, IBM developerWorks does an excellent job of explaining the structure and organization of the *nix filesystem and the perks of the *nix naming conventions.
Many directories in the UNIX file system serve a special purpose, and certain directories are named per long-standing convention. In this installment of the "Speaking UNIX" series, discover where UNIX stores important files.Ramble around the UNIX file system [IBM developerWorks]
File  How_To  Linux  Operating_Systems  Unix  from google
june 2007 by program247365
Find default passwords for certain network devices
This tip will work on almost any *nix OS with curl installed. Create a text file called dfltpwd on your Desktop. Copy and paste the following into the text file:

#!/bin/bash
curl -s http://www.phenoelit.de/dpl/dpl.html |
grep -i $1 | sed "s/<[^>]*>/ /g"

Save the file, then switch to Terminal and type these three commands (without the $):

$ cd ~/Desktop
$ sudo mv ~/Desktop/dfltpwd.txt /usr/bin/dfltpwd
sudo chmod +x /usr/bin/dfltpwd

After doing the above, test the script with something like dfltpwd "belkin". The results should be a listing of default passwords for any Belkin devices from the phenoelit.de site.

[robg adds: I don't tend to save things to /usr/bin, for fear that I overwrite something someday if I ever reinstall the OS. Instead, I have a local user bin folder on my path where such files reside.

And before the ...
UNIX  from google
may 2007 by program247365

related tags

admin  ajax  apache  apple  Archive  awk  backup  bash  bioinformatics  biology  bsd  centos  cheatsheet  cli  commandline  commands  computers  cron  crossplatform  curl  cygwin  daemon  database  debug  deployment  design  dev  development  domain  dotfiles  download  ds  ds_store  email  File  files  finder  firewall  flamegraph  freebsd  freeware  fullscreen  fun  funny  generator  gnu  google  gui  history  howto  How_To  http  httpd  install  installation  installing  javascript  jvm  library  linux  llvm  lsof  mac  macintosh  macosx  macports  monitoring  net  network  networking  nodejs  ntp  opensolaris  opensource  Operating_Systems  organization  os  osx  parallel  performance  perl  philosophy  plugin  privacy  process  program  programming  protocols  proxy  public  python  reference  remote  rsync  ruby  rubyonrails  scheduler  scripting  search  security  server  services  shell  slack  software  solaris  sql  ssh  statistics  store  sun  symlink  sync  sysadmin  terminal  textmate  tips  tool  tools  transfer  tripwire  troubleshooting  tunnel  tutorial  tutorials  unix  utilities  utility  vi  vim  visualization  vmkit  watch  web  webdev  webserver  websockets  windows  work  x11  xp  youtube 

Copy this bookmark:



description:


tags: