Shell Commands: Difference between revisions

From GotOpinion
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 28: Line 28:


<code>ifconfig</code>
<code>ifconfig</code>
== find ==
To find path to a file run:
<code># find / -name "filename"</code>


<center>[[Linux]]</center>
<center>[[Linux]]</center>

Revision as of 12:50, 18 June 2010

Tape Archival (tar)

Create tar

tar -cvf filename.tar filemane

Undo tar

tar -xvf filename.tar

List contents tar

tar -tvf filename.tar

gzip

Compress file

gzip -9 filename

Decompress file

gzip -d filename

ifconfig

To determine your IP address settings run:

ifconfig

find

To find path to a file run:

# find / -name "filename"

Linux