ebouchut + linux   207

MultiTail allows you to monitor logfiles and command output in multiple windows in a terminal, colorize, filter and merge.
MultiTail lets you view one or multiple files like the original tail program. The difference is that it creates multiple windows on your console (with ncurses). It can also monitor wildcards: if another file matching the wildcard has a more recent modification date, it will automatically switch to that file. That way you can, for example, monitor a complete directory of files. Merging of 2 or even more logfiles is possible. It can also use colors while displaying the logfiles (through regular ex...
tail  mulitple  file  merge  filter  pattern  regex  highlight  color  colorize  window  log  program  output  listen  watch  directory  command  monitor  logfile  starred  linux  macos  macbook 
24 days ago by ebouchut
Install rcm
curl -LO https://thoughtbot.github.io/rcm/dist/rcm-1.3.1.tar.gz && \
sha=$(shasum -a 256 rcm-1.3.1.tar.gz | cut -f1 -d' ') && \
[ "$sha" = "9c8f92dba63ab9cb8a6b3d0ccf7ed8edf3f0fb388b044584d74778145fae7f8f" ] && \
tar -xvf rcm-1.3.1.tar.gz && \
cd rcm-1.3.1 && \
./configure --prefix=$HOME/local && \
make && \
make install
rcm  install  configure  config  setup  linux  tar  command  from notes
5 weeks ago by ebouchut
Data Science at the Command Line
This is the website for Data Science at the Command Line, published by O’Reilly October 2014 First Edition. This hands-on guide demonstrates how the flexibility of the command line can help you become a more efficient and productive data scientist. You’ll learn how to combine small, yet powerful, command-line tools to quickly obtain, scrub, explore, and model your data.
book  data  datascience  command  CLI  linux  shell  machine  learning  science 
7 weeks ago by ebouchut
SimuNano: How to install TMUX on Linux? (with and without root access)
# Libevent
# Download libevent from http://libevent.org/
cd libenvent-*
./configure --prefix=$HOME/local --disable-shared
make install

# ncurses
# Download ncurses from http://invisible-island.net/ncurses/announce.html#h2-overview
cd ncurses-*
./configure --prefix=$HOME/local --disable-shared
make install

# Tmux
./configure --prefix=$HOME/local CFLAGS="-I$HOME/local/include -I$HOME/local/include/ncurses" LDFLAGS="-L$HOME/local/lib -L$HOME/local/include/ncurses -L$HOME/local/include"
make install

Make sure $HOME/local/bin is in your PATH
install  tmux  debian  user  regular  configure  libevent  ncurses  installation  configuration  config  starred  linux 
7 weeks ago by ebouchut
KELiON/cerebro: Open-source productivity booster with a brain
Search in the web with google suggestions;
Search & launch application, i.e. spotify;
Navigate in file system with file previews (i.e. ~/Dropbox/passport.pdf);
Smart converter. 15$, 150 рублей в евро, 100 eur in gbp;
search  find  file  launch  program  preview  view  show  display  image  calculator  converter  desktop  application  app  mac  macos  linux  windows 
january 2017 by ebouchut
https://github.com/nelhage/reptyr: Attach an existing process to a new tmux session
"As of now, this only works for Linux (because it supports the ptrace command and MacOS does not).

* Stop the current process (background): <Ctrl>z
* Make it a background process: bg
* Disown the process from its parent: disown {process_name}.
* Start tmux
* Attach the process: reptyr <pid>
linux  screen  tmux  attach  running  process  session  existing  connect  send 
january 2017 by ebouchut
Apache Mesos: A distributed systems kernel
"A distributed systems kernel

Program against your datacenter like it’s a single pool of resources

Apache Mesos abstracts CPU, memory, storage, and other compute resources away from machines (physical or virtual), enabling fault-tolerant and elastic distributed systems to easily be built and run effectively.
Mesos is built using the same principles as the Linux kernel, only at a different level of abstraction. The Mesos
kernel runs on every machine and provides applications (e.g., Hadoop, Spark, Kafka, Elasticsearch) with API’s for
resource management and scheduling across entire datacenter and cloud environments. "
cloud  cluster  distributed  apache  hadoop  spark  kafka  elasticsearch  linux  kernel  manage  management  schedule  abstract  scalability  cross  platform  CPU  memory  storage  machinve  virtual  resource  share  API  UI 
january 2017 by ebouchut
rupa/z: z: Tracks your most used directories, based on frequency and recency
"Tracks your most used directories, based on 'frecency'.

After a short learning phase, z will take you to the most 'frecent'
directory that matches ALL of the regexes given on the command line, in

For example, z foo bar would match /foo/bar but not /bar/foo."
zsh  script  change  directory  stack  list  search  history  frequent  recent  use  linux  memorize  shell 
december 2016 by ebouchut
# List existing screen sessions
screen -ls

# Start a new screen session named <name>
screen -S <name> -t <name>

# Resume the existing screen session named <name>
screen -r <name>

# Attach to a not detached screen session
screen -x

<Ctrl><A>3 Show the name of the current window
<Ctrl><A>" Jump to another window
screen  linux  unix  session  restore  open  terminal  multiplexor  command  from notes
november 2016 by ebouchut
Unix: Remove the fist line from a command output
command | awk 'NR>1'

command | sed -n '1!p'

command | tail -n +2
linux  unix  remove  first  line  output  filter  ignore  input  from notes
august 2016 by ebouchut
Simple HTTP server on Mac OS X in seconds… |
cd wherever
python -m SimpleHTTPServer 8080
HTTP  server  mac  macos  run  start  python  launch  linux  web 
july 2016 by ebouchut
Supervisor: A Process Control System
Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems.

It shares some of the same goals of programs like launchd, daemontools, and runit. Unlike some of these programs, it is not meant to be run as a substitute for init as “process id 1”. Instead it is meant to be used to control processes related to a project or a customer, and is meant to start like any other program at boot time.
unix  linux  monitoring  monitor  administration  admin  server  process  daemon  start  stop  configuration  configure  rc.d  status  remote  launch  macos  freeBSD  mac  ldmobile  sysadmin  system  init.d 
june 2016 by ebouchut
ledger, a powerful command-line accounting system
Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line.
accounting  money  finance  unix  linux  CLI  command  line  tools 
february 2016 by ebouchut
Unix File Modes and File permissions
file-mode file-mode (set-uid,setgid,sticky-bit) rwx rwx rwx

010000 Named Pipe/FIFO Buffer. These are communication channels. You won't see too many of these.
020000 Character Device. You'll find these in your /dev directory. They communicate in byte streams.
040000 Directory. Exactly what it sounds like.
060000 Block Device. You'll find these in your /dev directory as well. They communicate in blocks of I/O all at once.
100000 Regular. Ordinary files. Yes, the kind you normally read and save on disk.
120000 Symbolic Link. They contain one thing and one thing only: a path to another file. They're often called 'symlinks' for short.
140000 Socket. A basic communication channel. The entire Internet is built on the concept.
160000 Whiteout. A file system object that hides another object, perhaps through a mount point.
unix  linux  file  type  permission  mode  chmod  directory  read  write  execute  sticky  bit  setuid  setgid  rwx  mac  macos 
december 2015 by ebouchut
"A curated list of amazingly awesome open source sysadmin resources inspired by Awesome PHP."
admin  sysadmin  tools  linux  link  list  resources 
september 2015 by ebouchut
Bash,Zsh: entering backslash escaped characters n t ' "
Words of the form $'string' are treated specially. The word expands to string, with backslash-escaped characters replaced as specified by the ANSI C standard.

LC_ALL=C sort -t$'\t' -n -k2,2 names_ages.tsv
bash  zsh  linux  escape  special  character  backslash  tab  newline  sort 
june 2015 by ebouchut
linux - Unix Sort with Tab Delimiter - Stack Overflow
I banged my head against the wall for a while until I found this one!

# To sort on the 2nd field (numeric)
LC_ALL=C sort -t$'\t' -k2,2 -n names_ages.txt
field  line  file  tabulation  problem  sort  delimiter  tab  linux  numeric  workaround  starred  separator  command  solution  issue 
june 2015 by ebouchut
Sort Files Like A Master With The Linux Sort Command (Bash)
-k field_start,field_end # First field is number 1
-u # Remove duplicate => same as
-n # numeric
-t$'\t' # Use tab as field separator
sort  file  linux  unix  command  shell 
june 2015 by ebouchut
string - Extract filename and extension in bash - Stack Overflow
Trim the shortest match from the end

Trim the longest match from the end

Trim the longest match from the beginning

Trim the shortest match from the beginning

* http://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html#Shell-Parameter-Expansion
linux  shell  unix  bash  filename  extension  suffix  script 
april 2015 by ebouchut
Zeal - offline API documentation browser
"Zeal is a simple offline API documentation browser inspired by Dash (OS X app), available for Linux and Windows.

Quickly search documentation using Alt+Space (or customised) hotkey to display Zeal from any place in your workspace.
Search in multiple sets of documentation at once.
Don't be dependent on your internet connection.
Integrate Zeal with Emacs, Sublime Text, or Vim"
linux  windows  documentation  search  aggregator  browser  view  offline  dash 
february 2015 by ebouchut
Explain shell - A site to explain shell commands
"This site contains 29761 parsed manpages from sections 1 and 8 found in Ubuntu's manpage repository. A lot of heuristics were used to extract the arguments of each program, and there are errors here and there, especially in manpages that have a non-standard layout."
shell  command  syntax  explain  bash  unix  linux  ubuntu  line  learn 
february 2015 by ebouchut
[SOLVED] Installing tmux from source as non root user.
1) Download libevent and ncurses.
2) Compile them to $HOME/local
3) Install tmux by the following:

