Difference between revisions of "HowToLinuxCommands"

From Lost In Wonderlands
Jump to: navigation, search
(useful commands)
(useful commands)
Line 14: Line 14:
 
* [[Technoverse]]
 
* [[Technoverse]]
 
* [[git]]
 
* [[git]]
 +
 +
== guides ==
 +
 +
=== Unix Shell ===
 +
* working with file and directories
 +
** https://swcarpentry.github.io/shell-novice/03-create/index.html
 +
* Shell
 +
** https://swcarpentry.github.io/shell-novice/06-script/index.html
 +
* how to find things
 +
** https://swcarpentry.github.io/shell-novice/07-find/index.html
 +
  
 
== useful commands ==
 
== useful commands ==
  
cd
+
=== cd ===
  
 +
=== cp ===
 +
 +
=== df ===
 +
 +
 +
=== ls ===
 
  ls
 
  ls
 
  ls -al
 
  ls -al
 
  ls -alf
 
  ls -alf
  
mv
+
=== ln ===
 +
 
 +
=== mv ===
  
cp
+
=== mkdir ===
  
rm
+
=== rm ===
  
mkdir
+
=== touch ===
  
  touch
+
=== Find ===
 +
* tous les dossiers appelés target
 +
  find -name target -type d
 +
*  effacer tous les dossier nommé "target"  executer un rm recursif, le dossier target est utilisé part maven entres autres
 +
find -name target -type d -exec rm -r {} \;
  
ln
+
=== grep ===
  
grep
+
=== awk ===
  
awk
+
=== sed ===
  
sed
+
=== cat ===
  
cat
+
=== less ===
  
  less
+
=== vi ===
  
vi
+
=== vim ===
  
vim
+
=== ssh ===
  
ssh
+
=== scp ===
  
scp
 
  
 +
== How To ==
  
 
 
== How To ==
 
== How To ==
  

Revision as of 14:10, 22 May 2019

How To Something

NeXT Steps

 here everything has yet to be done !

coming soon :


Everything You Always Wanted to Know on git [seldom]... (But Were Afraid to Ask) a collection of links of interest

See also

guides

Unix Shell


useful commands

cd

cp

df

ls

ls
ls -al
ls -alf

ln

mv

mkdir

rm

touch

Find

  • tous les dossiers appelés target
find -name target -type d
  • effacer tous les dossier nommé "target" executer un rm recursif, le dossier target est utilisé part maven entres autres
find -name target -type d -exec rm -r {} \;

grep

awk

sed

cat

less

vi

vim

ssh

scp

How To

How To

find and grep

find . -type f -name "*.cxx" -exec grep "searched_string_in_file" {} \;