Home
Random notes
Home
Pages
Home
About me
Showing posts with label
linux
.
Show all posts
Showing posts with label
linux
.
Show all posts
Tuesday, February 9, 2016
Writing linux command output to file
12:58 AM
linux
No comments
In case you want to write the output of a command in linux terminal in text file, type the command as follows: Here I am giving an example of 'ls' command
ls > filename.txt
Read More
Sunday, February 7, 2016
Zip folder without compression on linux terminal
5:52 AM
linux
,
zip
No comments
I used the following command:
zip -r -0 projects_7Feb16.zip projects/
This created zip file named
'
projects_7Feb16.zip
' of the folder named as "
projects
" in the current working directory (cwd)
Note:
My current working direcotory was a folder where "
projects
" folder was situated. One needs to give full path of the folder if cwd is different.
Read More
Home
Subscribe to:
Posts (Atom)
Social Profiles
Popular
Tags
Blog Archives
Total Pageviews
Anaconda for python programming
I wanted to use some packages in python for my work. Anaconda provided me all the packages like numpy, matplotlib, scipy and spyder withi...
Zip folder without compression on linux terminal
I used the following command: zip -r -0 projects_7Feb16.zip projects/ This created zip file named ' projects_7Feb16.zip ' of ...
Writing linux command output to file
In case you want to write the output of a command in linux terminal in text file, type the command as follows: Here I am giving an example ...
Labels
linux
python
Contact Form
Name
Email
*
Message
*
Blog Archive
▼
2016
(3)
▼
February
(3)
Anaconda for python programming
Writing linux command output to file
Zip folder without compression on linux terminal
Powered by
Blogger
.