cd tmux
./configure --prefix=$HOME/local
CPPFLAGS="-I$HOME/local/include" LDFLAGS="-static -L$HOME/local/include -L$HOME/local/include/ncurses -L$HOME/local/lib" make
make install
tmux  install  linux  source  compile  flag  gcc  non  root  not  regular  installation  configuration  config  settings 
december 2014 by ebouchut
Unison File Synchronizer
"Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other."
backup  sync  windows  linux  software  replication  file  directory  synchronization  remote 
march 2014 by ebouchut
Linux repeat command automatically
# Run command every 5 seconds
watch -n 5 command
linux  run  repeat  command  every  second  forever  launch  interval  unix 
march 2014 by ebouchut
ls, colors, and Terminal.app

alias ls="ls -G"
export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd"

Here is a list of color values:

a = black
b = red
c = green
d = brown
e = blue
f = magenta
g = cyan
h = grey
A = dark grey
B = bold red
C = bold green
D = yellow
E = bold blue
F = magenta
G = cyan
H = white
x = default

And here is a list of the positions in LSCOLORS:

symbolic link
block device
character device
executable with setuid set
executable with setguid set
directory writable by others, with sticky bit
directory writable by others, without sticky bit

The default is “exfxcxdxbxegedabagacad”, which indicates blue foreground with default background for directories, magenta foreground with default background for symbolic links, etc.
LSCOLORS  linux  mac  macos  configure  customize  color  shell  listing  file  directory  terminal  term 
march 2014 by ebouchut
Graylog2 - Open source log management and data analytics
"Field-tested open source data analytics system used and trusted all around the world. Search your logs, create charts, send reports and be alerted when something happens. All running on the existing JVM in your datacenter.
Graylog2 is leveraging proven technologies e.g. Java, Scala and ElasticSearch. All communication is done via REST APIs so you can even build your own tools on top of it. The graylog2-server package ships with an interactive API browser. "
log  analytics  linux  chart  report  alert 
november 2013 by ebouchut
« earlier      
per page:    204080120160

