elkef / tc_commands Goto Github PK
View Code? Open in Web Editor NEWHelpful linux commands for new students in theoretical chemistry
License: MIT License
Helpful linux commands for new students in theoretical chemistry
License: MIT License
Hi,
In the file terminal_basics.txt, you write:
2.) cd ../
changes the current directory to the parent directory (Level up)
Is the / really necessary for this command?
Hi,
You wrote:
I don't agree! Do you really want this line to be kept?
Hi,
You write
#$ -N hello
#$ -cwd
#$ -l h_rt=00:05:00
#$ -l h_vmem=1G
. /etc/profile.d/modules.sh
module load python/3.4.3
./hello.py
What do all these variables mean and which are save to change, and which are not?
Hi,
You have a typo in the following line:
R replace charcters starting with character under cursor
It should be "characters".
Best wishes
Hi
You write:
:set nowrap do not wrap lines
What do you mean by wrap?
ls -h does not show the files size, it only shows the directories within the folder, it is basically as doing ls, but ls-hl does work and shows the files size.
Hi,
The following lines say:
find . -name ".f"
tries to find all files below "."
Does this find all files below .? And what is "."?
File: terminal_basics.txt
I find the documentation for the usage of the 'ls' command (line 17) is missing a critical point:
It is undocumented where and how to use the options (-l, -a, -h) in the command.
I suggest adding a short explanation on how to do this, to make it clearer for the reader.
Hi,
You write:
ssh [email protected]
Do you need to connect to VPN beforehand or can you just enter without?
Hi,
You have included grep in the file basic_terminal.txt. Shouldn't this command rather be in get_information.txt?
1.) grep --after-context=8 "guacamole" salads.txt > avocado_love.txt
looks for guacamole in the file salads.txt and writes the following 8 lines to the file avocado_love.txt
stitched
Hi,
You write:
all 1.) mkdir cookbook
the creates the directory cookbook
places
I 1a) for i in {25..45..1};do echo $i; mkdir $i; done
have creates the subdirectories 25, 26, 27, ..., 45
been
Why do you have the words "places" and "been"?
Hi,
You write:
What is a PID?
Hi,
What is slurm and why are the commands for submitting jobs so different to the Edinburgh description?
Hi,
You wrote:
Ressource allocations and job settings use the #SBATCH specifier.
Where do I put those?
This issue affects the file:
terminal_basics.txt
Are contributions to interactions with the terminal considered helpful in this document?
Currently, a subset of cureutils is introduced here with minimal descriptions of ther usage and use cases. I propose an expansion of this document to basic commands issued to the terminal itself, starting with:
CTRL
+ L
or
โ
+ L
on Apple
Holding the control (Ctrl) key while pressing the letter L
key will clear the screen of the current terminal.
Hi,
In the file terminal_basics.txt, you write:
4.)ls ./
list content of current directory.
Is the ./ really necessary for this command?
Hi,
You wrote:
Remember to change the libraries for every run, if you do not source Tensorflow in your submitting script, you will not be able to use it later.
Why do I have to changeg them every time? What if I load them in my runscript automatically and want to use the same libraries every time. And what is Tensorflow?
After the inclusion of tab completion in #30 the expansion of filenames by the shell using the asterisk *
wild card may additionally included.
The asterisk *
matches everything in the current directory (excluding ./
, ../
, and any filename starting with a period, e.g. .bashrc
) or the greatest possible match with the pattern given before or after it. This way, may similar files can be acted upon using only one command.
Suppose there are several files in the current directory. Some are Python scripts ending in .py
, some are folders (indicated below with a trailing forward slash /
) starting with 001-
in their filename, and others match neither of these two requirements. A file listing may show:
001-1/ 001-4/ 001-7/ 001-do_not_delete.txt results/
001-2/ 001-5/ 001-8/ export-results.py run-calculations.py
001-3/ 001-6/ 001-9/ heisenberg.jpeg terminal_basics.txt
Suppose all folders starting with 001-
are to be deleted retainig the results
folder, all Python scripts copied one folder up, and all other files left untouched.
This can be acieved with two commands:
rm -r 001-*/
cp *.py ../
In the first line any file with a filename starting with 001-
and also ending with a /
(identifying it as directory) is deleted.
The second line matches any file with a filename ending in .py
.
The example listing after execution of the two commands is
001-do_not_delete.txt heisenberg.jpeg run-calculations.py
export-results.py results/ terminal_basics.txt
with only the undesired folders removed and the Python scripts also available in the folder above the current one.
Hi,
You write,
Know the IP address of your remote computer
How do I get that?
Hi,
At least know your spelling. You wrote
"estupdio"
Best wishes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.