• Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar

Python and R Tips

Learn Data Science with Python and R

  • Home
  • Python
  • Pandas
    • Pandas 101
  • tidyverse
    • tidyverse 101
  • R
  • Linux
  • Conferences
  • Python Books
  • About
    • Privacy Policy
You are here: Home / Archives for Basic Linux Commands

Basic Linux Commands

How To Loop Through Lines in a File in Bash?

April 26, 2018 by cmdlinetips

Often you may want to loop through each line from a file and do something to each line. Yes, you can use Python or other programming language to do that. However, a simple bash script can be extremely useful in looping through lines in a file. Here is how to loop through lines in a […]

Filed Under: Bash Tips, Linux Tips Tagged With: Linux Tips, loop through a file in Bash

10 Easy Bash Shell Aliases

January 16, 2016 by cmdlinetips

Aliases are great way to simplify the terminal experience. Basically an alias is a command line shortcut that allows one personalize the way one interact with Linux commands. The basic idea is to come with a simple version of your favorite command and add it to .bashrc file so that you can reuse the simple […]

Filed Under: Aliases in Bash, Bash Tips, Basic Linux Commands, Linux Tips Tagged With: Aliases in Bash, Bash Tips, Linux Tips

11 Ways to Use find Command in Linux to Search Files/Directory

January 14, 2016 by cmdlinetips

The find command is Linux is one of the most useful commands  for searching files and directories. At first the find command syntax might look a bit daunting, but once we get a hang of it, the find command is a great asset. How to print all files and directories in current directory? find . […]

Filed Under: find command, Linux Tips Tagged With: find command, Linux Tips

How to Find Where Linux/Mac OS X Commands Are Physically Located?

April 25, 2012 by cmdlinetips

If you are a beginner it is a good thing to learn about the director/file structures of Linux/Mac OS. It is even better to start learning where the actually commands are located in your machine. You may roughly know that the commands are in some “bin” directory, but not the exact location. The command “type” […]

Filed Under: linux command type, Linux Tips Tagged With: Find Command Location, Linux Command type

Tips to Get Started with Screen, the Terminal Multiplexer

September 20, 2011 by cmdlinetips

The more you feel comfortable with terminal, the higher the number of terminals that will be open. For sure you will many things to keep a tab, one for your email, one for the code, one for executing the code, and so on. And one might easily get annoyed, rightly so, recreating your multiple sessions […]

Filed Under: Basic Linux Commands, Linux Tips, Mac OS X Tips, Screen, Uncategorized Tagged With: Linux Tips, Mac Os X Tips, Screen

  • Page 1
  • Page 2
  • Go to Next Page »

Primary Sidebar

Subscribe to Python and R Tips and Learn Data Science

Learn Pandas in Python and Tidyverse in R

Tags

Altair Basic NumPy Book Review Data Science Data Science Books Data Science Resources Data Science Roundup Data Visualization Dimensionality Reduction Dropbox Dropbox Free Space Dropbox Tips Emacs Emacs Tips ggplot2 Linux Commands Linux Tips Mac Os X Tips Maximum Likelihood Estimation in R MLE in R NumPy Pandas Pandas 101 Pandas Dataframe Pandas Data Frame pandas groupby() Pandas select columns Pandas select_dtypes Python Python 3 Python Boxplot Python Tips R rstats R Tips Seaborn Seaborn Boxplot Seaborn Catplot Shell Scripting Sparse Matrix in Python tidy evaluation tidyverse tidyverse 101 Vim Vim Tips

RSS RSS

  • How to convert row names to a column in Pandas
  • How to resize an image with PyTorch
  • Fashion-MNIST data from PyTorch
  • Pandas case_when() with multiple examples
  • An Introduction to Statistical Learning: with Applications in Python Is Here
  • 10 Tips to customize ggplot2 title text
  • 8 Plot types with Matplotlib in Python
  • PCA on S&P 500 Stock Return Data
  • Linear Regression with Matrix Decomposition Methods
  • Numpy’s random choice() function

Copyright © 2025 · Lifestyle Pro on Genesis Framework · WordPress · Log in

Go to mobile version