related tags

@  aac  abstract  access  account  accounting  ack  action  activate  activecollab  add  admin  administration  adress  ag  aggregate  aggregator  AIM  airpot  alert  alfred  alsacreations  amazon  analysis  analytics  and  annonce  apache  API  app  apple  applet  appliance  application  apt  apt-get  archive  argument  arithmetic  arrondi  association  astronomy  attach  attribute  audio  autocrlf  automatic  automation  available  aws  backslash  backup  base  bash  binary  BIOS  bit  blkid  block  blogging  Bonjour  book  boot  browser  bsd  build  C  C++  cache  calculator  call  capture  card  cd  cell  center  centos  change  changed  chapter  character  charset  chart  chat  cheat  check  checksum  chip  chmod  citrix  class  clear  CLI  client  clipboard  clone  cloud  cluster  CMS  code  coin  collaboration  color  colorize  comare  comarison  command  commit  communication  community  company  comparaison  compare  comparison  compile  comptabilite  compute  computer  config  configuration  configure  connect  connection  console  consumption  container  control  conversion  convert  converter  copy  core  corner  cp  cpu  CR  create  CRLF  cross  cryptography  CSS  css3  curl  customize  cut  daemon  dash  data  database  datascience  debian  default  delimiter  demo  deployment  descriptor  design  desktop  detail  detection  development  device  diagnostic  diff  difference  difftool  digest  directory  disk  display  distrib  distributed  distribution  distro  DNS  docker  documentation  domain  dotfiles  download  dpkg  drive  driver  dropbox  dump  dvd  eblog  eclectron  EDA  editor  elasticsearch  emacs  emacs24  emploi  empty  emulator  enable  encoding  encrypt  end  entreprise  error  escape  etc  event  every  example  exclude  execute  existing  explain  exploratory  explorer  extended  extension  external  facebook  factor  FAQ  field  file  filename  files  filesystem  filetype:pdf  filter  finance  find  finger  firefox  firmware  first  fish  fix  flag  flash  flowdock  folder  forecast  forever  form  francais  france  free  freeBSD  freeware  french  frequency  frequent  frouin  fsevents  fstab  ftp  Gadu-Gadu  gaim  gcc  gedit  gem  generator  get  getopt  gfs  git  github  glob  gnome  gnome-do  gnu  god  Google  graphic  grep  grid  Groupwise  growl  grub  Gtalk  guake  gui  hacker  hadoop  hardware  head  headless  hebergement  hexa  hexadecimal  highlight  hipchat  history  horizontal  hosting  hotot  howto  HTML  http  icedove  iceweasel  ICQ  id  identica  identifier  ie  ie7  ie8  ie9  if  ignore  Illumos  IM  image  increase  info  information  informatique  ingenium  init  init.d  initialization  inotify  input  install  installation  installer  instant  integrity  inter  interface  internet  interpreter  interval  introduction  intrusion  IO  IP  IPC  IRC  iReasoning  issue  itunes  J2EE  Jabber  java  javascript  jdk  jesse  JMS  job  join  jq  jre  JSON  kafka  kde  kernel  key  keyboard  keychain  keycode  know  kqueue  ksh  LANG  last  latest  launch  launcher  launchy  lbn  lch  LC_ALL  ldmobile  learn  learning  lenny  less  level  LF  libevent  libre  line  link  linus  linux  list  listen  listing  live  load  lock  log  logfile  Logiciel  login  ls  LSCOLORS  lsof  mac  macbook  machine  machinve  maco  macos  magazine  make  man  manage  management  manager  manual  mardown  master  materiel  matrix  mattermost  MBR  MD5  media:document  meeting  memorize  memory  menu  merge  mergetool  message  messaging  Messenger  metadata  meteo  MIB  MID  mint  miyowa  mobile  mode  modified  modify  money  mongrel  monitor  monitoring  moreutils  mount  mouse  move  mozilla  mp3  MSN  mulitple  multi  multiboot  multiple  multiplexer  multiplexor  multiprotocol  mv  mysql  name  ncurses  netcat  network  networking  new  newline  nmap  node  nodejs  non  not  notification  notify  numeric  octal  offline  offre  online  onlykey  open  openbsd  openjdk  opensolaris  opensource  openssh  openssl  openVPN  operating  operation  option  or  oracle  order  os  output  package  page  pair  palette  parallel  parameter  parse  parser  parsing  partition  paste  pattern  pdf  pen  performance  perl  permission  personal  phone  php  PID  pipe  platform  player  plugin  podcast  pointer  popup  port  portable  postgres  pow  presentation  preview  prevision  print  privacy  private  problem  process  processing  processor  productivity  program  programming  project  prompt  properties  ps  PS1  public  putty  python  QCM  QQ  query  rack  rails  RAM  rc  rc.d  rcm  read  recent  record  recovery  redhat  redirection  reference  regex  registrar  regular  release  remote  remove  rename  renaming  repair  repeat  replication  report  repository  resize  resolution  resource  resources  restore  reverse  rimuhosting  rm  rocks  root  rootkit  rounded  rss  rsync  ru  ruby  rubygem  rubyonrails  run  runlevel  running  rvm  rwx  S3  s3fs  safecrlf  SAMBA  Sametime  SAN  scalability  schedule  scheduler  science  scleaner  screen  screencast  script  scripting  search  SearchEngine  second  secure  security  sed  selenium  send  separator  server  service  session  set  setgid  setting  settings  setuid  setup  SHA  SHA1  SHA256  SHA512  share  shared  sharing  sheet  shell  shop  shortcut  show  shutdown  SILC  silverlight  SIMPLE  single  site  size  sky  skype  slack  slave  snapshot  SNMP  SOA  societe  software  solaris  solarized  solution  song  sort  source  space  spark  special  specification  speed  sponge  sppof  squeeze  ssh  ssh-agent  sshfs  SSII  SSL  stack  standard  star  starred  start  startup  stat  state  statistics  status  sticky  stop  storage  storymer  suffix  sum  support  SVG  SVN  swap  symbolic  symlink  sync  synchronization  synchronize  syntax  sysadmin  system  tab  tabulation  tail  talk  tar  target  task  tcsh  television  term  terminal  terminfo  test  testing  text  theme  thoughtbot  tmux  tool  toolbag  tools  toread  torvalds  transfer  tray  trigger  tunnel  tutorial  tv  twitter  type  typescript  ubuntu  UI  ulimit  uname  unified  unix  upload  usage  usb  use  user  utility  uuid  vagrant  variable  VCS  vector  version  vertical  VHD  video  view  viewer  vim  virtual  virtualbox  virtualization  visual  vm  VNC  VPN  watch  web  webdesign  webservices  wechat  wheather  WI-FI  wifi  wiki  window  windows  without  wordpress  work  workaround  wrapper  write  X  X11  xargs  xen  xencenter  xfree86  XHTML  XMPP  xor  xterm  xvfb  yahoo  youtube  Zephyr  zero  zsh 

Copy this bookmark: