Tags » Bash

Bash Script sederhana untuk update Debian

#!/bin/bash
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get purge
sudo updatedb
… 11 more words
Debian

6 Outdoor Cooking Products For Your Labor Day Bash

Labor Day marks the end of summer time, but it doesn’t mean that you can not send the season out with a bang.  In the last few years every thing from restaurant high quality grills to outdoor pizza ovens have began to make a splash. 20 more words

Women Ideas

Adding PATH

TO add a PATH to the existing one.

For Mac:

$ open -a TextEdit ~/.bash_profile
export PATH=/path/to/the/folder:$PATH

$ source ~/.bash_profile
$ echo $PATH

Add the export line into the .bash_profile. 41 more words

Bash

How to figure out PID of a given binary name?

Hey guys,

How to know what PID is of a given program name? Well, you can use the most well known (maybe) command  “ps -e… 81 more words

Linux

10 Everyday Use Linux Command

1. Reboot

reboot

2. Compress/Extract files

  # Compress single file
  tar -cvf file.tar myfile.txt 
  # Compress a folder
  tar -cvf home.tar home/
  # Extract tar file
  tar -xvf myfile.tar
  # Extract gz file
  tar -xvzf myfile.tar.gz 191 more words
Programming Language