Basic commands for Linux/Mac OSX and Windows Powershell

Basic commands for operating systems ( Linux/Mac OSX and Windows )

I would like to introduce basic commands and their brief explanations.

If you want detail usage, googling them!


1. Linux/Mac OSX

pwd: print working directory

hostname: my computer's network name

mkdirmake directory

cd: change directory

ls: list directory

rmdir: remove directory

pushd: push directory

popd: pop directory

cp: copy a file or directory

mv: move a file or directory

less: page through a file

cat: print the whole file

xargs: execute arguments

find: find files

grep: find things inside files

man: read a manual page

apropos: find what man page is appropriate

env: look at your environment

echo: print some arguments

export: export/set a new environment variable

exit: exit the shell

sudo: become super user root

chmod: change permission modifiers

chown: change ownership



2. Windows Powershell

pwd: print working directory

hostname: my computer's network name

mkdirmake directory

cd: change directory

ls: list directory

rmdir: remove directory

pushd: push directory

popd: pop directory

cp: copy a file or directory

robocopy: robust copy

mv: move a file or directory

more: page through a file

type: print the whole file

forfiles: run a command on lots of files

dir -r: find files

select-string: find things inside files

help: read a manual page

helpctr: find what man page is appropriate

echo: print some arguments

set: export/set a new environment variable

exit: exit the shell

runas: become super user root

attrib: change permission modifiers

iCACLS: change ownership



댓글

이 블로그의 인기 게시물

미국 포닥, 한국으로 돌아가는 이유? (Why do postdoc go back to Korea?)

미국 포닥 - 비지팅 포닥 VS 풀펀딩 포닥 (Visiting Scholar VS Postdoctoral Fellow)

미국 포닥 직위, 타이틀, 명칭? - Visiting Scholar, Postdoctoral Fellow, Research Associate, Research Scientist, Research Professor